mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
build: Hide cogl_pipeline_cache_{new,free}()
Those symbols should not be public and were exported as they started with cogl_. (cherry picked from commit 68a55f1dc70ea60fcccbe226029e585886feddc2)
This commit is contained in:
parent
1f78b4044a
commit
a0d47d5660
@ -348,7 +348,7 @@ cogl_context_new (CoglDisplay *display,
|
||||
|
||||
context->legacy_depth_test_enabled = FALSE;
|
||||
|
||||
context->pipeline_cache = cogl_pipeline_cache_new ();
|
||||
context->pipeline_cache = _cogl_pipeline_cache_new ();
|
||||
|
||||
for (i = 0; i < COGL_BUFFER_BIND_TARGET_COUNT; i++)
|
||||
context->current_buffer[i] = NULL;
|
||||
@ -557,7 +557,7 @@ _cogl_context_free (CoglContext *context)
|
||||
_cogl_matrix_entry_cache_destroy (&context->builtin_flushed_projection);
|
||||
_cogl_matrix_entry_cache_destroy (&context->builtin_flushed_modelview);
|
||||
|
||||
cogl_pipeline_cache_free (context->pipeline_cache);
|
||||
_cogl_pipeline_cache_free (context->pipeline_cache);
|
||||
|
||||
_cogl_sampler_cache_free (context->sampler_cache);
|
||||
|
||||
|
@ -143,7 +143,7 @@ pipeline_combined_equal (const void *a, const void *b)
|
||||
}
|
||||
|
||||
CoglPipelineCache *
|
||||
cogl_pipeline_cache_new (void)
|
||||
_cogl_pipeline_cache_new (void)
|
||||
{
|
||||
CoglPipelineCache *cache = g_new (CoglPipelineCache, 1);
|
||||
|
||||
@ -164,7 +164,7 @@ cogl_pipeline_cache_new (void)
|
||||
}
|
||||
|
||||
void
|
||||
cogl_pipeline_cache_free (CoglPipelineCache *cache)
|
||||
_cogl_pipeline_cache_free (CoglPipelineCache *cache)
|
||||
{
|
||||
g_hash_table_destroy (cache->fragment_hash);
|
||||
g_hash_table_destroy (cache->vertex_hash);
|
||||
|
@ -29,10 +29,10 @@
|
||||
typedef struct _CoglPipelineCache CoglPipelineCache;
|
||||
|
||||
CoglPipelineCache *
|
||||
cogl_pipeline_cache_new (void);
|
||||
_cogl_pipeline_cache_new (void);
|
||||
|
||||
void
|
||||
cogl_pipeline_cache_free (CoglPipelineCache *cache);
|
||||
_cogl_pipeline_cache_free (CoglPipelineCache *cache);
|
||||
|
||||
/*
|
||||
* Gets a pipeline from the cache that has the same state as
|
||||
|
@ -516,8 +516,6 @@ cogl_perspective
|
||||
|
||||
cogl_pipeline_add_layer_snippet
|
||||
cogl_pipeline_add_snippet
|
||||
cogl_pipeline_cache_free
|
||||
cogl_pipeline_cache_new
|
||||
cogl_pipeline_copy
|
||||
cogl_pipeline_foreach_layer
|
||||
cogl_pipeline_get_alpha_test_function
|
||||
|
Loading…
Reference in New Issue
Block a user