/third_party/glfw/src/ |
H A D | osmesa_context.c | 199 const _GLFWfbconfig* fbconfig) in _glfwCreateContextOSMesa() 202 const int accumBits = fbconfig->accumRedBits + in _glfwCreateContextOSMesa() 203 fbconfig->accumGreenBits + in _glfwCreateContextOSMesa() 204 fbconfig->accumBlueBits + in _glfwCreateContextOSMesa() 205 fbconfig->accumAlphaBits; in _glfwCreateContextOSMesa() 222 SET_ATTRIB(OSMESA_DEPTH_BITS, fbconfig->depthBits); in _glfwCreateContextOSMesa() 223 SET_ATTRIB(OSMESA_STENCIL_BITS, fbconfig->stencilBits); in _glfwCreateContextOSMesa() 264 fbconfig->depthBits, in _glfwCreateContextOSMesa() 265 fbconfig->stencilBits, in _glfwCreateContextOSMesa() 197 _glfwCreateContextOSMesa(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateContextOSMesa() argument
|
H A D | egl_context.c | 89 const _GLFWfbconfig* fbconfig, in chooseEGLConfig() 113 if (fbconfig->stereo) in chooseEGLConfig() 154 if (fbconfig->transparent) in chooseEGLConfig() 191 if (!fbconfig->transparent && u->alphaBits > 0) in chooseEGLConfig() 198 u->doublebuffer = fbconfig->doublebuffer; in chooseEGLConfig() 204 closest = _glfwChooseFBConfig(fbconfig, usableConfigs, usableCount); in chooseEGLConfig() 576 const _GLFWfbconfig* fbconfig) in _glfwCreateContextEGL() 593 if (!chooseEGLConfig(ctxconfig, fbconfig, &config)) in _glfwCreateContextEGL() 705 if (fbconfig->sRGB) in _glfwCreateContextEGL() 711 if (!fbconfig in _glfwCreateContextEGL() 88 chooseEGLConfig(const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig, EGLConfig* result) chooseEGLConfig() argument 574 _glfwCreateContextEGL(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateContextEGL() argument 862 _glfwChooseVisualEGL(const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig, Visual** visual, int* depth) _glfwChooseVisualEGL() argument [all...] |
H A D | glx_context.c | 43 static int getGLXFBConfigAttrib(GLXFBConfig fbconfig, int attrib) in getGLXFBConfigAttrib() argument 46 glXGetFBConfigAttrib(_glfw.x11.display, fbconfig, attrib, &value); in getGLXFBConfigAttrib() 149 GLXFBConfig fbconfig, in createLegacyContextGLX() 153 fbconfig, in createLegacyContextGLX() 454 const _GLFWfbconfig* fbconfig) in _glfwCreateContextGLX() 463 if (!chooseGLXFBConfig(fbconfig, &native)) in _glfwCreateContextGLX() 645 const _GLFWfbconfig* fbconfig, in _glfwChooseVisualGLX() 651 if (!chooseGLXFBConfig(fbconfig, &native)) in _glfwChooseVisualGLX() 148 createLegacyContextGLX(_GLFWwindow* window, GLXFBConfig fbconfig, GLXContext share) createLegacyContextGLX() argument 452 _glfwCreateContextGLX(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateContextGLX() argument 643 _glfwChooseVisualGLX(const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig, Visual** visual, int* depth) _glfwChooseVisualGLX() argument
|
H A D | null_window.c | 78 const _GLFWfbconfig* fbconfig) in createNativeWindow() 103 window->null.transparent = fbconfig->transparent; in createNativeWindow() 117 const _GLFWfbconfig* fbconfig) in _glfwCreateWindowNull() 119 if (!createNativeWindow(window, wndconfig, fbconfig)) in _glfwCreateWindowNull() 129 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowNull() 136 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowNull() 76 createNativeWindow(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig) createNativeWindow() argument 114 _glfwCreateWindowNull(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowNull() argument
|
H A D | wgl_context.c | 67 const _GLFWfbconfig* fbconfig) in choosePixelFormatWGL() 172 if (FIND_ATTRIB_VALUE(WGL_DOUBLE_BUFFER_ARB) != fbconfig->doublebuffer) in choosePixelFormatWGL() 247 if (!!(pfd.dwFlags & PFD_DOUBLEBUFFER) != fbconfig->doublebuffer) in choosePixelFormatWGL() 282 closest = _glfwChooseFBConfig(fbconfig, usableConfigs, usableCount); in choosePixelFormatWGL() 543 const _GLFWfbconfig* fbconfig) in _glfwCreateContextWGL() 561 pixelFormat = choosePixelFormatWGL(window, ctxconfig, fbconfig); in _glfwCreateContextWGL() 65 choosePixelFormatWGL(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) choosePixelFormatWGL() argument 541 _glfwCreateContextWGL(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateContextWGL() argument
|
H A D | window.c | 185 _GLFWfbconfig fbconfig; in glfwCreateWindow() local 205 fbconfig = _glfw.hints.framebuffer; in glfwCreateWindow() 223 window->videoMode.redBits = fbconfig.redBits; in glfwCreateWindow() 224 window->videoMode.greenBits = fbconfig.greenBits; in glfwCreateWindow() 225 window->videoMode.blueBits = fbconfig.blueBits; in glfwCreateWindow() 237 window->doublebuffer = fbconfig.doublebuffer; in glfwCreateWindow() 247 if (!_glfw.platform.createWindow(window, &wndconfig, &ctxconfig, &fbconfig)) in glfwCreateWindow()
|
H A D | cocoa_platform.h | 217 GLFWbool _glfwCreateWindowCocoa(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig); 300 const _GLFWfbconfig* fbconfig);
|
H A D | internal.h | 994 const _GLFWfbconfig* fbconfig); 998 const _GLFWfbconfig* fbconfig, 1006 const _GLFWfbconfig* fbconfig);
|
H A D | win32_window.c | 1278 const _GLFWfbconfig* fbconfig) in createNativeWindow() 1484 if (fbconfig->transparent) in createNativeWindow() 1498 const _GLFWfbconfig* fbconfig) in _glfwCreateWindowWin32() 1500 if (!createNativeWindow(window, wndconfig, fbconfig)) in _glfwCreateWindowWin32() 1509 if (!_glfwCreateContextWGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32() 1516 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32() 1523 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32() 1276 createNativeWindow(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig) createNativeWindow() argument 1495 _glfwCreateWindowWin32(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowWin32() argument
|
H A D | win32_platform.h | 545 GLFWbool _glfwCreateWindowWin32(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig); 626 const _GLFWfbconfig* fbconfig);
|
H A D | x11_window.c | 1962 const _GLFWfbconfig* fbconfig) in _glfwCreateWindowX11() 1973 if (!_glfwChooseVisualGLX(wndconfig, ctxconfig, fbconfig, &visual, &depth)) in _glfwCreateWindowX11() 1980 if (!_glfwChooseVisualEGL(wndconfig, ctxconfig, fbconfig, &visual, &depth)) in _glfwCreateWindowX11() 2003 if (!_glfwCreateContextGLX(window, ctxconfig, fbconfig)) in _glfwCreateWindowX11() 2008 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowX11() 2013 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowX11() 1959 _glfwCreateWindowX11(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowX11() argument
|
H A D | null_platform.h | 222 GLFWbool _glfwCreateWindowNull(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
|
H A D | x11_platform.h | 904 GLFWbool _glfwCreateWindowX11(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig); 998 const _GLFWfbconfig* fbconfig); 1002 const _GLFWfbconfig* fbconfig,
|
H A D | wl_window.c | 1023 const _GLFWfbconfig* fbconfig) in createNativeSurface() 1049 window->wl.transparent = fbconfig->transparent; in createNativeSurface() 2131 const _GLFWfbconfig* fbconfig) in _glfwCreateWindowWayland() 2133 if (!createNativeSurface(window, wndconfig, fbconfig)) in _glfwCreateWindowWayland() 2153 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWayland() 2160 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowWayland() 1021 createNativeSurface(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig) createNativeSurface() argument 2128 _glfwCreateWindowWayland(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowWayland() argument
|
H A D | wl_platform.h | 613 GLFWbool _glfwCreateWindowWayland(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
|
/third_party/mesa3d/src/glx/ |
H A D | glxcmds.c | 205 ValidateGLXFBConfig(Display * dpy, GLXFBConfig fbconfig) in ValidateGLXFBConfig() argument 216 if (config == (struct glx_config *) fbconfig) { in ValidateGLXFBConfig() 381 req->fbconfig = generic_id; in CreateContext() 402 req->fbconfig = generic_id; in CreateContext() 1169 /* None of the pbuffer or fbconfig specs say that this comparison needs in fbconfig_compare() 1620 glXCreateNewContext(Display * dpy, GLXFBConfig fbconfig, in glXCreateNewContext() argument 1623 struct glx_config *config = (struct glx_config *) fbconfig; in glXCreateNewContext() 1703 glXGetFBConfigAttrib(Display * dpy, GLXFBConfig fbconfig, in glXGetFBConfigAttrib() argument 1706 struct glx_config *config = ValidateGLXFBConfig(dpy, fbconfig); in glXGetFBConfigAttrib() 1716 glXGetVisualFromFBConfig(Display * dpy, GLXFBConfig fbconfig) in glXGetVisualFromFBConfig() argument 1976 glXCreateGLXPixmapWithConfigSGIX(Display * dpy, GLXFBConfigSGIX fbconfig, Pixmap pixmap) glXCreateGLXPixmapWithConfigSGIX() argument 2029 glXCreateContextWithConfigSGIX(Display * dpy, GLXFBConfigSGIX fbconfig, int renderType, GLXContext shareList, Bool allowDirect) glXCreateContextWithConfigSGIX() argument [all...] |
H A D | dri_common.c | 309 unsigned int fbconfig = 0; in driInferDrawableConfig() local 320 if (__glXGetDrawableAttribute(psc->dpy, draw, GLX_FBCONFIG_ID, &fbconfig)) { in driInferDrawableConfig() 321 return glx_config_find_fbconfig(psc->configs, fbconfig); in driInferDrawableConfig() 367 /* if this is a no-config context, infer the fbconfig from the drawable */ in driFetchDrawable()
|
H A D | glx_pbuffer.c | 513 req->fbconfig = config->fbconfigID; in CreateDrawable() 613 req->fbconfig = config->fbconfigID; in CreatePbuffer()
|
H A D | glxclient.h | 438 struct glx_screen *psc, struct glx_config *fbconfig);
|
/third_party/mesa3d/src/glx/tests/ |
H A D | create_context_unittest.cpp | 78 uint32_t fbconfig, in xcb_glx_create_context_attribs_arb_checked() 89 req.fbconfig = fbconfig; in xcb_glx_create_context_attribs_arb_checked() 237 EXPECT_EQ(0xbeefcafe, req.fbconfig); in TEST_F() 76 xcb_glx_create_context_attribs_arb_checked(xcb_connection_t *c, xcb_glx_context_t context, uint32_t fbconfig, uint32_t screen, uint32_t share_list, uint8_t is_direct, uint32_t num_attribs, const uint32_t *attribs) xcb_glx_create_context_attribs_arb_checked() argument
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | glx_api.c | 1469 get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig ) in get_config() 1474 if (fbconfig) in get_config() 1485 if (fbconfig) in get_config() 1583 if (!fbconfig) in get_config() 1588 if (!fbconfig) in get_config() 1593 if (!fbconfig) in get_config() 1598 if (!fbconfig) in get_config() 1603 if (!fbconfig) in get_config() 1608 if (!fbconfig) in get_config() 1614 if (!fbconfig) in get_config() [all...] |