graphicsoffload: Disabling offloading creates GL textures with wrong colors
I simply toggled the "enabled" property in GTK inspector.
This is with offloading enabled:
This is with offloading disabled:
With offloading the following is printed for every frame with GDK_DEBUG=dmabuf,offload
:
Creating dmabuf texture, format NV12:0, premultiplied, 2 planes, memory format 7, downloader none
Attached 1920x1080 texture to subsurface 0x40f7920 at 14 90 640 360
Raising subsurface 0x40f7920
Without:
Creating dmabuf texture, format NV12:0, premultiplied, 2 planes, memory format 7, downloader none
Importing dmabuf (format: NV12:0, planes: 2) into GL
Imported 1920x1080 NV12:0 dmabuf as GL_TEXTURE_2D texture
This is with GTK 4.14.3 and AMD Radeon RX 550 / 550 Series (radeonsi, polaris12, LLVM 18.1.1, DRM 3.57, 6.8.7-300.fc40.x86_64)
Edited by Sebastian Dröge