wlroots-hyprland/render/gles2
Scott Anderson 85a2ee6d30 render/gles: Simplify textures a bit
We don't need our own enum for types. Instead we just use
GL_TEXTURE_{2D,EXTERNAL_OES}, which already describes usage.

Also fixes a situation where we were using GL_TEXTURE_2D in a situation
we should not have. wl_drm buffers are always GL_TEXTURE_EXTERNAL_OES,
no matter if they're RGB or any other format.
2019-11-06 09:46:01 +01:00
..
pixel_format.c render/gles2: remove assumptions about supported formats 2018-11-04 09:00:51 +01:00
renderer.c render/gles: Simplify textures a bit 2019-11-06 09:46:01 +01:00
shaders.c gles2: pre-multiply alpha and fix blending function 2018-05-18 20:34:36 +03:00
texture.c render/gles: Simplify textures a bit 2019-11-06 09:46:01 +01:00
util.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00