cogl: Remove unused CoglPipelineFragend::pipeline_set_parent_notify
https://gitlab.gnome.org/GNOME/mutter/merge_requests/819
This commit is contained in:
parent
8cac82318f
commit
f5050a4f80
3 changed files with 0 additions and 19 deletions
|
@ -436,7 +436,6 @@ typedef struct _CoglPipelineFragend
|
||||||
void (*pipeline_pre_change_notify) (CoglPipeline *pipeline,
|
void (*pipeline_pre_change_notify) (CoglPipeline *pipeline,
|
||||||
CoglPipelineState change,
|
CoglPipelineState change,
|
||||||
const CoglColor *new_color);
|
const CoglColor *new_color);
|
||||||
void (*pipeline_set_parent_notify) (CoglPipeline *pipeline);
|
|
||||||
void (*layer_pre_change_notify) (CoglPipeline *owner,
|
void (*layer_pre_change_notify) (CoglPipeline *owner,
|
||||||
CoglPipelineLayer *layer,
|
CoglPipelineLayer *layer,
|
||||||
CoglPipelineLayerState change);
|
CoglPipelineLayerState change);
|
||||||
|
|
|
@ -227,23 +227,6 @@ _cogl_pipeline_set_parent (CoglPipeline *pipeline,
|
||||||
* layers could now be invalid so free it... */
|
* layers could now be invalid so free it... */
|
||||||
if (pipeline->differences & COGL_PIPELINE_STATE_LAYERS)
|
if (pipeline->differences & COGL_PIPELINE_STATE_LAYERS)
|
||||||
recursively_free_layer_caches (pipeline);
|
recursively_free_layer_caches (pipeline);
|
||||||
|
|
||||||
/* If the backends are also caching state along with the pipeline
|
|
||||||
* that depends on the pipeline's ancestry then it may be notified
|
|
||||||
* here...
|
|
||||||
*/
|
|
||||||
if (pipeline->progend != COGL_PIPELINE_PROGEND_UNDEFINED)
|
|
||||||
{
|
|
||||||
const CoglPipelineProgend *progend =
|
|
||||||
_cogl_pipeline_progends[pipeline->progend];
|
|
||||||
const CoglPipelineFragend *fragend =
|
|
||||||
_cogl_pipeline_fragends[progend->fragend];
|
|
||||||
|
|
||||||
/* Currently only the fragends ever care about reparenting of
|
|
||||||
* pipelines... */
|
|
||||||
if (fragend->pipeline_set_parent_notify)
|
|
||||||
fragend->pipeline_set_parent_notify (pipeline);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -1122,7 +1122,6 @@ const CoglPipelineFragend _cogl_pipeline_glsl_fragend =
|
||||||
NULL, /* passthrough */
|
NULL, /* passthrough */
|
||||||
_cogl_pipeline_fragend_glsl_end,
|
_cogl_pipeline_fragend_glsl_end,
|
||||||
_cogl_pipeline_fragend_glsl_pre_change_notify,
|
_cogl_pipeline_fragend_glsl_pre_change_notify,
|
||||||
NULL, /* pipeline_set_parent_notify */
|
|
||||||
_cogl_pipeline_fragend_glsl_layer_pre_change_notify
|
_cogl_pipeline_fragend_glsl_layer_pre_change_notify
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue