summaryrefslogtreecommitdiff
path: root/cogl/cogl/cogl-framebuffer.c
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2023-05-16 18:53:56 -0300
committerMarge Bot <marge-bot@gnome.org>2023-05-17 15:09:45 +0000
commit656ccb4dee9d8236c4e91c1e2fc13b22f8793722 (patch)
tree14d77644cab99bae2e80cca91c023bc087f8dc30 /cogl/cogl/cogl-framebuffer.c
parentf73fdfb4651887bc2520dea226b526b36493dc02 (diff)
downloadmutter-656ccb4dee9d8236c4e91c1e2fc13b22f8793722.tar.gz
cogl/framebuffer: Remove scissor clip
It's unused. Spotted while discussing snapshot APIs. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3006>
Diffstat (limited to 'cogl/cogl/cogl-framebuffer.c')
-rw-r--r--cogl/cogl/cogl-framebuffer.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/cogl/cogl/cogl-framebuffer.c b/cogl/cogl/cogl-framebuffer.c
index c01ef8d8e..ecc624000 100644
--- a/cogl/cogl/cogl-framebuffer.c
+++ b/cogl/cogl/cogl-framebuffer.c
@@ -2010,27 +2010,6 @@ cogl_framebuffer_set_projection_matrix (CoglFramebuffer *framebuffer,
}
void
-cogl_framebuffer_push_scissor_clip (CoglFramebuffer *framebuffer,
- int x,
- int y,
- int width,
- int height)
-{
- CoglFramebufferPrivate *priv =
- cogl_framebuffer_get_instance_private (framebuffer);
-
- priv->clip_stack =
- _cogl_clip_stack_push_window_rectangle (priv->clip_stack,
- x, y, width, height);
-
- if (priv->context->current_draw_buffer == framebuffer)
- {
- priv->context->current_draw_buffer_changes |=
- COGL_FRAMEBUFFER_STATE_CLIP;
- }
-}
-
-void
cogl_framebuffer_push_rectangle_clip (CoglFramebuffer *framebuffer,
float x_1,
float y_1,