Skip to content

kwineffects: Allow creating a GLTexture without texture storage allocated

Vlad Zahorodnii requested to merge work/cleanup-gltexture into master

This allows creating a GLTexture object and attaching a dmabuf to it. Currently, we can do that by using the foreign GLTexture constructor, but it makes the deletion of the texture handle more error prone.

In the future, we can add a method that allocates the texture storage, but there's no need for that yet.

Merge request reports

Loading