[Mesa-dev] [Bug 27841] Implement GL_EXT_discard_framebuffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 15 10:06:05 PDT 2010


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

--- Comment #7 from bob at o-hand.com <bob at o-hand.com> 2010-06-15 10:06:04 PDT ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > What about discarding other aux buffers (stencil, depth etc)?
> > 
> > GL_EXT_discard_framebuffer can already do that:
> > 
> > const GLenum attachments[] = { GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT };
> > glDiscardFramebufferEXT(GL_FRAMEBUFFER, attachments, 3);
> > 
> > It sounds like we want GL_EXT_discard_framebuffer and some other extension that
> > enables multiple sub-buffer copy behavior.
> 
> Something thing that occurred to me the other day is that glXCopySubBuffer
> isn't integrated with the concept of a SwapInterval which upsets Clutter quite
> a bit when we start taking advantage of it because it allows applications to
> break out of the framerate throttling we try to impose on applications.
> 
> This suggests that actually having a new extension that lets us copy a region +
> end the frame + integrate with the swap interval in one go could be more ideal
> for us.

Adapting this extension to GLX sounds ideal for Clutter:
http://developer.symbian.org/wiki/images/e/e8/EGL_NOK_swap_region.txt

-- 
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