mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
ae9cd7ca01
There used to be a function called cogl_clip_stack_save in the public API which was used when temporarily switching to an offscreen buffer to save the clip state. This is no longer necessary because each framebuffer has its own clip stack anyway so the function was removed in master. However the code to maintain the stack of stacks was retained. This patch removes it in an effort to simplify the code. On the 1.18 branch this function is deprecated and the documentation says that it does nothing. However that is incorrect because it does actually the push clip stack. I think it would be safe to backport this patch to the 1.18 branch and actually make it do nothing like it is documented to do. https://bugzilla.gnome.org/show_bug.cgi?id=719546 (cherry picked from commit 8655027fdcf03b02fcbbb02d179a0a88ed79c5b3) This patch has some extra changes while backporting to the 1.18 branch. Here the cogl-clip-state file still contained some deprecated functions. Instead of deleting the file completely it has been moved to the deprecated folder. The declarations for this functions have been moved from cogl1-context.h to a new deprecated/cogl-clip-state.h header. Conflicts: cogl/Makefile.am cogl/cogl-clip-state.c Reviewed-by: Robert Bragg <robert@linux.intel.com> |
||
---|---|---|
.. | ||
cogl-auto-texture.c | ||
cogl-clip-state.c | ||
cogl-clip-state.h | ||
cogl-clutter-xlib.h | ||
cogl-clutter.c | ||
cogl-clutter.h | ||
cogl-fixed.c | ||
cogl-fixed.h | ||
cogl-material-compat.c | ||
cogl-material-compat.h | ||
cogl-program-private.h | ||
cogl-program.c | ||
cogl-shader-private.h | ||
cogl-shader.c | ||
cogl-shader.h | ||
cogl-type-casts.h | ||
cogl-vertex-buffer-private.h | ||
cogl-vertex-buffer.c | ||
cogl-vertex-buffer.h |