http://bugs.freedesktop.org/show_bug.cgi?id=23417

           Summary: FBO / Windows software rendering: flickering due to
                    errornous blit
           Product: Mesa
           Version: unspecified
          Platform: All
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: florian.kir...@opencsg.org


Created an attachment (id=28793)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28793)
Example program demonstrating the flickering

I have found a bug in the frame buffer object implementation, happening with
Mesa 7.4.4 using Mesa with software rendering and Windows XP.

The problem is that most of the FBO functions, such as glBindFramebufferEXT(),
in their implementation fbobject.c call ctx->Driver.Flush(ctx), which then
causes wmesa_flush() in wmesa.c to do a BitBlt into the visible viewer window
(when double buffering is on). This clears the window ahead of time, causing
severe flickering.

The simple, attached example program - a hacked gears.c with additional
glBindFramebufferEXT(...) in the draw() function - should demonstrate the
flickering.

For me, it helps to just comment out all lines with ctx->Driver.Flush(ctx) in
fbobject.c. FBOs then work fine in the Windows software rasterizer. For other
rendering paths, I guess this is not a good fix, of course.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to