wlroots/render/gles2
Simon Ser 447835afc1 render/gles2: provide public API to access GL texture
Prior to this commit, compositors needed to render the texture to an
intermediate off-screen buffer using wlr_renderer APIs if they wanted to
use a custom rendering path (e.g. render to a 3D scene).

A new wlr_gles2_texture_get_attribs exposes the GL texture target and ID
so that compositors can render wlr_textures with their own shaders. An
example of a compositor doing so is available at [1].

[1]: 3db905b784/src/render.c (L227)
2019-11-07 14:24:03 -05: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/gles2: provide public API to access GL texture 2019-11-07 14:24:03 -05:00
util.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00