diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2023-05-16 18:57:42 -0300 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-05-17 15:09:45 +0000 |
commit | 3b7ca42c6f5d06874a31d5435cfd58ea68032d24 (patch) | |
tree | 11ea758de0931e2a32c824e63d014b0268c7038f /cogl/cogl/cogl-clip-stack.h | |
parent | 656ccb4dee9d8236c4e91c1e2fc13b22f8793722 (diff) | |
download | mutter-3b7ca42c6f5d06874a31d5435cfd58ea68032d24.tar.gz |
The only consumer of this type of rect was the scissor clipping,
which was removed by the previous commit.
Remove window rects from CoglClipStack, and all dependent code.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3006>
Diffstat (limited to 'cogl/cogl/cogl-clip-stack.h')
-rw-r--r-- | cogl/cogl/cogl-clip-stack.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cogl/cogl/cogl-clip-stack.h b/cogl/cogl/cogl-clip-stack.h index 2efaa2777..3df72b36e 100644 --- a/cogl/cogl/cogl-clip-stack.h +++ b/cogl/cogl/cogl-clip-stack.h @@ -52,7 +52,6 @@ typedef struct _CoglClipStackRegion CoglClipStackRegion; typedef enum { COGL_CLIP_STACK_RECT, - COGL_CLIP_STACK_WINDOW_RECT, COGL_CLIP_STACK_PRIMITIVE, COGL_CLIP_STACK_REGION, } CoglClipStackType; @@ -140,14 +139,6 @@ struct _CoglClipStackRect gboolean can_be_scissor; }; -struct _CoglClipStackWindowRect -{ - CoglClipStack _parent_data; - - /* The window rect clip doesn't need any specific data because it - just adds to the scissor clip */ -}; - struct _CoglClipStackPrimitive { CoglClipStack _parent_data; @@ -170,13 +161,6 @@ struct _CoglClipStackRegion cairo_region_t *region; }; -CoglClipStack * -_cogl_clip_stack_push_window_rectangle (CoglClipStack *stack, - int x_offset, - int y_offset, - int width, - int height); - COGL_EXPORT CoglClipStack * _cogl_clip_stack_push_rectangle (CoglClipStack *stack, float x_1, |