[mutter] cogl: Remove unused _cogl_framebuffer_{push,pop}_projection
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove unused _cogl_framebuffer_{push,pop}_projection
- Date: Fri, 31 Jan 2020 17:32:57 +0000 (UTC)
commit c5a936e0e89447f70f6190f66daa816edc9c8fd5
Author: Adam Jackson <ajax redhat com>
Date: Tue Jan 21 14:14:06 2020 -0500
cogl: Remove unused _cogl_framebuffer_{push,pop}_projection
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1015
cogl/cogl/cogl-framebuffer-private.h | 6 ------
cogl/cogl/cogl-framebuffer.c | 24 ------------------------
2 files changed, 30 deletions(-)
---
diff --git a/cogl/cogl/cogl-framebuffer-private.h b/cogl/cogl/cogl-framebuffer-private.h
index 09a79981c..579fdec0c 100644
--- a/cogl/cogl/cogl-framebuffer-private.h
+++ b/cogl/cogl/cogl-framebuffer-private.h
@@ -332,12 +332,6 @@ _cogl_offscreen_new_with_texture_full (CoglTexture *texture,
CoglOffscreenFlags create_flags,
int level);
-void
-_cogl_framebuffer_push_projection (CoglFramebuffer *framebuffer);
-
-void
-_cogl_framebuffer_pop_projection (CoglFramebuffer *framebuffer);
-
void
_cogl_framebuffer_save_clip_stack (CoglFramebuffer *framebuffer);
diff --git a/cogl/cogl/cogl-framebuffer.c b/cogl/cogl/cogl-framebuffer.c
index 917efe1a7..49403ff9b 100644
--- a/cogl/cogl/cogl-framebuffer.c
+++ b/cogl/cogl/cogl-framebuffer.c
@@ -1599,30 +1599,6 @@ cogl_framebuffer_orthographic (CoglFramebuffer *framebuffer,
COGL_FRAMEBUFFER_STATE_PROJECTION;
}
-void
-_cogl_framebuffer_push_projection (CoglFramebuffer *framebuffer)
-{
- CoglMatrixStack *projection_stack =
- _cogl_framebuffer_get_projection_stack (framebuffer);
- cogl_matrix_stack_push (projection_stack);
-
- if (framebuffer->context->current_draw_buffer == framebuffer)
- framebuffer->context->current_draw_buffer_changes |=
- COGL_FRAMEBUFFER_STATE_PROJECTION;
-}
-
-void
-_cogl_framebuffer_pop_projection (CoglFramebuffer *framebuffer)
-{
- CoglMatrixStack *projection_stack =
- _cogl_framebuffer_get_projection_stack (framebuffer);
- cogl_matrix_stack_pop (projection_stack);
-
- if (framebuffer->context->current_draw_buffer == framebuffer)
- framebuffer->context->current_draw_buffer_changes |=
- COGL_FRAMEBUFFER_STATE_PROJECTION;
-}
-
void
cogl_framebuffer_get_modelview_matrix (CoglFramebuffer *framebuffer,
CoglMatrix *matrix)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]