Searched refs:new_cs (Results 1 – 1 of 1) sorted by relevance
421 gl_set_current_context(OpenGLContextStateP new_cs, OpenGLContextStateP old_cs) in gl_set_current_context() argument426 if (!new_cs->display) in gl_set_current_context()427 return !new_cs->window && !new_cs->context; in gl_set_current_context()430 if (old_cs == new_cs) in gl_set_current_context()433 if (old_cs->display == new_cs->display && in gl_set_current_context()434 old_cs->window == new_cs->window && in gl_set_current_context()435 old_cs->context == new_cs->context) in gl_set_current_context()438 return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context); in gl_set_current_context()874 struct OpenGLContextState old_cs, *new_cs; in vaCreateSurfaceGLX_impl_libva() local877 new_cs = gl_create_context(ctx, &old_cs); in vaCreateSurfaceGLX_impl_libva()[all …]