lp:~behda/wine/cs

Created by Paulius Vitkus and last modified
Get this branch:
bzr branch lp:~behda/wine/cs

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paulius Vitkus
Project:
Wine
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at https://github.com/behda/wine.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on russkaya and finished taking 4 minutes — see the log
Import started on pear and finished taking 3 minutes — see the log
Import started on pear and finished taking 4 minutes — see the log
Import started on russkaya and finished taking 4 minutes — see the log

Recent revisions

103470. By Matteo Bruni <email address hidden>

wined3d: Avoid calling wined3d_surface_blt() from surface_upload_from_surface().

103469. By Stefan Dösinger <email address hidden>

wined3d: Render target lock hack

103468. By Stefan Dösinger <email address hidden>

wined3d: Don't try to sync VBOs manually on OSX with CSMT.

This fixes a performance regression in some games caused by
aaf4849718c3c3a763c460a24a51dd6c6b55524a.

GL_ARB_sync and GL_APPLE_fence seem to be fairly slow on OSX. Putting the
buffer back into synchonized mode and synchronizing all future uploads
is about twice as fast. This was benchmarked with 3DMark2001. Gunpoint,
another game that depends on synchronized dynamic buffer maps, feels
smoother, although the lack of a benchmark mode makes testing this difficult.

This assumes that if a game maps a dynamic buffer without NOOVERWRITE or
DISCARD once it will always do so. I have not seen a game yet that mixes
async and sync maps. If the game mixes them, the wined3d-side CS will still
update the buffer asynchronously. Only the worker thread -> GL copy is
synchronized, as it used to be for all buffers in cx13.

This patch only changes the double-buffered (used for CSMT) codepath. Making
the same change to the glMapBuffer codepath improves 3DMark2001 performance
as well, but the difference is much smaller. I will leave the manual sync
code in place until we have a game that clearly profits from this change.

103467. By Stefan Dösinger <email address hidden>

wined3d: Don't discard new buffers.

103466. By Stefan Dösinger <email address hidden>

wined3d: Don't sync on redundant discard calls.

103465. By Stefan Dösinger <email address hidden>

wined3d: Wait for the resource to be idle when destroying user memory surfaces.

103464. By Stefan Dösinger <email address hidden>

wined3d: Put GL_APPLE_flush_buffer_range syncing back in place.

103463. By Stefan Dösinger <email address hidden>

wined3d: Remove the device_reset CS sync fixme.

103462. By Stefan Dösinger <email address hidden>

wined3d: Make sure the new window is set up before setting up a context.

103461. By Stefan Dösinger <email address hidden>

Winex11: complain about glfinish

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers