Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glx/
Dglxclient.h76 struct glx_context;
82 extern void DRI_glXUseXFont(struct glx_context *ctx,
111 struct glx_context *(*createContext)(struct glx_screen *psc,
113 struct glx_context *shareList,
230 void (*destroy)(struct glx_context *ctx);
231 int (*bind)(struct glx_context *context, struct glx_context *old,
233 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
234 void (*wait_gl)(struct glx_context *ctx);
235 void (*wait_x)(struct glx_context *ctx);
236 void (*use_x_font)(struct glx_context *ctx,
[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()
123 struct glx_context *
126 struct glx_context *shareList, int renderType) in applegl_create_context()
128 struct glx_context *gc; in applegl_create_context()
Dglxcurrent.c55 struct glx_context dummyContext = {
83 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
118 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
124 _X_HIDDEN struct glx_context *
132 return (v == NULL) ? &dummyContext : (struct glx_context *) v; in __glXGetCurrentContext()
151 struct glx_context *cx = __glXGetCurrentContext(); in glXGetCurrentContext()
164 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 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context()
134 indirect_bind_context(struct glx_context *gc, struct glx_context *old, in indirect_bind_context()
159 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) in indirect_unbind_context()
178 indirect_wait_gl(struct glx_context *gc) in indirect_wait_gl()
197 indirect_wait_x(struct glx_context *gc) in indirect_wait_x()
215 indirect_use_x_font(struct glx_context *gc, in indirect_use_x_font()
244 struct glx_context *gc = __glXGetCurrentContext(); in indirect_bind_tex_image()
295 struct glx_context *gc = __glXGetCurrentContext(); in indirect_release_tex_image()
342 _X_HIDDEN struct glx_context *
345 struct glx_context *shareList, int renderType) in indirect_create_context()
[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()
116 struct glx_context *gc = __glXGetCurrentContext(); in driwindows_bind_tex_image()
134 struct glx_context *gc = __glXGetCurrentContext(); in driwindows_release_tex_image()
159 static struct glx_context *
162 struct glx_context *shareList, int renderType) in driwindows_create_context()
213 static struct glx_context *
216 struct glx_context *shareList, in driwindows_create_context_attribs()
Dglxcmds.c259 glx_context_init(struct glx_context *gc, in glx_context_init()
287 struct glx_context *gc; in CreateContext()
289 struct glx_context *shareList = (struct glx_context *) shareList_user; in CreateContext()
454 struct glx_context *gc = (struct glx_context *) ctx; in glXDestroyContext()
522 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitGL()
535 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitX()
544 struct glx_context *gc = __glXGetCurrentContext(); in glXUseXFont()
560 struct glx_context *source = (struct glx_context *) source_user; in glXCopyContext()
561 struct glx_context *dest = (struct glx_context *) dest_user; in glXCopyContext()
563 struct glx_context *gc = __glXGetCurrentContext(); in glXCopyContext()
[all …]
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()
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_array.c87 static GLboolean validate_mode(struct glx_context * gc, GLenum mode);
88 static GLboolean validate_count(struct glx_context * gc, GLsizei count);
89 static GLboolean validate_type(struct glx_context * gc, GLenum type);
112 __glXFreeVertexArrayState(struct glx_context * gc) in __glXFreeVertexArrayState()
140 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState()
527 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_none()
589 emit_DrawArrays_header_old(struct glx_context * gc, in emit_DrawArrays_header_old()
698 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_old()
760 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_none()
827 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_old()
[all …]
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()
134 __glFreeAttributeState(struct glx_context * gc) in __glFreeAttributeState()
Ddri2_priv.h61 struct glx_context base;
74 dri2_interop_query_device_info(struct glx_context *ctx,
78 dri2_interop_export_object(struct glx_context *ctx,
Ddri3_priv.h113 struct glx_context base;
137 dri3_interop_query_device_info(struct glx_context *ctx,
141 dri3_interop_export_object(struct glx_context *ctx,
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()
332 static struct glx_context *
335 struct glx_context *shareList, int renderType) in dri3_create_context()
442 dri3_wait_x(struct glx_context *gc) in dri3_wait_x()
[all …]
Dcreate_context.c43 struct glx_context *const share = (struct glx_context *) share_context; in glXCreateContextAttribsARB()
44 struct glx_context *gc = NULL; in glXCreateContextAttribsARB()
Ddrisw_glx.c231 drisw_destroy_context(struct glx_context *context) in drisw_destroy_context()
246 drisw_bind_context(struct glx_context *context, struct glx_context *old, in drisw_bind_context()
267 drisw_unbind_context(struct glx_context *context, struct glx_context *new) in drisw_unbind_context()
280 struct glx_context *gc = __glXGetCurrentContext(); in drisw_bind_tex_image()
312 struct glx_context *gc = __glXGetCurrentContext(); in drisw_release_tex_image()
346 static struct glx_context *
349 struct glx_context *shareList, int renderType) in drisw_create_context()
399 static struct glx_context *
402 struct glx_context *shareList, in drisw_create_context_attribs()
Ddri_common.h59 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
62 driReleaseDrawables(struct glx_context *gc);
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, int renderType) in dri2_create_context()
230 static struct glx_context *
233 struct glx_context *shareList, in dri2_create_context_attribs()
520 struct glx_context *gc = __glXGetCurrentContext(); in dri2GetCurrentContext()
642 dri2_wait_x(struct glx_context *gc) in dri2_wait_x()
654 dri2_wait_gl(struct glx_context *gc) in dri2_wait_gl()
[all …]
Dglxextensions.h253 struct glx_context;
263 extern void __glXCalculateUsableGLExtensions(struct glx_context *gc,
270 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()
Ddri_glx.c81 struct glx_context base;
605 dri_destroy_context(struct glx_context * context) in dri_destroy_context()
621 dri_bind_context(struct glx_context *context, struct glx_context *old, in dri_bind_context()
644 dri_unbind_context(struct glx_context *context, struct glx_context *new) in dri_unbind_context()
664 static struct glx_context *
667 struct glx_context *shareList, int renderType) in dri_create_context()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp42 glx_context_init(struct glx_context *gc, in glx_context_init()
237 struct glx_context *glx_ctx = (struct glx_context *) share; in TEST_F()
380 struct glx_context *glx_ctx = (struct glx_context *) ctx; in TEST_F()
398 struct glx_context *share = (struct glx_context *) first; in TEST_F()
399 struct glx_context *ctx = (struct glx_context *) second; in TEST_F()
411 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
424 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
439 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
454 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
467 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
[all …]
Dfake_glx_screen.cpp53 extern "C" struct glx_context *
55 struct glx_context *shareList, int renderType) in indirect_create_context()
63 extern "C" struct glx_context *
66 struct glx_context *shareList, in indirect_create_context_attribs()
80 extern "C" struct glx_context *
83 struct glx_context *shareList, in applegl_create_context()
95 struct glx_context dummyContext = {
106 extern "C" struct glx_context *
109 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()
/external/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