Searched refs:sdl_context (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/ |
D | sdlshare.c | 48 static GstGLContext *sdl_context; variable 155 const GstGLFuncs *gl = sdl_context->gl_vtable; in InitGL() 174 texture_shader = gst_gl_shader_new_link_with_stages (sdl_context, &error, in InitGL() 175 gst_glsl_stage_new_with_string (sdl_context, GL_VERTEX_SHADER, in InitGL() 178 gst_glsl_stage_new_with_string (sdl_context, GL_FRAGMENT_SHADER, in InitGL() 216 triangle_shader = gst_gl_shader_new_link_with_stages (sdl_context, &error, in InitGL() 217 gst_glsl_stage_new_with_string (sdl_context, GL_VERTEX_SHADER, in InitGL() 220 gst_glsl_stage_new_with_string (sdl_context, GL_FRAGMENT_SHADER, in InitGL() 267 const GstGLFuncs *gl = sdl_context->gl_vtable; in DeinitGL() 269 gst_gl_context_activate (sdl_context, TRUE); in DeinitGL() [all …]
|
D | sdlshare2.c | 41 static GstGLContext *sdl_context; variable 278 gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, sdl_context, in sync_bus_call() 358 sdl_context = in main() 362 gst_gl_context_activate (sdl_context, TRUE); in main() 364 if (!gst_gl_context_fill_info (sdl_context, &err)) { in main() 406 gst_gl_context_activate (sdl_context, FALSE); in main() 407 gst_object_unref (sdl_context); in main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/nacl/ |
D | SDL_naclopengles.c | 63 NACL_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext sdl_context) in NACL_GLES_MakeCurrent() argument 67 driverdata->ppb_instance->BindGraphics(driverdata->instance, (PP_Resource) sdl_context); in NACL_GLES_MakeCurrent() 68 glSetCurrentContextPPAPI((PP_Resource) sdl_context); in NACL_GLES_MakeCurrent()
|