diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-12 11:58:38 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-15 10:49:42 +0200 |
commit | 004cf887b70aace0e13db8e38a2c3d4df55852b3 (patch) | |
tree | c23b532f2f33b5175da889603e142d49eee8b33b /include/util | |
parent | 1e5460d4c6260e523e08613b767948b68cc36b52 (diff) |
render/gles2: prevent imported DMA-BUF textures from being mutated
The compositor shouldn't write to client buffers if the client
attaches a DMA-BUF to a wl_surface, then attaches a shm buffer.
Make gles2_texture_write_pixels return an error to prevent this
from happening.
Diffstat (limited to 'include/util')
0 files changed, 0 insertions, 0 deletions