Bug 319995

Summary: Support for buffer age extensions
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: scene-openglAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: antonis+kdebugs, arthur, kde, varunpriolkar97
Priority: NOR Flags: thomas.luebking: ReviewRequest+
Version: git master   
Target Milestone: 4.11   
Platform: Other   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/110642/
Latest Commit: Version Fixed In: 4.11.5
Bug Depends on:    
Bug Blocks: 319996    

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.