[Mesa-dev] [Bug 27841] Implement GL_EXT_discard_framebuffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 29 05:38:04 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27841

--- Comment #3 from Kristian Høgsberg <krh at bitplanet.net> 2010-04-29 05:38:03 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > There is a mechanism, but we have not implemented it in Mesa yet.  I think
> > GL_EXT_discard_framebuffer (link below), should suit your needs.  The intended
> > use is with framebuffer objects, but will purge the window backbuffer is the
> > current FBO is 0.
> > 
> > If this looks like the right tool, please change the bug subject to "Implement
> > GL_EXT_discard_framebuffer".
> > 
> > http://www.khronos.org/registry/gles/extensions/EXT/EXT_discard_framebuffer.txt
> > 
> > I'm adding Kristian to the CC list because he has done a lot of work in this
> > area.
> 
> Yes, this extension looks like it would work for Clutter; thanks Ian.

And the DRI2CopyRegion request was designed exactly so that you can copy a
region (ie a list of rects) in one atomic request and at the same time indicate
"end-of-frame".  You probably just need a new request to indicate that that is
indeed the behaviour you want (DRI2CopyRegion defaults to preserving the
backbuffer contents) and then take that into account in the DRI2CopyRegion
implementation.

What about discarding other aux buffers (stencil, depth etc)?

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


More information about the mesa-dev mailing list