On 22 June 2010 21:38, Roderick Colenbrander thunderbird2k@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.