mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-31 02:00:20 +01:00
gl-renderer: Remove outdated comment
The comment about needing to have destroyed images is somewhat less true
now that we actively avoid doing so.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Fixes: 0b51b02c5e ("gl-renderer: Don't re-import dmabufs")
This commit is contained in:
parent
efd6aae915
commit
f8ac6f940f
1 changed files with 0 additions and 8 deletions
|
|
@ -2843,14 +2843,6 @@ gl_renderer_attach_dmabuf(struct weston_surface *surface,
|
|||
gs->direct_display = dmabuf->direct_display;
|
||||
surface->is_opaque = dmabuf_is_opaque(dmabuf);
|
||||
|
||||
/*
|
||||
* We try to always hold an imported EGLImage from the dmabuf
|
||||
* to prevent the client from preventing re-imports. But, we also
|
||||
* need to re-import every time the contents may change because
|
||||
* GL driver's caching may need flushing.
|
||||
*
|
||||
* Here we release the cache reference which has to be final.
|
||||
*/
|
||||
if (dmabuf->direct_display)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue