Commits on Source (6)
-
Merge duplicated gl_renderer_attach_dmabuf() and gl_renderer_attach_egl() functions into a single gl_renderer_attach_buffer() one. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
8a9fba98 -
Avoid prefixing constants with GL_ as it could be confused with OpenGL constants. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
16390dba -
Provide a fixed allocation to each texture unit in order to prevent conflicts. This fixes a conflict between colour transforms and the wireframe debug mode. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
69d4f66f -
The wireframe unit can only be used by the wireframe texture so there's no need to bind it anymore before use. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
b755345a -
Revert active unit to default value right after use so that other functions can assume the default state. A best practices section is added to the internal header for reference. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
fb4cccc2 -
Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
2d8c1af8