mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
cogl: Remove unused _cogl_framebuffer_set_clip_stack
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1015
This commit is contained in:
parent
c5a936e0e8
commit
f5e2310dc7
@ -259,9 +259,7 @@ _cogl_framebuffer_mark_clear_clip_dirty (CoglFramebuffer *framebuffer);
|
|||||||
* _cogl_framebuffer_get_clip_stack:
|
* _cogl_framebuffer_get_clip_stack:
|
||||||
* @framebuffer: A #CoglFramebuffer
|
* @framebuffer: A #CoglFramebuffer
|
||||||
*
|
*
|
||||||
* Gets a pointer to the current clip stack. This can be used to later
|
* Gets a pointer to the current clip stack. A reference is not taken on the
|
||||||
* return to the same clip stack state with
|
|
||||||
* _cogl_framebuffer_set_clip_stack(). A reference is not taken on the
|
|
||||||
* stack so if you want to keep it you should call
|
* stack so if you want to keep it you should call
|
||||||
* _cogl_clip_stack_ref().
|
* _cogl_clip_stack_ref().
|
||||||
*
|
*
|
||||||
@ -270,17 +268,6 @@ _cogl_framebuffer_mark_clear_clip_dirty (CoglFramebuffer *framebuffer);
|
|||||||
CoglClipStack *
|
CoglClipStack *
|
||||||
_cogl_framebuffer_get_clip_stack (CoglFramebuffer *framebuffer);
|
_cogl_framebuffer_get_clip_stack (CoglFramebuffer *framebuffer);
|
||||||
|
|
||||||
/*
|
|
||||||
* _cogl_framebuffer_set_clip_stack:
|
|
||||||
* @framebuffer: A #CoglFramebuffer
|
|
||||||
* @stack: a pointer to the replacement clip stack
|
|
||||||
*
|
|
||||||
* Replaces the @framebuffer clip stack with @stack.
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
_cogl_framebuffer_set_clip_stack (CoglFramebuffer *framebuffer,
|
|
||||||
CoglClipStack *stack);
|
|
||||||
|
|
||||||
CoglMatrixStack *
|
CoglMatrixStack *
|
||||||
_cogl_framebuffer_get_modelview_stack (CoglFramebuffer *framebuffer);
|
_cogl_framebuffer_get_modelview_stack (CoglFramebuffer *framebuffer);
|
||||||
|
|
||||||
|
@ -463,15 +463,6 @@ _cogl_framebuffer_get_clip_stack (CoglFramebuffer *framebuffer)
|
|||||||
return framebuffer->clip_stack;
|
return framebuffer->clip_stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
_cogl_framebuffer_set_clip_stack (CoglFramebuffer *framebuffer,
|
|
||||||
CoglClipStack *stack)
|
|
||||||
{
|
|
||||||
_cogl_clip_stack_ref (stack);
|
|
||||||
_cogl_clip_stack_unref (framebuffer->clip_stack);
|
|
||||||
framebuffer->clip_stack = stack;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
cogl_framebuffer_set_viewport4fv (CoglFramebuffer *framebuffer,
|
cogl_framebuffer_set_viewport4fv (CoglFramebuffer *framebuffer,
|
||||||
float *viewport)
|
float *viewport)
|
||||||
|
Loading…
Reference in New Issue
Block a user