Home
last modified time | relevance | path

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

12

/external/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.c1247 static GLXContext
1249 GLXContext share_list, Bool direct ) in Fake_glXCreateContext()
1273 return (GLXContext) xmesaCtx; in Fake_glXCreateContext()
1278 static GLXContext MakeCurrent_PrevContext = 0;
1288 GLXDrawable read, GLXContext ctx ) in Fake_glXMakeContextCurrent()
1357 Fake_glXMakeCurrent( Display *dpy, GLXDrawable drawable, GLXContext ctx ) in Fake_glXMakeCurrent()
1426 Fake_glXCopyContext( Display *dpy, GLXContext src, GLXContext dst, in Fake_glXCopyContext()
1463 Fake_glXDestroyContext( Display *dpy, GLXContext ctx ) in Fake_glXDestroyContext()
1479 Fake_glXIsDirect( Display *dpy, GLXContext ctx ) in Fake_glXIsDirect()
1775 static GLXContext
[all …]
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp167 GLXContext ctx = in TEST_F()
177 GLXContext ctx = in TEST_F()
189 GLXContext ctx = in TEST_F()
228 GLXContext share = in TEST_F()
232 ASSERT_NE((GLXContext) 0, share); in TEST_F()
355 GLXContext ctx = in TEST_F()
362 EXPECT_NE((GLXContext)0, ctx); in TEST_F()
366 EXPECT_NE((GLXContext)99, ctx); in TEST_F()
371 GLXContext ctx = in TEST_F()
378 ASSERT_NE((GLXContext)0, ctx); in TEST_F()
[all …]
/external/angle/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()
/external/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 …]
/external/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 …]
/external/OpenCL-CTS/test_conformance/gl/GLEW/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 …]
/external/mesa3d/src/glx/
Dglxcurrent.c148 _GLX_PUBLIC GLXContext
157 return (GLXContext) cx; in glXGetCurrentContext()
175 GLXDrawable read, GLXContext gc_user) in MakeContextCurrent()
253 glXMakeCurrent(Display * dpy, GLXDrawable draw, GLXContext gc) in glXMakeCurrent()
260 (Display * dpy, GLXDrawable d, GLXDrawable r, GLXContext ctx),
266 GLXContext ctx), (dpy, d, r, ctx), MakeContextCurrent)
Dcreate_context.c36 _X_HIDDEN GLXContext
38 GLXContext share_context, Bool direct, in glXCreateContextAttribsARB()
123 return (GLXContext) gc; in glXCreateContextAttribsARB()
Dglxglvnddispatchfuncs.h42 static inline int AddContextMapping(Display *dpy, GLXContext ctx, in AddContextMapping()
54 static inline __GLXvendorInfo *GetDispatchFromContext(GLXContext ctx) in GetDispatchFromContext()
Dglxcmds.c319 static GLXContext
321 GLXContext shareList_user, Bool allowDirect, in CreateContext()
431 return (GLXContext) gc; in CreateContext()
434 _GLX_PUBLIC GLXContext
436 GLXContext shareList, Bool allowDirect) in glXCreateContext()
491 glXDestroyContext(Display * dpy, GLXContext ctx) in glXDestroyContext()
596 glXCopyContext(Display * dpy, GLXContext source_user, in glXCopyContext()
597 GLXContext dest_user, unsigned long mask) in glXCopyContext()
661 glXIsDirect(Display * dpy, GLXContext gc_user) in glXIsDirect()
1398 _GLX_PUBLIC GLXContext
[all …]
Dg_glxglvnddispatchfuncs.c154 static GLXContext dispatch_CreateContextAttribsARB(Display *dpy, in dispatch_CreateContextAttribsARB()
156 GLXContext share_list, in dispatch_CreateContextAttribsARB()
162 GLXContext ret; in dispatch_CreateContextAttribsARB()
185 static GLXContext dispatch_CreateContextWithConfigSGIX(Display *dpy, in dispatch_CreateContextWithConfigSGIX()
188 GLXContext share_list, in dispatch_CreateContextWithConfigSGIX()
193 GLXContext ret; in dispatch_CreateContextWithConfigSGIX()
297 static GLXContextID dispatch_GetContextIDEXT(const GLXContext ctx) in dispatch_GetContextIDEXT()
454 static int dispatch_QueryContextInfoEXT(Display *dpy, GLXContext ctx, in dispatch_QueryContextInfoEXT()
/external/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()
/external/skqp/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()
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c110 SetCurrentContext(GLXContext c) in SetCurrentContext()
116 static GLXContext
1119 static GLXContext
1125 GLXContext glxCtx; in create_context()
1154 PUBLIC GLXContext
1156 GLXContext shareCtx, Bool direct ) in glXCreateContext()
1180 GLXDrawable read, GLXContext ctx ) in glXMakeContextCurrent()
1182 GLXContext glxCtx = ctx; in glXMakeContextCurrent()
1183 GLXContext current = GetCurrentContext(); in glXMakeContextCurrent()
1254 glXMakeCurrent( Display *dpy, GLXDrawable drawable, GLXContext ctx ) in glXMakeCurrent()
[all …]
/external/virglrenderer/src/
Dvrend_winsys_glx.c87 GLXContext ctx = in virgl_glx_create_context()
96 GLXContext ctx = (GLXContext)virglctx; in virgl_glx_destroy_context()
/external/skqp/tools/sk_app/unix/
DGLWindowContext_unix.cpp46 GLXContext fGLContext;
63 using CreateContextAttribsFn = GLXContext(Display*, GLXFBConfig, GLXContext, Bool, const int*);
/external/skia/tools/sk_app/unix/
DGLWindowContext_unix.cpp46 GLXContext fGLContext;
63 using CreateContextAttribsFn = GLXContext(Display*, GLXFBConfig, GLXContext, Bool, const int*);
/external/libepoxy/src/
Ddispatch_glx.c39 GLXContext ctx = glXGetCurrentContext(); in epoxy_conservative_glx_version()
111 GLXContext ctx = glXGetCurrentContext(); in epoxy_conservative_has_glx_extension()
/external/mesa3d/src/glx/apple/
Dglx_empty.c204 _X_EXPORT GLXContext
206 GLXContext b, Bool c)
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp126 GLXContext createContext (const GlxContextFactory& factory,
193 const GLXContext& getGLXContext (void) const;
199 GLXContext m_GLXContext;
323 GLXContext GlxVisual::createContext (const GlxContextFactory& factory, in createContext()
414 …const GLXContext& sharedGLXContext = sharedGlxRenderContext ? sharedGlxRenderContext->getGLXContex… in createContext()
802 const GLXContext& GlxRenderContext::getGLXContext (void) const in getGLXContext()
/external/webrtc/test/linux/
Dglx_renderer.h45 GLXContext context_;

12