[PATCH 4/4] wined3d: use stretch_rect_fbo for swapchainless blits

Henri Verbeet hverbeet at gmail.com
Wed Jun 23 08:17:22 CDT 2010


On 22 June 2010 21:38, Roderick Colenbrander <thunderbird2k at gmail.com> wrote:
> Regarding BltOverride in what way did you want to 'try the FBO blit
> first'. Did you want fbo_blit_supported sorting out the 'unsupported
> swapchain cases' (it lacks surface info and only has flags) itself or
> was all you wanted just:
> if ( !unhandled_swapchain_cases && !color_keying && fbo_blit_supported(..))
>    stretch_rect_fbo(..);
>
> continue with all other checks
>
In principle inside fbo_blit_supported() should be fine, but for a
part that's also what you're supposed to figure out. I.e., which of
those checks are generic restrictions, which of those are fixed
function blitter restrictions, which are FBO blitter restrictions,
etc.



More information about the wine-devel mailing list