mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
876d789ad5
These comments were a bit misleading: - "GL_TEXTURE_2D == mutable": not really, imported non-external-only DMA-BUFs would also use this target, but are not mutable. - "Only affects target == GL_TEXTURE_2D": same here. - "If imported from a wlr_buffer": not really, would be NULL if imported from a shm wlr_buffer. Adjust these comments to better reflect reality and adjust the check in gles2_texture_update_from_buffer(). |
||
---|---|---|
.. | ||
allocator | ||
gles2 | ||
pixman | ||
vulkan | ||
dmabuf.c | ||
dmabuf_fallback.c | ||
dmabuf_linux.c | ||
drm_format_set.c | ||
egl.c | ||
meson.build | ||
pass.c | ||
pixel_format.c | ||
swapchain.c | ||
wlr_renderer.c | ||
wlr_texture.c |