Confirmed users
85
edits
(Updated now that texture_from_pixmap issues are identified.) |
|||
Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
GL Layers are not enabled by default on X11. The primary problem | GL Layers are not enabled by default on X11. The primary problem was that there were interoperability issues between X11 rendering APIs (RENDER) that render into X pixmaps and OpenGL. Most of these were due to Gecko's use of the texture_from_pixmap extension (fixed in {{bug|707722}}) and issues with Mesa's glXWaitX and glXWaitGL (worked around in {{bug|687831}}). | ||
The rest of this page was written assuming that texture_from_pixmap problems were insurmountable, and so we'd need to stop using XRender, stop using X pixmaps, to be in a place to easily enable GL layers by default. However, there are no known obstacles to using X Pixmaps with GL. Remaining work is identified in dependencies of {{bug|594876}}. | |||
Getting rid of X-specific APIs have several other advantages: | Getting rid of X-specific APIs have several other advantages: | ||
* It is a step forward in the direction of supporting Wayland. | * It is a step forward in the direction of supporting Wayland. | ||
* It reduces the number of platform specific APIs (Mac, Fennec and B2G use OpenGL), and | * It reduces the number of platform specific APIs (Mac, Fennec and B2G use OpenGL), and makes it easier for us to write new features that work on several platform out of the box (or almost), including Linux. | ||
Removing use of RENDER acceleration for drawing will cost in performance in some situations. Expected areas include: | Removing use of RENDER acceleration for drawing will cost in performance in some situations. Expected areas include: |