Bug 68041

Summary: Introduce y-flip query in eglQueryWaylandBufferWL
Product: Wayland Reporter: Stanislav Vorobiov <sheffmail>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: low    
Version: 1.0.x   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stanislav Vorobiov 2013-08-13 07:24:50 UTC
There should be a way to tell the compositor if wl_buffer's contents are y-flipped or not. X11 and EGL already have similar functionality:
GLX_Y_INVERTED_EXT on X11
EGL_Y_INVERTED_NOK on EGL - Nokia's extension.
Both are not suitable for wayland since wayland is obviously not related to X11 and EGL_Y_INVERTED_NOK is a part of EGL_NOK_texture_from_pixmap extension, which implies pixmap support (wayland doesn't support pixmaps).
Thus, eglQueryWaylandBufferWL should be extended with a new attribute, something like EGL_WAYLAND_Y_INVERTED_WL, OpenGL implementation will then be able to tell the compositor that wl_buffer is y-flipped
Comment 1 Stanislav Vorobiov 2013-09-17 05:53:26 UTC
Fixed in weston commit bfbb8e59fadda112fcdb0bf0a0ed2c0b6c1e1923
mesa commit 1281a90532511bb5dcecab1220aa89aa42c4a142

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.