Home
last modified time | relevance | path

Searched refs:glx_context (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mesa3d/src/glx/
Dglxclient.h82 struct glx_context;
88 extern void DRI_glXUseXFont(struct glx_context *ctx,
232 void (*destroy)(struct glx_context *ctx);
233 int (*bind)(struct glx_context *context, struct glx_context *old,
235 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
236 void (*wait_gl)(struct glx_context *ctx);
237 void (*wait_x)(struct glx_context *ctx);
238 int (*interop_query_device_info)(struct glx_context *ctx,
240 int (*interop_export_object)(struct glx_context *ctx,
249 struct glx_context struct
[all …]
Dapplegl_glx.c46 applegl_destroy_context(struct glx_context *gc) in applegl_destroy_context()
52 applegl_bind_context(struct glx_context *gc, struct glx_context *old, in applegl_bind_context()
70 applegl_unbind_context(struct glx_context *gc, struct glx_context *new) in applegl_unbind_context()
93 applegl_wait_gl(struct glx_context *gc) in applegl_wait_gl()
99 applegl_wait_x(struct glx_context *gc) in applegl_wait_x()
119 struct glx_context *
122 struct glx_context *shareList, int renderType) in applegl_create_context()
124 struct glx_context *gc; in applegl_create_context()
Dglxcurrent.c55 struct glx_context dummyContext = {
82 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
117 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
123 _X_HIDDEN struct glx_context *
131 return (v == NULL) ? &dummyContext : (struct glx_context *) v; in __glXGetCurrentContext()
150 struct glx_context *cx = __glXGetCurrentContext(); in glXGetCurrentContext()
163 struct glx_context *gc = __glXGetCurrentContext(); in glXGetCurrentDrawable()
177 struct glx_context *gc = (struct glx_context *) gc_user; in MakeContextCurrent()
178 struct glx_context *oldGC = __glXGetCurrentContext(); in MakeContextCurrent()
Dindirect_glx.c50 __glFreeAttributeState(struct glx_context * gc) in __glFreeAttributeState()
67 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context()
151 indirect_bind_context(struct glx_context *gc, struct glx_context *old, in indirect_bind_context()
194 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) in indirect_unbind_context()
213 indirect_wait_gl(struct glx_context *gc) in indirect_wait_gl()
232 indirect_wait_x(struct glx_context *gc) in indirect_wait_x()
257 _X_HIDDEN struct glx_context *
260 struct glx_context *shareList, int renderType) in indirect_create_context()
274 _X_HIDDEN struct glx_context *
277 struct glx_context *shareList, in indirect_create_context_attribs()
[all …]
Ddri_common.h61 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
64 driReleaseDrawables(struct glx_context *gc);
84 dri2_check_no_error(uint32_t flags, struct glx_context *share_context,
88 extern struct glx_context *
91 struct glx_context *shareList,
Ddri_common_interop.c36 dri2_interop_query_device_info(struct glx_context *ctx, in dri2_interop_query_device_info()
49 dri2_interop_export_object(struct glx_context *ctx, in dri2_interop_export_object()
65 dri3_interop_query_device_info(struct glx_context *ctx, in dri3_interop_query_device_info()
78 dri3_interop_export_object(struct glx_context *ctx, in dri3_interop_export_object()
Dindirect_vertex_program.c40 struct glx_context *gc = __glXGetCurrentContext(); in do_vertex_attrib_enable()
68 struct glx_context *const gc = __glXGetCurrentContext(); in get_parameter()
125 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribPointerv()
180 get_vertex_attrib(struct glx_context * gc, unsigned vop, in get_vertex_attrib()
198 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribiv()
232 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribfv()
266 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribdv()
Dglxcmds.c258 glx_context_init(struct glx_context *gc, in glx_context_init()
329 struct glx_context *gc; in CreateContext()
331 struct glx_context *shareList = (struct glx_context *) shareList_user; in CreateContext()
498 struct glx_context *gc = (struct glx_context *) ctx; in glXDestroyContext()
566 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitGL()
579 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitX()
588 struct glx_context *gc = __glXGetCurrentContext(); in glXUseXFont()
626 struct glx_context *source = (struct glx_context *) source_user; in glXCopyContext()
627 struct glx_context *dest = (struct glx_context *) dest_user; in glXCopyContext()
629 struct glx_context *gc = __glXGetCurrentContext(); in glXCopyContext()
[all …]
Ddriwindows_glx.c39 struct glx_context base;
68 driwindows_destroy_context(struct glx_context *context) in driwindows_destroy_context()
82 driwindows_bind_context(struct glx_context *context, struct glx_context *old, in driwindows_bind_context()
104 driwindows_unbind_context(struct glx_context *context, struct glx_context *new) in driwindows_unbind_context()
119 static struct glx_context *
122 struct glx_context *shareList, int renderType) in driwindows_create_context()
173 static struct glx_context *
176 struct glx_context *shareList, in driwindows_create_context_attribs()
Ddri2_priv.h65 struct glx_context base;
78 dri2_interop_query_device_info(struct glx_context *ctx,
82 dri2_interop_export_object(struct glx_context *ctx,
Dindirect_vertex_array.c89 static GLboolean validate_mode(struct glx_context * gc, GLenum mode);
90 static GLboolean validate_count(struct glx_context * gc, GLsizei count);
91 static GLboolean validate_type(struct glx_context * gc, GLenum type);
114 __glXFreeVertexArrayState(struct glx_context * gc) in __glXFreeVertexArrayState()
142 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState()
529 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_none()
591 emit_DrawArrays_header_old(struct glx_context * gc, in emit_DrawArrays_header_old()
700 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_old()
762 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_none()
829 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_old()
[all …]
Ddri3_priv.h123 struct glx_context base;
146 dri3_interop_query_device_info(struct glx_context *ctx,
150 dri3_interop_export_object(struct glx_context *ctx,
Dclientattrib.c42 struct glx_context *gc = __glXGetCurrentContext(); in do_enable_disable()
72 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPushClientAttrib()
104 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPopClientAttrib()
Dcreate_context.c51 struct glx_context *const share = (struct glx_context *) share_context; in glXCreateContextAttribsARB()
52 struct glx_context *gc = NULL; in glXCreateContextAttribsARB()
Ddri3_glx.c113 struct glx_context *gc = __glXGetCurrentContext(); in glx_dri3_get_dri_context()
122 struct glx_context *gc = __glXGetCurrentContext(); in glx_dri3_get_dri_screen()
172 dri3_destroy_context(struct glx_context *context) in dri3_destroy_context()
187 dri3_bind_context(struct glx_context *context, struct glx_context *old, in dri3_bind_context()
222 dri3_unbind_context(struct glx_context *context, struct glx_context *new) in dri3_unbind_context()
230 static struct glx_context *
233 struct glx_context *shareList, in dri3_create_context_attribs()
449 dri3_wait_x(struct glx_context *gc) in dri3_wait_x()
459 dri3_wait_gl(struct glx_context *gc) in dri3_wait_gl()
668 struct glx_context *gc = __glXGetCurrentContext(); in dri3_bind_tex_image()
[all …]
Ddrisw_glx.c382 drisw_destroy_context(struct glx_context *context) in drisw_destroy_context()
397 drisw_bind_context(struct glx_context *context, struct glx_context *old, in drisw_bind_context()
418 drisw_unbind_context(struct glx_context *context, struct glx_context *new) in drisw_unbind_context()
427 drisw_wait_gl(struct glx_context *context) in drisw_wait_gl()
433 drisw_wait_x(struct glx_context *context) in drisw_wait_x()
442 struct glx_context *gc = __glXGetCurrentContext(); in drisw_bind_tex_image()
471 struct glx_context *gc = __glXGetCurrentContext(); in drisw_release_tex_image()
499 static struct glx_context *
502 struct glx_context *shareList, in drisw_create_context_attribs()
Dglxextensions.h259 struct glx_context;
272 extern void __glXCalculateUsableGLExtensions(struct glx_context *gc,
276 extern GLboolean __glExtensionBitIsEnabled(struct glx_context *gc,
Dquery_renderer.c107 struct glx_context *gc = __glXGetCurrentContext(); in glXQueryCurrentRendererIntegerMESA()
167 struct glx_context *gc = __glXGetCurrentContext(); in glXQueryCurrentRendererStringMESA()
Ddri2_glx.c114 dri2_destroy_context(struct glx_context *context) in dri2_destroy_context()
129 dri2_bind_context(struct glx_context *context, struct glx_context *old, in dri2_bind_context()
171 dri2_unbind_context(struct glx_context *context, struct glx_context *new) in dri2_unbind_context()
179 static struct glx_context *
182 struct glx_context *shareList, in dri2_create_context_attribs()
466 struct glx_context *gc = __glXGetCurrentContext(); in dri2GetCurrentContext()
588 dri2_wait_x(struct glx_context *gc) in dri2_wait_x()
600 dri2_wait_gl(struct glx_context *gc) in dri2_wait_gl()
620 struct glx_context *gc; in dri2FlushFrontBuffer()
969 struct glx_context *gc = __glXGetCurrentContext(); in dri2_bind_tex_image()
[all …]
/third_party/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp42 glx_context_init(struct glx_context *gc, in glx_context_init()
251 struct glx_context *glx_ctx = (struct glx_context *) share; in TEST_F()
394 struct glx_context *glx_ctx = (struct glx_context *) ctx; in TEST_F()
412 struct glx_context *share = (struct glx_context *) first; in TEST_F()
413 struct glx_context *ctx = (struct glx_context *) second; in TEST_F()
427 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
439 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
453 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
467 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
479 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
[all …]
Dfake_glx_screen.cpp51 extern "C" struct glx_context *
53 struct glx_context *shareList, int renderType) in indirect_create_context()
61 extern "C" struct glx_context *
64 struct glx_context *shareList, in indirect_create_context_attribs()
78 extern "C" struct glx_context *
81 struct glx_context *shareList, in applegl_create_context()
93 struct glx_context dummyContext = {
104 extern "C" struct glx_context *
107 return (struct glx_context *) __glX_tls_Context; in __glXGetCurrentContext()
Dfake_glx_screen.h67 class fake_glx_context : public glx_context {
95 static void destroy(struct glx_context *gc) in destroy()
109 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, in create()
110 struct glx_context *shareList, int renderType) in create()
118 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs()
120 struct glx_context *shareList, in create_attribs()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dgstglcontext_glx.c648 if (!context_glx->glx_context && gl_api & GST_GL_API_OPENGL3 && create_context in gst_gl_context_glx_create_context()
668 context_glx->glx_context = _create_context_with_flags (context_glx, in gst_gl_context_glx_create_context()
673 if (context_glx->glx_context) { in gst_gl_context_glx_create_context()
679 if (!context_glx->glx_context && gl_api & GST_GL_API_OPENGL) { in gst_gl_context_glx_create_context()
680 context_glx->glx_context = in gst_gl_context_glx_create_context()
686 if (!context_glx->glx_context) { in gst_gl_context_glx_create_context()
692 GST_LOG ("gl context id: %ld", (gulong) context_glx->glx_context); in gst_gl_context_glx_create_context()
723 glXDestroyContext (device, context_glx->glx_context); in gst_gl_context_glx_destroy_context()
725 context_glx->glx_context = 0; in gst_gl_context_glx_destroy_context()
866 return (guintptr) GST_GL_CONTEXT_GLX (context)->glx_context; in gst_gl_context_glx_get_gl_context()
[all …]
/third_party/mesa3d/src/glx/apple/
Dapple_xgl_api_stereo.c55 struct glx_context * gc = __glXGetCurrentContext(); in __applegl_glDrawBuffer()
90 struct glx_context * gc = __glXGetCurrentContext(); in __applegl_glDrawBuffers()
Dapple_xgl_api_read.c53 struct glx_context *gc = __glXGetCurrentContext(); in SetRead()
86 struct glx_context *gc = __glXGetCurrentContext(); in UnsetRead()

12