mutter/cogl
Neil Roberts 5085919acc pipeline-cache: Prune old unused pipelines when the cache gets too big
Previously when a pipeline is added to the cache it would never be
removed. If the application is generating a lot of unique pipelines
this can end up effectively leaking a large number of resources
including the GL program objects. Arguably this isn't really a problem
because if the application is generating that many unique pipelines
then it is doing something wrong anyway. It also implies that it will
be recompiling shaders very often so the cache leaking will likely be
the least of the problems.

This patch makes it keep track of which pipelines in the cache are in
use. The cache now returns a struct representing the entry instead of
directly returning the pipeline. This entry contains a usage counter
which the pipeline backends can use to mark when there is a pipeline
alive that is using the cache entry. When the hash table decides that
it's a good time to prune some entries, it will make a list of all of
the pipelines that are not in use and then remove the least recently
used half of the pipelines. That way it is less likely to remove
pipelines that the application is actually regenerating often even if
they aren't in use all of the time.

When the cache is pruned the hash table makes a note of how small the
cache could be if it removed all of the unused pipelines. The hash
table starts pruning when there are more entries than twice this
minimum expected size. The idea is that if that case it hit then the
hash table is more than half full of useless pipelines so the
application is generating lots of redundant pipelines and it is a good
time to remove them.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit c21aac22992bb7fef5a8d0913130b8245e67f2eb)

Conflicts:
	cogl/driver/gl/cogl-pipeline-fragend-glsl.c
	cogl/driver/gl/cogl-pipeline-progend-glsl.c
	cogl/driver/gl/cogl-pipeline-vertend-glsl.c
	cogl/driver/gl/gl/cogl-pipeline-fragend-arbfp.c
