Summary: | do_blit_bitmap(called by intelBitmap) uses dimensions of display window for rendering on fbos | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pierre Willenbrock <pierre> |
Component: | Drivers/DRI/i965 | Assignee: | Eric Anholt <eric> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Make do_blit_bitmap fall back to software rendering on fbos
Trying to fix do_blit_bitmap Make do_blit_bitmap fall back to software rendering on fbos |
Description
Pierre Willenbrock
2008-12-06 05:54:29 UTC
Created attachment 20854 [details] [review] Trying to fix do_blit_bitmap This makes fbo_firecube work for about 10 frames. Reducing the amount of text outputted to the fbo(leaving out some of the longer lines) can make it work completely. Created attachment 20855 [details] [review] Make do_blit_bitmap fall back to software rendering on fbos This did not even compile. sorry for the noise. Accelerated fix posted to mesa mailing list. Got a chance to review? Pierre, thanks for following up the patch. (In reply to comment #3) > Accelerated fix posted to mesa mailing list. Got a chance to review? The code looks good. Good to know that ctx->DrawBuffer is updated for all render targets. The rendering looks visually correct. But i still get the graphics lockup after a few 10 frames. This lockup shows for the fbo_firecube demo without DRI2 and for the fire demo with DRI2, while fire without DRI2 works. The lockup goes away for fbo_firecube(without DRI2) when called with INTEL_DEBUG=sync or by reducing the number of characters printed to 16(thus reducing the number of glBitmap calls). I did not test the last things for fire with DRI2, thinking that should be very similar to fbo_firecube without DRI2. commit cb433d91c6e198b7c77f747f1a38803532bc9be9 Author: Eric Anholt <eric@anholt.net> Date: Sat Dec 6 14:21:12 2008 -0800 intel: Fix glBitmap blit acceleration for FBO destinations. Bug #18914. Fixes fbo_firecube hang due to drawing outside the FBO bounds. Thanks to Pierre Willenbrock for debugging the issue. With this fbo_firecube was stable on my G45, which I haven't seen before. Mass version move, cvs -> git |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.