wlroots-hyprland/include
Simon Ser f6ba26ff58 render/gles2: implement texture_from_buffer
Make it so wlr_gles2_texture is ref'counted (via wlr_buffer). This
is similar to wlr_gles2_buffer or wlr_drm_fb work.

When creating a wlr_texture from a wlr_buffer, first check if we
already have a texture for the buffer. If so, increase the
wlr_buffer ref'count and make sure any changes made by an external
process are made visible (by invalidating the texture).

When destroying a wlr_texture created from a wlr_buffer, decrease
the ref'count, but keep the wlr_texture around in case the caller
uses it again. When the wlr_buffer is destroyed, cleanup the
wlr_texture.
2021-05-17 16:22:43 +02:00
..
backend backend/drm: introduce drm_connector_commit_state 2021-04-29 19:51:57 +02:00
render render/gles2: implement texture_from_buffer 2021-05-17 16:22:43 +02:00
types types/wlr_buffer: introduce wlr_buffer_cap 2021-04-28 20:55:57 +02:00
util util/uuid: replace with util/token, remove libuuid 2021-04-11 19:09:36 +02:00
wlr render: introduce wlr_texture_from_buffer 2021-05-17 16:22:43 +02:00
xcursor xcursor: make cursor data and metadata const 2021-02-05 10:04:20 +01:00
xwayland xwayland: query window PIDs via XResQueryClientIds 2021-04-23 09:55:01 +02:00
meson.build render: make GLES2 renderer optional 2021-04-17 16:39:40 +02:00