aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-06-16 14:43:24 +0200
committerSimon Ser <contact@emersion.fr>2022-06-16 14:43:24 +0200
commit29291cb47cdaa72d1142a008fef3301dcb86dfac (patch)
tree77616ce5285dea16bc1ebe1a41e02b1ed3b80ce6 /include/render
parentf28c0e2046c59aeb9f014ef4c22d4517e38f4721 (diff)
render/texture: drop wlr_texture_is_opaque
Whether a texture is opaque or not doesn't depend on the renderer at all, it just depends on the source buffer. Instead of forcing all renderers to implement wlr_texture_impl.is_opaque, let's move this in common code and use the wlr_buffer format to know whether a texture will be opaque.
Diffstat (limited to 'include/render')
0 files changed, 0 insertions, 0 deletions