wlroots/render/gles2
emersion 62d646f2b8
render/gles2: remove assumptions about supported formats
We were assuming GL_BGRA_EXT was always supported.

We now check that it's supported for rendering. We fail if it isn't because
this format is specified as "always supported" by the Wayland protocol.

We also check if it's supported for reading pixels. A new preferred_read_format
function returns the preferred format that can be used to read pixels. This is
used by the screencopy protocol.
2018-11-04 09:00:51 +01:00
..
pixel_format.c render/gles2: remove assumptions about supported formats 2018-11-04 09:00:51 +01:00
renderer.c render/gles2: remove assumptions about supported formats 2018-11-04 09:00:51 +01:00
shaders.c gles2: pre-multiply alpha and fix blending function 2018-05-18 20:34:36 +03:00
texture.c Use enum wl_shm_format for gles2 texture formats 2018-10-16 09:35:28 +02:00
util.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00