Bug 319995 - Support for buffer age extensions
Summary: Support for buffer age extensions
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (show other bugs)
Version: git master
Platform: Other Linux
: NOR wishlist
Target Milestone: 4.11
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/110...
Keywords:
: 280608 321589 (view as bug list)
Depends on:
Blocks: 319996
  Show dependency treegraph
 
Reported: 2013-05-18 19:02 UTC by Martin Flöser
Modified: 2014-01-08 10:31 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.5
thomas.luebking: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2013-05-18 19:02:55 UTC
KWin's OpenGL backends should support the buffer age extension:
* GLX_EXT_buffer_age (http://www.opengl.org/registry/specs/EXT/glx_buffer_age.txt )
* EGL_EXT_buffer_age (http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_buffer_age.txt )

From the extension:
The aim of this extension is to expose enough information to applications about how the driver manages the set of front and back buffers associated with a given surface to allow applications to re-use the contents of old frames and minimize how much must be redrawn for the next frame.
Comment 1 Martin Flöser 2013-05-21 07:00:57 UTC
* EGL/Mesa only supports buffer_age for the Wayland backend
* GLX only supports buffer_age in the NVIDIA 313 driver or later

I need to add it for the wayland backend, so I'll try to also add support to GLX even if it is not useable by free drivers yet.
Comment 2 Varun Priolkar 2013-06-22 22:35:13 UTC
AMD Catalyst 13.6 beta drivers have added support for GLX_EXT_buffer_age extension.
Comment 3 Thomas Lübking 2013-06-27 19:20:02 UTC
*** Bug 280608 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2013-06-27 19:20:37 UTC
*** Bug 321589 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2014-01-08 10:29:42 UTC
commit 64c603ca90699a683a604cf2db0d5b01bab8c3c5
Author: Fredrik Höglund <fredrik@kde.org>
Date:   Thu Nov 21 10:44:06 2013 +0100

    kwin: Add support for EXT_buffer_age
    
    This patch adds support for GLX_EXT_buffer_age, and
    EGL_EXT_buffer_age on X11.