aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-13 04:09:31 -0700
committerGitHub <noreply@github.com>2018-07-13 04:09:31 -0700
commit3ae423b0e35fb35cc4cee972c4f29f020efad877 (patch)
treeb3c01080ead17997e8fe186d9bdeeabc79547c4c /include/wlr/render/interface.h
parentd8bbdf3bd5edce03c550bb0982ac997392ac5711 (diff)
parent5bb272d7f398647a227344f86a232c8cc0181cce (diff)
Merge pull request #1130 from emersion/surface-opaque
Add wlr_surface.opaque_region
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 1b138ea3..f4565ad5 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -56,6 +56,7 @@ void wlr_renderer_init(struct wlr_renderer *renderer,
struct wlr_texture_impl {
void (*get_size)(struct wlr_texture *texture, int *width, int *height);
+ bool (*is_opaque)(struct wlr_texture *texture);
bool (*write_pixels)(struct wlr_texture *texture,
enum wl_shm_format wl_fmt, uint32_t stride, uint32_t width,
uint32_t height, uint32_t src_x, uint32_t src_y, uint32_t dst_x,