2014-01-14 12:05:17 +00:00
..
deprecated framebuffer: move fb stack under cogl/deprecated/ 2014-01-09 16:29:14 +00:00
driver pipeline-cache: Prune old unused pipelines when the cache gets too big 2014-01-14 12:05:17 +00:00
gl-prototypes gl: #ifdef guard ARB_sync api in cogl-all-functions.h 2013-05-29 19:30:44 +01:00
winsys texture-rectangle: update _new_with_size in line with master 2014-01-13 17:35:05 +00:00
cogl1-context.h framebuffer: move fb stack under cogl/deprecated/ 2014-01-09 16:29:14 +00:00
cogl2-experimental.h 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS 2011-09-09 15:06:31 +01:00
cogl-1.0.pc.in Give cogl-pango it's own pkg-config file 2011-05-06 12:12:08 +01:00
cogl-2.0-experimental.pc.in 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS 2011-09-09 15:06:31 +01:00
cogl-atlas-texture-private.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-atlas-texture.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-atlas-texture.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-atlas.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-atlas.h remove internal use of cogl_texture_new_with_size 2013-07-29 16:57:33 +01:00
cogl-attribute-buffer-private.h Rename CoglVertexArray to CoglAttributeBuffer 2011-05-16 14:31:31 +01:00
cogl-attribute-buffer.c remove spurious COGL_GTYPE_DEFINE_CLASS reference 2013-09-23 18:37:29 +01:00
cogl-attribute-buffer.h attribute-buffer: add missing annotation 2013-09-23 15:02:31 +01:00
cogl-attribute-private.h Add support for per-vertex point sizes 2013-06-07 16:53:29 +01:00
cogl-attribute.c cogl-framebuffer: Don't mark the clear clip dirty from the journal 2013-12-04 18:38:44 +00:00
cogl-attribute.h attribute: add constructor annotation 2013-09-23 15:02:31 +01:00
cogl-bitmap-conversion.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-bitmap-packing.h bitmap: Don't try to token paste the typenames from stdint.h 2013-01-22 18:00:11 +00:00
cogl-bitmap-pixbuf.c quartz-image: Pass a CoglError argument to the bitmap functions 2013-04-04 13:37:51 +01:00
cogl-bitmap-private.h texture: remove _cogl_texture_prepare_for_upload 2013-07-29 16:31:44 +01:00
cogl-bitmap.c bitmap: calc rowstride from width * bpp if 0 2013-07-29 16:59:37 +01:00
cogl-bitmap.h bitmap: add missing annotations 2013-09-23 15:02:31 +01:00
cogl-bitmask.c units: remove test-bitmask and add UNIT_TEST instead 2013-06-06 21:45:11 +01:00
cogl-bitmask.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-blend-string.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-blend-string.h Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-blit.c texture: make cogl_texture_get_format api private 2014-01-09 15:49:35 +00:00
cogl-blit.h blit: avoid referring to framebuffer stack 2013-01-22 17:48:08 +00:00
cogl-boxed-value.c Remove cogl-internal.h 2013-01-22 17:48:17 +00:00
cogl-boxed-value.h Don't use the transpose argument of glUniformMatrix* 2012-08-06 14:27:45 +01:00
cogl-buffer-private.h Allow propogation of OOM errors to apps 2013-01-22 17:48:07 +00:00
cogl-buffer.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-buffer.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-clip-stack.c Fix calculating the bounds when clipping from a primitive 2013-12-03 15:28:35 +00:00
cogl-clip-stack.h Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-closure-list-private.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-closure-list.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-color-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-color.c color: Add HSL conversion functions 2013-07-09 22:52:49 +01:00
cogl-color.h Fix introspection issues 2013-08-20 19:18:40 -04:00
cogl-config-private.h Add conf vars to trick Cogl to think extensions are disabled 2012-08-06 18:51:33 +01:00
cogl-config.c config: Don't read a config file at startup when using --disable-glib 2013-01-22 17:47:24 +00:00
cogl-context-private.h Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-context.c framebuffer: move fb stack under cogl/deprecated/ 2014-01-09 16:29:14 +00:00
cogl-context.h context: add scope annotation 2013-09-23 15:02:31 +01:00
cogl-debug-options.h Re-design the matrix stack using a graph of ops 2012-08-06 14:27:40 +01:00
cogl-debug.c Adds initial Emscripten support to Cogl 2013-05-29 19:30:44 +01:00
cogl-debug.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-defines.h.in Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-defines.h.win32_SDL.in MSVC Builds: Update Predefined cogl-defines.h 2013-08-30 12:04:36 +01:00
cogl-defines.h.win32.in MSVC Builds: Update Predefined cogl-defines.h 2013-08-30 12:04:36 +01:00
cogl-deprecated.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-depth-state-private.h Adds missing cogl-depth-state-private.h 2011-05-16 18:45:51 +01:00
cogl-depth-state.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-depth-state.h cogl: add missing colon in headers 2013-09-06 18:42:09 +01:00
cogl-display-private.h Avoid conflicting client/server wayland includes 2013-10-28 16:34:57 +00:00
cogl-display.c display: add _set_onscreen_template() api 2013-08-23 16:44:07 +01:00
cogl-display.h display: add missing transfer annotation 2013-09-23 15:02:31 +01:00
cogl-driver.h introduce texture loaders to make allocations lazy 2014-01-09 15:49:46 +00:00
cogl-egl-defines.h.in Avoid including the EGL headers from the public Cogl headers 2012-08-06 18:51:32 +01:00
cogl-egl.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-enum-types.c.in Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
cogl-enum-types.h.in enum-types: Fix the header guard #endif comment 2013-01-22 17:48:16 +00:00
cogl-error-private.h error: Don't allocate a new CoglError when propagating 2013-01-22 17:48:08 +00:00
cogl-error.c Log a fatal error when an error is propagated to a NULL error argument 2013-06-27 14:29:51 +01:00
cogl-error.h cogl-error.h: add COGL_BEGIN_DECLS/COGL_END_DECLS 2013-05-29 11:58:48 +01:00
cogl-euler.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-euler.h doc: Fix various mismatches between arguments and their documentation 2013-01-22 17:48:13 +00:00
cogl-feature-private.c Add a GL 3 driver 2013-01-22 17:48:01 +00:00
cogl-feature-private.h Remove cogl-internal.h 2013-01-22 17:48:17 +00:00
cogl-fence-private.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-fence.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-fence.h fence: add scope annotation 2013-09-23 15:02:31 +01:00
cogl-flags.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-frame-info-private.h onscreen: Add CoglFrameInfo and _add_frame_callback() api 2013-01-30 20:09:49 +00:00
cogl-frame-info.c onscreen: Add CoglFrameInfo and _add_frame_callback() api 2013-01-30 20:09:49 +00:00
cogl-frame-info.h frame-info: add missing annotation 2013-09-23 15:02:31 +01:00
cogl-framebuffer-private.h get_texture_bits_via_offscreen(): use meta texture format 2014-01-09 15:49:46 +00:00
cogl-framebuffer.c framebuffer: move fb stack under cogl/deprecated/ 2014-01-09 16:29:14 +00:00
cogl-framebuffer.h framebuffer: make format internal 2014-01-09 15:29:30 +00:00
cogl-gl-header.h.in Mass rename CLUTTER_COMPILATION to COGL_COMPILATION 2012-08-06 14:27:45 +01:00
cogl-gl-header.h.win32 Mass rename CLUTTER_COMPILATION to COGL_COMPILATION 2012-08-06 14:27:45 +01:00
cogl-gles2-context-private.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-gles2-context.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-gles2-types.h Use the correct type for GLintptr 2013-01-08 14:56:25 +01:00
cogl-gles2.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-glib-source.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-glib-source.h glib-source: fix argument description 2013-09-06 18:42:10 +01:00
cogl-glsl-shader-boilerplate.h Add the cogl_point_coord snippet builtin 2013-09-02 16:22:08 +01:00
cogl-glsl-shader-private.h Always add the #version pragma to shaders 2013-09-02 16:22:01 +01:00
cogl-glsl-shader.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-glx-display-private.h Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-glx-renderer-private.h Add api for queuing idle callback internally 2013-04-30 16:39:31 +01:00
cogl-gpu-info-private.h gpu-info: Detect more info including architecture 2012-08-06 14:27:42 +01:00
cogl-gpu-info.c cogl-gpu-info.c: Avoid using named initializers 2013-08-19 22:44:45 +01:00
cogl-gtype-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-i18n-private.h Adds initial Emscripten support to Cogl 2013-05-29 19:30:44 +01:00
cogl-index-buffer-private.h Rename CoglIndexArray to CoglIndexBuffer 2011-05-16 14:31:31 +01:00
cogl-index-buffer.c buffer: move choice about using malloc closer to driver 2013-01-22 17:47:59 +00:00
cogl-index-buffer.h index-buffer: add missing transfer annotation 2013-09-23 15:02:31 +01:00
cogl-indices-private.h Rename CoglIndexArray to CoglIndexBuffer 2011-05-16 14:31:31 +01:00
cogl-indices.c Allow propogation of OOM errors to apps 2013-01-22 17:48:07 +00:00
cogl-indices.h doc: Fix small typo of sequence 2013-01-22 17:48:13 +00:00
cogl-journal-private.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-journal.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-kms-display.h kms: add public API to override the default configuration of outputs 2013-08-23 13:55:42 +01:00
cogl-kms-renderer.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-list.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-list.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-macros.h macros: Add 1.18 deprecation macros 2014-01-09 15:29:30 +00:00
cogl-magazine-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-magazine.c Adds a "magazine" allocator for chunks of fixed size 2012-08-06 14:27:40 +01:00
cogl-matrix-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-matrix-stack-private.h Reorder some struct members to avoid padding due to alignment 2013-01-22 17:48:19 +00:00
cogl-matrix-stack.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-matrix-stack.h matrix-stack: add missing transfer annotation 2013-09-23 15:02:31 +01:00
cogl-matrix.c matrix: Add cogl_debug_matrix_print api 2013-01-18 17:28:25 +00:00
cogl-matrix.h matrix: add missing transfer annotation 2013-09-23 15:02:31 +01:00
cogl-memory-stack-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-memory-stack.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-meta-texture.c meta-texture: Fix nonsensical <= on pointers 2013-01-22 20:11:25 +00:00
cogl-meta-texture.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-node-private.h Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-node.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-object-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-object.c object: avoid creating a new entry for NULL data 2012-02-20 23:16:37 +00:00
cogl-object.h object: use GLib's DestroyNotify if compiled with GLib 2013-09-23 15:02:30 +01:00
cogl-offscreen.h cogl/cogl-offscreen.h: Fix deprecation macro placement 2013-08-30 12:04:36 +01:00
cogl-onscreen-private.h wayland: Send COGL_FRAME_EVENT_SYNC based on the frame callback 2013-07-11 14:22:12 +01:00
cogl-onscreen-template-private.h framebuffer: split out CoglOnscreen code 2011-11-01 12:03:02 +00:00
cogl-onscreen-template.c By default enable swap throttling 2012-08-06 14:27:42 +01:00
cogl-onscreen-template.h onscreen-template: fix argument description 2013-09-06 18:42:10 +01:00
cogl-onscreen.c framebuffer: make format internal 2014-01-09 15:29:30 +00:00
cogl-onscreen.h onscreen: add scope annotations 2013-09-23 15:02:31 +01:00
cogl-output-private.h Add CoglOutput and track for the GLX backend 2013-01-30 19:56:45 +00:00
cogl-output.c Add CoglOutput and track for the GLX backend 2013-01-30 19:56:45 +00:00
cogl-output.h cogl: add missing colon in headers 2013-09-06 18:42:09 +01:00
cogl-pango.h deprecate #include <cogl/cogl-pango.h> 2011-05-16 13:28:17 +01:00
cogl-pipeline-cache.c pipeline-cache: Prune old unused pipelines when the cache gets too big 2014-01-14 12:05:17 +00:00
cogl-pipeline-cache.h pipeline-cache: Prune old unused pipelines when the cache gets too big 2014-01-14 12:05:17 +00:00
cogl-pipeline-debug.c pipeline: only maintain breadcrumb for debug builds 2013-06-06 21:49:14 +01:00
cogl-pipeline-hash-table.c pipeline-cache: Prune old unused pipelines when the cache gets too big 2014-01-14 12:05:17 +00:00
cogl-pipeline-hash-table.h pipeline-cache: Prune old unused pipelines when the cache gets too big 2014-01-14 12:05:17 +00:00
cogl-pipeline-layer-private.h pipeline-cache: Use a special trimmed down pipeline for the key 2013-04-04 13:38:43 +01:00
cogl-pipeline-layer-state-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-pipeline-layer-state.c pipeline: improve real_blend_enable checks 2013-06-06 21:27:09 +01:00
cogl-pipeline-layer-state.h pipeline: add missing transfer annotations 2013-09-23 15:02:30 +01:00
cogl-pipeline-layer.c texture: make cogl_texture_get_format api private 2014-01-09 15:49:35 +00:00
cogl-pipeline-private.h Don't generate GLSL for the point size for default pipelines 2013-06-21 14:18:37 +01:00
cogl-pipeline-snippet-private.h Use a GList instead of a BSD list for CoglPipelineSnippetList 2013-06-13 13:45:46 +01:00
cogl-pipeline-snippet.c Use a GList instead of a BSD list for CoglPipelineSnippetList 2013-06-13 13:45:46 +01:00
cogl-pipeline-state-private.h Don't generate GLSL for the point size for default pipelines 2013-06-21 14:18:37 +01:00
cogl-pipeline-state.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-pipeline-state.h pipeline: add missing transfer annotations 2013-09-23 15:02:30 +01:00
cogl-pipeline.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-pipeline.h pipeline: add scope annotation 2013-09-23 15:02:30 +01:00
cogl-pixel-buffer-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-pixel-buffer.c Allow propogation of OOM errors to apps 2013-01-22 17:48:07 +00:00
cogl-pixel-buffer.h pixel-buffer: add missing transfer annotation 2013-09-23 15:02:31 +01:00
cogl-point-in-poly-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-point-in-poly.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-poll-private.h poll: Add _cogl_poll_renderer_modify_fd 2013-07-01 13:47:48 +01:00
cogl-poll.c wayland: Remove the Wayland socket FD if there are any errors 2013-07-11 14:22:12 +01:00
cogl-poll.h Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-primitive-private.h Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
cogl-primitive-texture.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-primitive-texture.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-primitive.c Add _primitive_draw to replace _framebuffer_draw_primitive 2013-07-29 18:31:36 +01:00
cogl-primitive.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-primitives-private.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-primitives.c Remove cogl-internal.h 2013-01-22 17:48:17 +00:00
cogl-primitives.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-private.h Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-profile.c Adds initial Emscripten support to Cogl 2013-05-29 19:30:44 +01:00
cogl-profile.h Initialize the cogl uprof state in cogl_create_context 2010-09-14 12:43:17 +01:00
cogl-quaternion-private.h math: Adds an experimental quaternion API 2011-05-16 14:11:47 +01:00
cogl-quaternion.c doc: Fix various mismatches between arguments and their documentation 2013-01-22 17:48:13 +00:00
cogl-quaternion.h quaternion: fix structure introspection annotation 2013-09-06 18:42:09 +01:00
cogl-rectangle-map.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-rectangle-map.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-renderer-private.h Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-renderer.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-renderer.h renderer: add missing scope annotation 2013-09-23 15:02:31 +01:00
cogl-sampler-cache-private.h Fixes for building with --disable-gl 2012-08-06 14:27:41 +01:00
cogl-sampler-cache.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-sdl.c Use the Wayland embedded linked list implementation instead of BSD's 2013-06-13 13:45:47 +01:00
cogl-sdl.h Make cogl-sdl.h a top-level header 2013-12-11 18:49:19 +00:00
cogl-snippet-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-snippet.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-snippet.h Add the cogl_point_coord snippet builtin 2013-09-02 16:22:08 +01:00
cogl-spans.c Remove cogl-internal.h 2013-01-22 17:48:17 +00:00
cogl-spans.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-sub-texture-private.h texture: add width/height members to base CoglTexture 2013-01-22 17:48:17 +00:00
cogl-sub-texture.c introduce texture loaders to make allocations lazy 2014-01-09 15:49:46 +00:00
cogl-sub-texture.h sub-texture: add missing transfer annotaion 2013-09-23 15:02:30 +01:00
cogl-swap-chain-private.h Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-swap-chain.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-swap-chain.h Fixes for --disable-glib 2013-01-22 17:48:05 +00:00
cogl-texture-2d-gl.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d-private.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d-sliced-private.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d-sliced.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d-sliced.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-2d.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-3d-private.h Allow lazy texture storage allocation 2013-01-22 17:48:17 +00:00
cogl-texture-3d.c remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-3d.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-driver.h texture: expose mipmap level in set region apis 2013-01-22 17:48:09 +00:00
cogl-texture-private.h remove internal_format and redundant error arguments 2014-01-09 15:49:47 +00:00
cogl-texture-rectangle-private.h Allow lazy texture storage allocation 2013-01-22 17:48:17 +00:00
cogl-texture-rectangle.c texture-rectangle: update _new_with_size in line with master 2014-01-13 17:35:05 +00:00
cogl-texture-rectangle.h texture-rectangle: update _new_with_size in line with master 2014-01-13 17:35:05 +00:00
cogl-texture.c texture: fix cogl_texture_get_components prototype 2014-01-13 19:10:27 +00:00
cogl-texture.h texture: fix cogl_texture_get_components prototype 2014-01-13 19:10:27 +00:00
cogl-types.h Don't enable deprecation warnings for internal API when building Cogl 2013-07-04 11:40:39 +01:00
cogl-util.c Add a wrapper for 'memmem' 2012-08-14 18:55:42 +01:00
cogl-util.h util: simplify _COGL_STATIC_ASSERT definition 2013-10-28 16:34:57 +00:00
cogl-vector.c Switch use of primitive glib types to c99 equivalents 2012-08-06 14:27:39 +01:00
cogl-vector.h doc: Fix the remaining broken internal cross-references 2013-01-22 17:48:16 +00:00
cogl-version.h version: Add COGL_VERSION_1_18 define 2014-01-09 15:29:30 +00:00
cogl-wayland-client.h build: fix building introspection data 2013-11-28 16:59:55 +00:00
cogl-wayland-renderer.h wayland: Add API to prevent Cogl from dispatching the wayland display 2013-07-09 15:46:46 +01:00
cogl-wayland-server.h wayland: Add a convenience function to update a region from SHM buffer 2013-11-28 18:12:22 +00:00
cogl-win32-renderer.c win32: Automatically process windows messages when using a GMainLoop 2013-05-30 13:41:44 +01:00
cogl-win32-renderer.h win32: Automatically process windows messages when using a GMainLoop 2013-05-30 13:41:44 +01:00
cogl-x11-renderer-private.h onscreen: Add CoglFrameInfo and _add_frame_callback() api 2013-01-30 20:09:49 +00:00
cogl-xlib-private.h Remove all internal includes of cogl.h 2012-02-20 23:12:45 +00:00
cogl-xlib-renderer-private.h Associate check and dispatch funcs with poll fds 2013-04-30 16:39:31 +01:00
cogl-xlib-renderer.c poll: Add general way to hook into mainloop without fd 2013-05-28 21:36:03 +01:00
cogl-xlib-renderer.h build: fix building introspection data 2013-11-28 16:59:55 +00:00
cogl-xlib.c Remove cogl-internal.h 2013-01-22 17:48:17 +00:00
cogl-xlib.h build: fix building introspection data 2013-11-28 16:59:55 +00:00
cogl.c pipeline: improve real_blend_enable checks 2013-06-06 21:27:09 +01:00
cogl.h expose deprecated fb api regardless of COGL_ENABLE_EXPERIMENTAL_2_0_API 2014-01-09 17:10:21 +00:00
cogl.rc.in Fix the Windows Resource Files 2013-08-30 12:04:36 +01:00
cogl.symbols cogl.symbols: Make Sure cogl_is_atlas_texture is Exported 2013-10-28 16:34:57 +00:00
Makefile.am auto-texture: Adds cogl-auto-texture.h header 2014-01-09 16:29:11 +00:00
stb_image.c stb_image: Fix warnings that the original stb_image has 2013-01-18 17:28:25 +00:00