Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glx/
Dglxclient.h70 struct glx_context;
76 extern void DRI_glXUseXFont(struct glx_context *ctx,
105 struct glx_context *(*createContext)(struct glx_screen *psc,
107 struct glx_context *shareList,
214 void (*destroy)(struct glx_context *ctx);
215 int (*bind)(struct glx_context *context, struct glx_context *old,
217 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
218 void (*wait_gl)(struct glx_context *ctx);
219 void (*wait_x)(struct glx_context *ctx);
220 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.c63 struct glx_context dummyContext = {
93 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
128 __glXSetCurrentContext(struct glx_context * c) in __glXSetCurrentContext()
134 _X_HIDDEN struct glx_context *
142 return (v == NULL) ? &dummyContext : (struct glx_context *) v; in __glXGetCurrentContext()
154 _X_HIDDEN struct glx_context *__glXcurrentContext = &dummyContext;
172 struct glx_context *cx = __glXGetCurrentContext(); in glXGetCurrentContext()
185 struct glx_context *gc = __glXGetCurrentContext(); in glXGetCurrentDrawable()
213 struct glx_context *gc = (struct glx_context *) gc_user; in MakeContextCurrent()
214 struct glx_context *oldGC = __glXGetCurrentContext(); in MakeContextCurrent()
Dindirect_glx.c44 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context()
128 indirect_bind_context(struct glx_context *gc, struct glx_context *old, in indirect_bind_context()
162 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) in indirect_unbind_context()
183 indirect_wait_gl(struct glx_context *gc) in indirect_wait_gl()
202 indirect_wait_x(struct glx_context *gc) in indirect_wait_x()
220 indirect_use_x_font(struct glx_context *gc, in indirect_use_x_font()
249 struct glx_context *gc = __glXGetCurrentContext(); in indirect_bind_tex_image()
300 struct glx_context *gc = __glXGetCurrentContext(); in indirect_release_tex_image()
343 _X_HIDDEN struct glx_context *
346 struct glx_context *shareList, int renderType) in indirect_create_context()
[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_glGetVertexAttribPointervNV()
180 get_vertex_attrib(struct glx_context * gc, unsigned vop, in get_vertex_attrib()
198 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribivARB()
232 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribfvARB()
266 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribdvARB()
Dclientattrib.c42 struct glx_context *gc = __glXGetCurrentContext(); in do_enable_disable()
72 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPushClientAttrib()
100 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPopClientAttrib()
130 __glFreeAttributeState(struct glx_context * gc) in __glFreeAttributeState()
Dglxcmds.c230 glx_context_init(struct glx_context *gc, in glx_context_init()
258 struct glx_context *gc; in CreateContext()
260 struct glx_context *shareList = (struct glx_context *) shareList_user; in CreateContext()
407 struct glx_context *gc = (struct glx_context *) ctx; in glXDestroyContext()
475 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitGL()
488 struct glx_context *gc = __glXGetCurrentContext(); in glXWaitX()
497 struct glx_context *gc = __glXGetCurrentContext(); in glXUseXFont()
513 struct glx_context *source = (struct glx_context *) source_user; in glXCopyContext()
514 struct glx_context *dest = (struct glx_context *) dest_user; in glXCopyContext()
516 struct glx_context *gc = __glXGetCurrentContext(); in glXCopyContext()
[all …]
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()
147 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState()
490 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_none()
552 emit_DrawArrays_header_old(struct glx_context * gc, in emit_DrawArrays_header_old()
661 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawArrays_old()
723 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_none()
790 struct glx_context *gc = __glXGetCurrentContext(); in emit_DrawElements_old()
[all …]
Ddrisw_glx.c38 struct glx_context base;
251 drisw_destroy_context(struct glx_context *context) in drisw_destroy_context()
267 drisw_bind_context(struct glx_context *context, struct glx_context *old, in drisw_bind_context()
290 drisw_unbind_context(struct glx_context *context, struct glx_context *new) in drisw_unbind_context()
303 struct glx_context *gc = __glXGetCurrentContext(); in drisw_bind_tex_image()
336 struct glx_context *gc = __glXGetCurrentContext(); in drisw_release_tex_image()
371 static struct glx_context *
374 struct glx_context *shareList, int renderType) in drisw_create_context()
419 static struct glx_context *
422 struct glx_context *shareList, in drisw_create_context_attribs()
Dcreate_context.c43 struct glx_context *const share = (struct glx_context *) share_context; in glXCreateContextAttribsARB()
44 struct glx_context *gc = NULL; in glXCreateContextAttribsARB()
Ddri2_glx.c100 struct glx_context base;
122 dri2_destroy_context(struct glx_context *context) in dri2_destroy_context()
138 dri2_bind_context(struct glx_context *context, struct glx_context *old, in dri2_bind_context()
172 dri2_unbind_context(struct glx_context *context, struct glx_context *new) in dri2_unbind_context()
180 static struct glx_context *
183 struct glx_context *shareList, int renderType) in dri2_create_context()
226 static struct glx_context *
229 struct glx_context *shareList, in dri2_create_context_attribs()
491 struct glx_context *gc = __glXGetCurrentContext(); in dri2Throttle()
573 dri2_wait_x(struct glx_context *gc) in dri2_wait_x()
[all …]
Ddri_common.h57 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
60 driReleaseDrawables(struct glx_context *gc);
Dglxextensions.h237 struct glx_context;
247 extern void __glXCalculateUsableGLExtensions(struct glx_context *gc,
254 extern GLboolean __glExtensionBitIsEnabled(struct glx_context *gc,
Dpixelstore.c49 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname, in send_PixelStore()
70 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPixelStoref()
220 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPixelStorei()
Ddri_glx.c81 struct glx_context base;
512 dri_destroy_context(struct glx_context * context) in dri_destroy_context()
529 dri_bind_context(struct glx_context *context, struct glx_context *old, in dri_bind_context()
552 dri_unbind_context(struct glx_context *context, struct glx_context *new) in dri_unbind_context()
572 static struct glx_context *
575 struct glx_context *shareList, int renderType) in dri_create_context()
Dsingle2.c157 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) in get_client_data()
647 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glGetString()
838 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glGetPointerv()
886 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glAreTexturesResident()
942 struct glx_context *const gc = __glXGetCurrentContext(); in glAreTexturesResidentEXT()
952 struct glx_context *const gc = __glXGetCurrentContext(); in glAreTexturesResidentEXT()
Dglxext.c58 void __glXDumpDrawBuffer(struct glx_context * ctx);
225 struct glx_context *gc; in glx_display_free()
929 struct glx_context *gc; in __glXSetupForCommand()
969 __glXFlushRenderBuffer(struct glx_context * ctx, GLubyte * pc) in __glXFlushRenderBuffer()
1020 __glXSendLargeChunk(struct glx_context * gc, GLint requestNumber, in __glXSendLargeChunk()
1069 __glXSendLargeCommand(struct glx_context * ctx, in __glXSendLargeCommand()
1111 __glXDumpDrawBuffer(struct glx_context * ctx) in __glXDumpDrawBuffer()
Dpixel.c83 FillBitmap(struct glx_context * gc, GLint width, GLint height, in FillBitmap()
164 __glFillImage(struct glx_context * gc, GLint dim, GLint width, GLint height, in __glFillImage()
271 EmptyBitmap(struct glx_context * gc, GLint width, GLint height, in EmptyBitmap()
391 __glEmptyImage(struct glx_context * gc, GLint dim, GLint width, GLint height, in __glEmptyImage()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp44 glx_context_init(struct glx_context *gc, in glx_context_init()
235 struct glx_context *glx_ctx = (struct glx_context *) share; in TEST_F()
378 struct glx_context *glx_ctx = (struct glx_context *) ctx; in TEST_F()
396 struct glx_context *share = (struct glx_context *) first; in TEST_F()
397 struct glx_context *ctx = (struct glx_context *) second; in TEST_F()
409 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
422 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
437 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
452 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
465 struct glx_context *gc = (struct glx_context *) ctx; in TEST_F()
[all …]
Dfake_glx_screen.h69 class fake_glx_context : public glx_context {
91 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs()
93 struct glx_context *shareList, in create_attribs()
112 static void destroy(struct glx_context *gc) in destroy()
126 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, in create()
127 struct glx_context *shareList, int renderType) in create()
135 static glx_context *create_attribs(struct glx_screen *psc, in create_attribs()
137 struct glx_context *shareList, in create_attribs()
Dfake_glx_screen.cpp49 extern "C" struct glx_context *
51 struct glx_context *shareList, int renderType) in indirect_create_context()
/external/mesa3d/src/glx/apple/
Dglxreply.c58 __glXReadPixelReply(Display * dpy, struct glx_context * gc, unsigned max_dim, in __glXReadPixelReply()
104 __glXSetupSingleRequest(struct glx_context * gc, GLint sop, GLint cmdlen)
120 __glXSetupVendorRequest(struct glx_context * gc, GLint code, GLint vop, in __glXSetupVendorRequest()
Dapple_xgl_api_stereo.c54 struct glx_context * gc = __glXGetCurrentContext(); in __applegl_glDrawBuffer()
89 struct glx_context * gc = __glXGetCurrentContext(); in __applegl_glDrawBuffersARB()
Dapple_xgl_api_read.c52 struct glx_context *gc = __glXGetCurrentContext(); in SetRead()
85 struct glx_context *gc = __glXGetCurrentContext(); in UnsetRead()
Dapple_xgl_api_viewport.c40 struct glx_context *gc = __glXGetCurrentContext(); in __applegl_glViewport()

12