mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
cogl: Remove unused CoglPipelineFragend::passthrough
https://gitlab.gnome.org/GNOME/mutter/merge_requests/819
This commit is contained in:
parent
f5050a4f80
commit
e922c640ef
@ -429,7 +429,6 @@ typedef struct _CoglPipelineFragend
|
||||
gboolean (*add_layer) (CoglPipeline *pipeline,
|
||||
CoglPipelineLayer *layer,
|
||||
unsigned long layers_difference);
|
||||
gboolean (*passthrough) (CoglPipeline *pipeline);
|
||||
gboolean (*end) (CoglPipeline *pipeline,
|
||||
unsigned long pipelines_difference);
|
||||
|
||||
|
@ -1119,7 +1119,6 @@ const CoglPipelineFragend _cogl_pipeline_glsl_fragend =
|
||||
{
|
||||
_cogl_pipeline_fragend_glsl_start,
|
||||
_cogl_pipeline_fragend_glsl_add_layer,
|
||||
NULL, /* passthrough */
|
||||
_cogl_pipeline_fragend_glsl_end,
|
||||
_cogl_pipeline_fragend_glsl_pre_change_notify,
|
||||
_cogl_pipeline_fragend_glsl_layer_pre_change_notify
|
||||
|
@ -1173,13 +1173,6 @@ _cogl_pipeline_flush_gl_state (CoglContext *ctx,
|
||||
if (G_UNLIKELY (state.error_adding_layer))
|
||||
continue;
|
||||
|
||||
if (!state.added_layer)
|
||||
{
|
||||
if (fragend->passthrough &&
|
||||
G_UNLIKELY (!fragend->passthrough (pipeline)))
|
||||
continue;
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (!fragend->end (pipeline, pipelines_difference)))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user