Home
last modified time | relevance | path

Searched refs:GLXFBConfig (Results 1 - 23 of 23) sorted by relevance

/third_party/mesa3d/src/glx/tests/
H A Dcreate_context_unittest.cpp192 glXCreateContextAttribsARB(NULL, (GLXFBConfig) &this->fbc, 0, in TEST_F()
205 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
219 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
227 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
234 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
243 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
248 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, share, in TEST_F()
259 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
267 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0, in TEST_F()
277 ctx = glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) in TEST_F()
[all...]
/third_party/mesa3d/include/GL/
H A Dglx.h164 typedef struct __GLXFBConfigRec *GLXFBConfig; typedef
237 extern GLXFBConfig *glXChooseFBConfig( Display *dpy, int screen,
240 extern int glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config,
243 extern GLXFBConfig *glXGetFBConfigs( Display *dpy, int screen,
247 GLXFBConfig config );
249 extern GLXWindow glXCreateWindow( Display *dpy, GLXFBConfig config,
254 extern GLXPixmap glXCreatePixmap( Display *dpy, GLXFBConfig config,
259 extern GLXPbuffer glXCreatePbuffer( Display *dpy, GLXFBConfig config,
267 extern GLXContext glXCreateNewContext( Display *dpy, GLXFBConfig config,
286 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPRO
[all...]
H A Dglxext.h51 typedef struct __GLXFBConfigRec *GLXFBConfig; typedef
110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
113 typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
114 typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
116 typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
118 typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
128 GLXFBConfig *glXGetFBConfig
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A DFunctionsGLX.cpp360 GLXFBConfig *configs = mFnPtrs->getFBConfigsPtr(mXDisplay, mXScreen, nElements); in getFBConfigs()
365 GLXFBConfig *configs = mFnPtrs->chooseFBConfigPtr(mXDisplay, mXScreen, attribList, nElements); in chooseFBConfig()
370 GLXFBConfig cfg = reinterpret_cast<GLXFBConfig>(config); in getFBConfigAttrib()
375 GLXFBConfig cfg = reinterpret_cast<GLXFBConfig>(config); in getVisualFromFBConfig()
382 GLXFBConfig cfg = reinterpret_cast<GLXFBConfig>(config); in createWindow()
391 GLXFBConfig cfg = reinterpret_cast<GLXFBConfig>(confi in createPbuffer()
[all...]
/third_party/mesa3d/src/glx/
H A Dglxglvnddispatchfuncs.h11 static inline int AddFBConfigMapping(Display *dpy, GLXFBConfig config, in AddFBConfigMapping()
17 static inline int AddFBConfigsMapping(Display *dpy, const GLXFBConfig *ret, in AddFBConfigsMapping()
59 static inline __GLXvendorInfo *GetDispatchFromFBConfig(Display *dpy, GLXFBConfig config) in GetDispatchFromFBConfig()
H A Dglxcmds.c195 * Determine if a \c GLXFBConfig supplied by the application is valid.
198 * \param config Application supplied \c GLXFBConfig.
200 * \returns If the \c GLXFBConfig is valid, the a pointer to the matching
205 ValidateGLXFBConfig(Display * dpy, GLXFBConfig fbconfig) in ValidateGLXFBConfig()
1595 _GLX_PUBLIC GLXFBConfig *
1615 return (GLXFBConfig *) config_list; in glXChooseFBConfig()
1620 glXCreateNewContext(Display * dpy, GLXFBConfig fbconfig, in glXCreateNewContext()
1661 _GLX_PUBLIC GLXFBConfig *
1698 return (GLXFBConfig *) config_list; in glXGetFBConfigs()
1703 glXGetFBConfigAttrib(Display * dpy, GLXFBConfig fbconfi
[all...]
H A Dcreate_context.c45 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, in glXCreateContextAttribsARB()
H A Dglx_pbuffer.c415 /* Then find the GLXFBConfig of the GLX Visual */ in __glXGetDrawableAttribute()
733 glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int *attrib_list) in glXCreatePbuffer()
951 glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, in glXCreatePixmap()
969 glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, in glXCreateWindow()
H A Dg_glxglvnddispatchfuncs.c155 GLXFBConfig config, in dispatch_CreateContextAttribsARB()
229 GLXFBConfig config, in dispatch_CreateGLXPbufferSGIX()
/third_party/openGLES/api/GL/
H A Dglxext.h32 typedef struct __GLXFBConfigRec *GLXFBConfig; typedef
91 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
92 typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
93 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
94 typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
95 typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
97 typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
99 typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
102 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
109 GLXFBConfig *glXGetFBConfig
[all...]
/third_party/skia/third_party/externals/swiftshader/include/GL/
H A Dglxext.h51 typedef struct __GLXFBConfigRec *GLXFBConfig; typedef
110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
113 typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
114 typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
116 typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
118 typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
128 GLXFBConfig *glXGetFBConfig
[all...]
/third_party/skia/third_party/externals/opengl-registry/api/GL/
H A Dglxext.h51 typedef struct __GLXFBConfigRec *GLXFBConfig; typedef
110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
113 typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
114 typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
116 typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
118 typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
121 typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
128 GLXFBConfig *glXGetFBConfig
[all...]
/third_party/glfw/src/
H A Dglx_context.c41 // Returns the specified attribute of the specified GLXFBConfig
43 static int getGLXFBConfigAttrib(GLXFBConfig fbconfig, int attrib) in getGLXFBConfigAttrib()
50 // Return the GLXFBConfig most closely matching the specified hints
53 GLXFBConfig* result) in chooseGLXFBConfig()
55 GLXFBConfig* nativeConfigs; in chooseGLXFBConfig()
81 const GLXFBConfig n = nativeConfigs[i]; in chooseGLXFBConfig()
138 *result = (GLXFBConfig) closest->handle; in chooseGLXFBConfig()
149 GLXFBConfig fbconfig, in createLegacyContextGLX()
457 GLXFBConfig native = NULL; in _glfwCreateContextGLX()
466 "GLX: Failed to find a suitable GLXFBConfig"); in _glfwCreateContextGLX()
[all...]
H A Dx11_platform.h96 typedef struct __GLXFBConfig* GLXFBConfig; typedef
394 typedef int (*PFNGLXGETFBCONFIGATTRIBPROC)(Display*,GLXFBConfig,int,int*);
402 typedef GLXFBConfig* (*PFNGLXGETFBCONFIGSPROC)(Display*,int,int*);
403 typedef GLXContext (*PFNGLXCREATENEWCONTEXTPROC)(Display*,GLXFBConfig,int,GLXContext,Bool);
406 typedef XVisualInfo* (*PFNGLXGETVISUALFROMFBCONFIGPROC)(Display*,GLXFBConfig);
407 typedef GLXWindow (*PFNGLXCREATEWINDOWPROC)(Display*,GLXFBConfig,Window,const int*);
412 typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display*,GLXFBConfig,GLXContext,Bool,const int*);
/third_party/skia/tools/gpu/gl/glx/
H A DCreatePlatformGLTestContext_glx.cpp61 static GLXContext CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc,
144 GLXFBConfig *fbc = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), in GLXGLTestContext()
177 GLXFBConfig bestFbc = fbc[best_fbc]; in GLXGLTestContext()
305 GLXContext GLXGLTestContext::CreateBestContext(bool isES, Display* display, GLXFBConfig bestFbc, in CreateBestContext()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dglx_api.c1777 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, in glXGetFBConfigAttrib()
1791 PUBLIC GLXFBConfig *
1814 return (GLXFBConfig *) results; in glXGetFBConfigs()
1820 PUBLIC GLXFBConfig *
1836 GLXFBConfig *config = malloc(sizeof(XMesaVisual)); in glXChooseFBConfig()
1842 config[0] = (GLXFBConfig) xmvis; in glXChooseFBConfig()
1843 return (GLXFBConfig *) config; in glXChooseFBConfig()
1853 glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config ) in glXGetVisualFromFBConfig()
1875 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, in glXCreateWindow()
1906 glXCreatePixmap(Display *dpy, GLXFBConfig confi
[all...]
/third_party/skia/tools/sk_app/unix/
H A DGLWindowContext_unix.cpp44 GLXFBConfig* fFBConfig;
63 using CreateContextAttribsFn = GLXContext(Display*, GLXFBConfig, GLXContext, Bool, const int*);
H A DWindowContextFactory_unix.h33 GLXFBConfig* fFBConfig;
H A DWindow_unix.h90 GLXFBConfig* fFBConfig;
/third_party/vk-gl-cts/framework/platform/lnx/X11/
H A DtcuLnxX11GlxPlatform.cpp123 GlxVisual (GlxDisplay& display, GLXFBConfig fbConfig);
137 const GLXFBConfig m_fbConfig;
302 GlxVisual::GlxVisual (GlxDisplay& display, GLXFBConfig fbConfig) in GlxVisual()
626 GLXFBConfig maxConfig = DE_NULL; in chooseVisual()
629 GLXFBConfig* const fbConfigs = glXGetFBConfigs(dpy, DefaultScreen(dpy), &numElems); in chooseVisual()
/third_party/mesa3d/src/glx/apple/
H A Dglx_empty.c161 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfig config, in glXCreateGLXPbufferSGIX()
H A Dapple_glx_drawable.h194 bool apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config,
H A Dapple_glx_pbuffer.c123 apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config, in apple_glx_pbuffer_create()

Completed in 26 milliseconds