@@ -122,44 +122,6 @@ clutter_stage_view_get_onscreen (ClutterStageView *view)
122122 return priv -> framebuffer ;
123123}
124124
125- static CoglPipeline *
126- clutter_stage_view_create_framebuffer_pipeline (CoglFramebuffer * framebuffer )
127- {
128- CoglPipeline * pipeline ;
129-
130- pipeline = cogl_pipeline_new (cogl_framebuffer_get_context (framebuffer ));
131-
132- cogl_pipeline_set_layer_filters (pipeline , 0 ,
133- COGL_PIPELINE_FILTER_NEAREST ,
134- COGL_PIPELINE_FILTER_NEAREST );
135- cogl_pipeline_set_layer_texture (pipeline , 0 ,
136- cogl_offscreen_get_texture (framebuffer ));
137- cogl_pipeline_set_layer_wrap_mode (pipeline , 0 ,
138- COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE );
139-
140- return pipeline ;
141- }
142-
143- static void
144- clutter_stage_view_ensure_offscreen_blit_pipeline (ClutterStageView * view )
145- {
146- ClutterStageViewPrivate * priv =
147- clutter_stage_view_get_instance_private (view );
148- ClutterStageViewClass * view_class =
149- CLUTTER_STAGE_VIEW_GET_CLASS (view );
150-
151- g_assert (priv -> offscreen != NULL );
152-
153- if (priv -> offscreen_pipeline )
154- return ;
155-
156- priv -> offscreen_pipeline =
157- clutter_stage_view_create_framebuffer_pipeline (priv -> offscreen );
158-
159- if (view_class -> setup_offscreen_blit_pipeline )
160- view_class -> setup_offscreen_blit_pipeline (view , priv -> offscreen_pipeline );
161- }
162-
163125void
164126clutter_stage_view_invalidate_offscreen_blit_pipeline (ClutterStageView * view )
165127{
0 commit comments