[PATCH 1/5] wined3d: Don't bother about client storage in wined3d_surface_set_mem.

Henri Verbeet hverbeet at gmail.com
Fri Oct 4 10:15:37 CDT 2013


On 4 October 2013 15:51, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> No codepath in wined3d_surface_blt will attempt to load a sysmem surface into a texture. fbo_blit_supported returns FALSE if src or destination are in sysmem, and so do arbfp_blit_supported and surface_blt_special. Color fills will go to a cpu side clear because of the INSYSMEM optimization. (This optimization is needed for a few other things to work correctly, but that's a different patch.)
>
I guess that makes it ok in practice, but I'd still feel happier about
this kind of patch if we actually enforced resource access flags
first. (At which point you could also just check the access flags
instead of the pool.)



More information about the wine-devel mailing list