Home
last modified time | relevance | path

Searched refs:GLXContext (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/mesa3d/src/mesa/drivers/x11/
Dglxapi.h64 void (*CopyContext)(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask);
65GLXContext (*CreateContext)(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct);
67 void (*DestroyContext)(Display *dpy, GLXContext ctx);
70 GLXContext (*GetCurrentContext)(void);
72 Bool (*IsDirect)(Display *dpy, GLXContext ctx);
73 Bool (*MakeCurrent)(Display *dpy, GLXDrawable drawable, GLXContext ctx);
91GLXContext (*CreateNewContext)(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareL…
103 Bool (*MakeContextCurrent)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
104 int (*QueryContext)(Display *dpy, GLXContext ctx, int attribute, int *value);
116 Bool (*MakeCurrentReadSGI)(Display *, GLXDrawable, GLXDrawable, GLXContext);
[all …]
Dglxapi.c162 glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask) in glXCopyContext()
172 GLXContext PUBLIC
173 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext()
195 glXDestroyContext(Display *dpy, GLXContext ctx) in glXDestroyContext()
230 GLXContext PUBLIC
233 return (GLXContext) XMesaGetCurrentContext(); in glXGetCurrentContext()
246 glXIsDirect(Display *dpy, GLXContext ctx) in glXIsDirect()
257 glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx) in glXMakeCurrent()
401 GLXContext PUBLIC
402 glXCreateNewContext(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool di… in glXCreateNewContext()
[all …]
Dfakeglx.c1241 static GLXContext
1243 GLXContext share_list, Bool direct ) in Fake_glXCreateContext()
1267 return (GLXContext) xmesaCtx; in Fake_glXCreateContext()
1272 static GLXContext MakeCurrent_PrevContext = 0;
1282 GLXDrawable read, GLXContext ctx ) in Fake_glXMakeContextCurrent()
1351 Fake_glXMakeCurrent( Display *dpy, GLXDrawable drawable, GLXContext ctx ) in Fake_glXMakeCurrent()
1420 Fake_glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, in Fake_glXCopyContext()
1457 Fake_glXDestroyContext( Display *dpy, GLXContext ctx ) in Fake_glXDestroyContext()
1473 Fake_glXIsDirect( Display *dpy, GLXContext ctx ) in Fake_glXIsDirect()
1754 static GLXContext
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
Dfunctionsglx_typedefs.h22 typedef GLXContext (*PFNGLXCREATECONTEXTPROC)(Display *dpy,
24 GLXContext shareList,
26 typedef void (*PFNGLXDESTROYCONTEXTPROC)(Display *dpy, GLXContext ctx);
27 typedef Bool (*PFNGLXMAKECURRENTPROC)(Display *dpy, GLXDrawable drawable, GLXContext ctx);
29 GLXContext src,
30 GLXContext dst,
37 typedef Bool (*PFNGLXISDIRECTPROC)(Display *dpy, GLXContext ctx);
39 typedef GLXContext (*PFNGLXGETCURRENTCONTEXTPROC)();
41 typedef GLXContext (*PFNGLXGETCURRENTCONTEXTPROC)();
DFunctionsGLX.cpp273 GLXContext shareCtx = reinterpret_cast<GLXContext>(share); in createContext()
274 GLXContext context = mFnPtrs->createContextPtr(mXDisplay, visual, shareCtx, direct); in createContext()
279 GLXContext ctx = reinterpret_cast<GLXContext>(context); in destroyContext()
284 GLXContext ctx = reinterpret_cast<GLXContext>(context); in makeCurrent()
301 GLXContext context = mFnPtrs->getCurrentContextPtr(); in getCurrentContext()
381 GLXContext shareCtx = reinterpret_cast<GLXContext>(shareContext); in createContextAttribsARB()
383 GLXContext ctx = in createContextAttribsARB()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
Dfunctionsglx_typedefs.h22 typedef GLXContext (*PFNGLXCREATECONTEXTPROC)(Display *dpy,
24 GLXContext shareList,
26 typedef void (*PFNGLXDESTROYCONTEXTPROC)(Display *dpy, GLXContext ctx);
27 typedef Bool (*PFNGLXMAKECURRENTPROC)(Display *dpy, GLXDrawable drawable, GLXContext ctx);
29 GLXContext src,
30 GLXContext dst,
37 typedef Bool (*PFNGLXISDIRECTPROC)(Display *dpy, GLXContext ctx);
39 typedef GLXContext (*PFNGLXGETCURRENTCONTEXTPROC)();
41 typedef GLXContext (*PFNGLXGETCURRENTCONTEXTPROC)();
DFunctionsGLX.cpp301 GLXContext shareCtx = reinterpret_cast<GLXContext>(share); in createContext()
302 GLXContext context = mFnPtrs->createContextPtr(mXDisplay, visual, shareCtx, direct); in createContext()
307 GLXContext ctx = reinterpret_cast<GLXContext>(context); in destroyContext()
312 GLXContext ctx = reinterpret_cast<GLXContext>(context); in makeCurrent()
329 GLXContext context = mFnPtrs->getCurrentContextPtr(); in getCurrentContext()
421 GLXContext shareCtx = reinterpret_cast<GLXContext>(shareContext); in createContextAttribsARB()
423 GLXContext ctx = in createContextAttribsARB()
/third_party/openGLES/api/GL/
Dglxext.h102 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_typ…
103 … *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
105 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
120 GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share…
121 Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
123 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
154 typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXCont…
156 GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, …
239 typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
240 typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list…
[all …]
/third_party/skia/third_party/externals/swiftshader/include/GL/
Dglxext.h121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_typ…
122 … *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
139 GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share…
140 Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
173 typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXCont…
175 GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, …
258 typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
259 typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list…
[all …]
/third_party/skia/third_party/externals/opengl-registry/api/GL/
Dglxext.h121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_typ…
122 … *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
139 GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share…
140 Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
173 typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXCont…
175 GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, …
258 typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
259 typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list…
[all …]
/third_party/mesa3d/include/GL/
Dglxext.h121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_typ…
122 … *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
139 GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share…
140 Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
173 typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXCont…
175 GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, …
258 typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
259 typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list…
[all …]
Dglx.h160 typedef struct __GLXcontextRec *GLXContext; typedef
185 extern GLXContext glXCreateContext( Display *dpy, XVisualInfo *vis,
186 GLXContext shareList, Bool direct );
188 extern void glXDestroyContext( Display *dpy, GLXContext ctx );
191 GLXContext ctx);
193 extern void glXCopyContext( Display *dpy, GLXContext src, GLXContext dst,
207 extern Bool glXIsDirect( Display *dpy, GLXContext ctx );
212 extern GLXContext glXGetCurrentContext( void );
267 extern GLXContext glXCreateNewContext( Display *dpy, GLXFBConfig config,
268 int renderType, GLXContext shareList,
[all …]
/third_party/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp141 GLXContext ctx;
191 GLXContext ctx = in TEST_F()
204 GLXContext ctx = in TEST_F()
242 GLXContext share = in TEST_F()
246 ASSERT_NE((GLXContext) 0, share); in TEST_F()
377 EXPECT_NE((GLXContext)0, ctx); in TEST_F()
381 EXPECT_NE((GLXContext)99, ctx); in TEST_F()
392 ASSERT_NE((GLXContext)0, ctx); in TEST_F()
400 GLXContext first = in TEST_F()
404 ASSERT_NE((GLXContext) 0, first); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11opengl.h43 GLXContext (*glXCreateContext) (Display*,XVisualInfo*,GLXContext,Bool);
44 GLXContext (*glXCreateContextAttribsARB) (Display*,GLXFBConfig,GLXContext,Bool,const int *);
46 void (*glXDestroyContext) (Display*, GLXContext);
47 Bool(*glXMakeCurrent) (Display*,GLXDrawable,GLXContext);
DSDL_x11opengl.c78 typedef GLXContext(*PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display * dpy,
80 GLXContext
195 (GLXContext(*)(Display *, XVisualInfo *, GLXContext, int)) in X11_GL_LoadLibrary()
198 (void (*)(Display *, GLXContext)) in X11_GL_LoadLibrary()
201 (int (*)(Display *, GLXDrawable, GLXContext)) in X11_GL_LoadLibrary()
364 (GLXContext (*)(Display*,GLXFBConfig,GLXContext,Bool,const int *)) in X11_GL_InitExtensions()
570 GLXContext context = NULL, share_context; in X11_GL_CreateContext()
573 share_context = (GLXContext)SDL_GL_GetCurrentContext(); in X11_GL_CreateContext()
680 GLXContext glx_context = (GLXContext) context; in X11_GL_MakeCurrent()
807 GLXContext glx_context = (GLXContext) context; in X11_GL_DeleteContext()
/third_party/flutter/glfw/src/
Dglx_context.h74 typedef struct __GLXcontext* GLXContext; typedef
81 typedef void (*PFNGLXDESTROYCONTEXTPROC)(Display*,GLXContext);
82 typedef Bool (*PFNGLXMAKECURRENTPROC)(Display*,GLXDrawable,GLXContext);
86 typedef GLXContext (*PFNGLXCREATENEWCONTEXTPROC)(Display*,GLXFBConfig,int,GLXContext,Bool);
91 typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display*,GLXFBConfig,GLXContext,Bool,const …
119 GLXContext handle;
/third_party/openGLES/extensions/EXT/
DGLX_EXT_import_context.txt40 int glXQueryContextInfoEXT(Display *dpy, GLXContext context,
43 GLXContextID glXGetContextIDEXT(const GLXContext context);
45 GLXContext glXImportContextEXT(Display *dpy, GLXContextID contextID);
47 void glXFreeContextEXT(Display *dpy, GLXContext context);
93 int glXQueryContextInfoEXT(Display *dpy, GLXContext context,
113 To obtain the XID of a GLXContext, use
115 GLXContextID glXGetContextIDEXT(const GLXContext context);
120 NULL and is not a valid GLXContext name, behavior is undefined.
122 To create a GLXContext given the XID of an existing GLXContext, use
124 GLXContext glXImportContextEXT(Display *dpy,
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DGLX_EXT_import_context.txt40 int glXQueryContextInfoEXT(Display *dpy, GLXContext context,
43 GLXContextID glXGetContextIDEXT(const GLXContext context);
45 GLXContext glXImportContextEXT(Display *dpy, GLXContextID contextID);
47 void glXFreeContextEXT(Display *dpy, GLXContext context);
93 int glXQueryContextInfoEXT(Display *dpy, GLXContext context,
113 To obtain the XID of a GLXContext, use
115 GLXContextID glXGetContextIDEXT(const GLXContext context);
120 NULL and is not a valid GLXContext name, behavior is undefined.
122 To create a GLXContext given the XID of an existing GLXContext, use
124 GLXContext glXImportContextEXT(Display *dpy,
[all …]
/third_party/mesa3d/src/glx/
Dglxcurrent.c147 _GLX_PUBLIC GLXContext
156 return (GLXContext) cx; in glXGetCurrentContext()
174 GLXDrawable read, GLXContext gc_user, in MakeContextCurrent()
251 glXMakeCurrent(Display * dpy, GLXDrawable draw, GLXContext gc) in glXMakeCurrent()
258 GLXContext ctx) in glXMakeContextCurrent()
265 GLXContext ctx) in glXMakeCurrentReadSGI()
/third_party/flutter/skia/third_party/externals/opencl-lib/3-0/include/GL/
Dglxew.h136 typedef struct __glXContextRec *GLXContext; typedef
138 typedef struct __GLXcontextRec *GLXContext; typedef
149 extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool dire…
150 extern void glXDestroyContext (Display *dpy, GLXContext ctx);
151 extern Bool glXIsDirect (Display *dpy, GLXContext ctx);
152 extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask);
153 extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx);
154 extern GLXContext glXGetCurrentContext (void);
281 typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_ty…
293 …NGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
[all …]
/third_party/openGLES/extensions/NV/
DGLX_NV_copy_buffer.txt43 GLXContext readCtx, GLXContext writeCtx,
49 GLXContext readCtx, GLXContext writeCtx,
63 GLXContext readCtx, GLXContext writeCtx,
69 GLXContext readCtx, GLXContext writeCtx,
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_copy_buffer.txt43 GLXContext readCtx, GLXContext writeCtx,
49 GLXContext readCtx, GLXContext writeCtx,
63 GLXContext readCtx, GLXContext writeCtx,
69 GLXContext readCtx, GLXContext writeCtx,
/third_party/flutter/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp61 static GLXContext CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc,
62 GLXContext glxSharedContext);
69 GLXContext fContext;
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
298 GLXContext GLXGLTestContext::CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc, in CreateBestContext()
299 GLXContext glxShareContext) { in CreateBestContext()
306 GLXContext context = nullptr; in CreateBestContext()
/third_party/skia/tools/gpu/gl/glx/
DCreatePlatformGLTestContext_glx.cpp61 static GLXContext CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc,
62 GLXContext glxSharedContext);
69 GLXContext fContext;
117 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; in GLXGLTestContext()
305 GLXContext GLXGLTestContext::CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc, in CreateBestContext()
306 GLXContext glxShareContext) { in CreateBestContext()
313 GLXContext context = nullptr; in CreateBestContext()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c110 SetCurrentContext(GLXContext c) in SetCurrentContext()
116 static GLXContext
1113 static GLXContext
1119 GLXContext glxCtx; in create_context()
1148 PUBLIC GLXContext
1150 GLXContext shareCtx, Bool direct ) in glXCreateContext()
1174 GLXDrawable read, GLXContext ctx ) in glXMakeContextCurrent()
1176 GLXContext glxCtx = ctx; in glXMakeContextCurrent()
1177 GLXContext current = GetCurrentContext(); in glXMakeContextCurrent()
1248 glXMakeCurrent( Display *dpy, GLXDrawable drawable, GLXContext ctx ) in glXMakeCurrent()
[all …]

1234