Bug 68041 - Introduce y-flip query in eglQueryWaylandBufferWL
Summary: Introduce y-flip query in eglQueryWaylandBufferWL
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: 1.0.x
Hardware: Other Linux (All)
: low enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 07:24 UTC by Stanislav Vorobiov
Modified: 2013-09-17 05:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.