+ draw_scope(refresh_frame, 1);
+}
+
+void Canvas::process_scope(VideoDevice *video, VFrame *frame)
+{
+ if( !scope_on() ) return;
+ int use_opengl =
+ video->out_config->driver == PLAYBACK_X11_GL &&
+ frame->get_opengl_state() != VFrame::RAM;
+ if( use_opengl ) {
+ update_refresh(video, frame);
+ frame = refresh_frame;
+ }
+ if( frame )
+ draw_scope(frame, 0);