static void _mosaic_render (GstGLContext * context, GstGLMosaic * mosaic) { GstGLMixer *mixer = GST_GL_MIXER (mosaic); gst_gl_framebuffer_draw_to_texture (mixer->fbo, mosaic->out_tex, gst_gl_mosaic_callback, mosaic); }
static gboolean gst_gl_filter_cube_filter_texture (GstGLFilter * filter, GstGLMemory * in_tex, GstGLMemory * out_tex) { GstGLFilterCube *cube_filter = GST_GL_FILTER_CUBE (filter); cube_filter->in_tex = in_tex; return gst_gl_framebuffer_draw_to_texture (filter->fbo, out_tex, _callback, cube_filter); }
static gboolean gst_vr_compositor_filter_texture (GstGLFilter * filter, GstGLMemory * in_tex, GstGLMemory * out_tex) { GstVRCompositor *self = GST_VR_COMPOSITOR (filter); self->in_tex = in_tex; gst_gl_framebuffer_draw_to_texture (filter->fbo, out_tex, gst_vr_compositor_draw, (gpointer) self); return TRUE; }
static void _fill_gl (GstGLContext * context, GstGLTestSrc * src) { src->gl_result = gst_gl_framebuffer_draw_to_texture (src->fbo, src->out_tex, gst_gl_test_src_callback, src); }
static void draw_render (gpointer data) { gst_gl_framebuffer_draw_to_texture (fbo2, gl_tex2, (GstGLFramebufferFunc) blit_tex, data); }
static void draw_tex (gpointer data) { gst_gl_framebuffer_draw_to_texture (fbo, gl_tex, (GstGLFramebufferFunc) clear_tex, data); }