mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
cogl: Remove unused _cogl_framebuffer_{push,pop}_projection
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1015
This commit is contained in:
parent
600dd155ce
commit
c5a936e0e8
@ -332,12 +332,6 @@ _cogl_offscreen_new_with_texture_full (CoglTexture *texture,
|
|||||||
CoglOffscreenFlags create_flags,
|
CoglOffscreenFlags create_flags,
|
||||||
int level);
|
int level);
|
||||||
|
|
||||||
void
|
|
||||||
_cogl_framebuffer_push_projection (CoglFramebuffer *framebuffer);
|
|
||||||
|
|
||||||
void
|
|
||||||
_cogl_framebuffer_pop_projection (CoglFramebuffer *framebuffer);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
_cogl_framebuffer_save_clip_stack (CoglFramebuffer *framebuffer);
|
_cogl_framebuffer_save_clip_stack (CoglFramebuffer *framebuffer);
|
||||||
|
|
||||||
|
@ -1599,30 +1599,6 @@ cogl_framebuffer_orthographic (CoglFramebuffer *framebuffer,
|
|||||||
COGL_FRAMEBUFFER_STATE_PROJECTION;
|
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
|
void
|
||||||
cogl_framebuffer_get_modelview_matrix (CoglFramebuffer *framebuffer,
|
cogl_framebuffer_get_modelview_matrix (CoglFramebuffer *framebuffer,
|
||||||
CoglMatrix *matrix)
|
CoglMatrix *matrix)
|
||||||
|
Loading…
Reference in New Issue
Block a user