Home
last modified time | relevance | path

Searched refs:ctxconfig (Results 1 - 16 of 16) sorted by relevance

/third_party/glfw/src/
H A Dcontext.c47 GLFWbool _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig) in _glfwIsValidContextConfig() argument
49 if (ctxconfig->source != GLFW_NATIVE_CONTEXT_API && in _glfwIsValidContextConfig()
50 ctxconfig->source != GLFW_EGL_CONTEXT_API && in _glfwIsValidContextConfig()
51 ctxconfig->source != GLFW_OSMESA_CONTEXT_API) in _glfwIsValidContextConfig()
55 ctxconfig->source); in _glfwIsValidContextConfig()
59 if (ctxconfig->client != GLFW_NO_API && in _glfwIsValidContextConfig()
60 ctxconfig->client != GLFW_OPENGL_API && in _glfwIsValidContextConfig()
61 ctxconfig->client != GLFW_OPENGL_ES_API) in _glfwIsValidContextConfig()
65 ctxconfig->client); in _glfwIsValidContextConfig()
69 if (ctxconfig in _glfwIsValidContextConfig()
345 _glfwRefreshContextAttribs(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig) _glfwRefreshContextAttribs() argument
[all...]
H A Dwgl_context.c66 const _GLFWctxconfig* ctxconfig, in choosePixelFormatWGL()
108 if (ctxconfig->client == GLFW_OPENGL_API) in choosePixelFormatWGL()
196 if (ctxconfig->client == GLFW_OPENGL_API) in choosePixelFormatWGL()
542 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextWGL()
550 if (ctxconfig->share) in _glfwCreateContextWGL()
551 share = ctxconfig->share->context.wgl.handle; in _glfwCreateContextWGL()
561 pixelFormat = choosePixelFormatWGL(window, ctxconfig, fbconfig); in _glfwCreateContextWGL()
580 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextWGL()
582 if (ctxconfig->forward) in _glfwCreateContextWGL()
592 if (ctxconfig 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
[all...]
H A Dglx_context.c453 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextGLX()
460 if (ctxconfig->share) in _glfwCreateContextGLX()
461 share = ctxconfig->share->context.glx.handle; in _glfwCreateContextGLX()
470 if (ctxconfig->client == GLFW_OPENGL_ES_API) in _glfwCreateContextGLX()
482 if (ctxconfig->forward) in _glfwCreateContextGLX()
492 if (ctxconfig->profile) in _glfwCreateContextGLX()
509 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextGLX()
511 if (ctxconfig->forward) in _glfwCreateContextGLX()
514 if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE) in _glfwCreateContextGLX()
516 else if (ctxconfig in _glfwCreateContextGLX()
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
[all...]
H A Degl_context.c88 static GLFWbool chooseEGLConfig(const _GLFWctxconfig* ctxconfig, in chooseEGLConfig() argument
98 if (ctxconfig->client == GLFW_OPENGL_ES_API) in chooseEGLConfig()
100 if (ctxconfig->major == 1) in chooseEGLConfig()
211 if (ctxconfig->client == GLFW_OPENGL_ES_API) in chooseEGLConfig()
213 if (ctxconfig->major == 1) in chooseEGLConfig()
575 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextEGL()
590 if (ctxconfig->share) in _glfwCreateContextEGL()
591 share = ctxconfig->share->context.egl.handle; in _glfwCreateContextEGL()
593 if (!chooseEGLConfig(ctxconfig, fbconfig, &config)) in _glfwCreateContextEGL()
596 if (ctxconfig in _glfwCreateContextEGL()
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 Dosmesa_context.c198 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextOSMesa()
207 if (ctxconfig->client == GLFW_OPENGL_ES_API) in _glfwCreateContextOSMesa()
214 if (ctxconfig->share) in _glfwCreateContextOSMesa()
215 share = ctxconfig->share->context.osmesa.handle; in _glfwCreateContextOSMesa()
226 if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE) in _glfwCreateContextOSMesa()
230 else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE) in _glfwCreateContextOSMesa()
235 if (ctxconfig->major != 1 || ctxconfig->minor != 0) in _glfwCreateContextOSMesa()
237 SET_ATTRIB(OSMESA_CONTEXT_MAJOR_VERSION, ctxconfig->major); in _glfwCreateContextOSMesa()
238 SET_ATTRIB(OSMESA_CONTEXT_MINOR_VERSION, ctxconfig in _glfwCreateContextOSMesa()
197 _glfwCreateContextOSMesa(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateContextOSMesa() argument
[all...]
H A Dnull_window.c116 const _GLFWctxconfig* ctxconfig, in _glfwCreateWindowNull()
122 if (ctxconfig->client != GLFW_NO_API) in _glfwCreateWindowNull()
124 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API || in _glfwCreateWindowNull()
125 ctxconfig->source == GLFW_OSMESA_CONTEXT_API) in _glfwCreateWindowNull()
129 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowNull()
132 else if (ctxconfig->source == GLFW_EGL_CONTEXT_API) in _glfwCreateWindowNull()
136 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowNull()
140 if (!_glfwRefreshContextAttribs(window, ctxconfig)) in _glfwCreateWindowNull()
114 _glfwCreateWindowNull(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowNull() argument
H A Dx11_window.c1961 const _GLFWctxconfig* ctxconfig, in _glfwCreateWindowX11()
1967 if (ctxconfig->client != GLFW_NO_API) in _glfwCreateWindowX11()
1969 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwCreateWindowX11()
1973 if (!_glfwChooseVisualGLX(wndconfig, ctxconfig, fbconfig, &visual, &depth)) in _glfwCreateWindowX11()
1976 else if (ctxconfig->source == GLFW_EGL_CONTEXT_API) in _glfwCreateWindowX11()
1980 if (!_glfwChooseVisualEGL(wndconfig, ctxconfig, fbconfig, &visual, &depth)) in _glfwCreateWindowX11()
1983 else if (ctxconfig->source == GLFW_OSMESA_CONTEXT_API) in _glfwCreateWindowX11()
1999 if (ctxconfig->client != GLFW_NO_API) in _glfwCreateWindowX11()
2001 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwCreateWindowX11()
2003 if (!_glfwCreateContextGLX(window, ctxconfig, fbconfi in _glfwCreateWindowX11()
1959 _glfwCreateWindowX11(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowX11() argument
[all...]
H A Dinternal.h969 const _GLFWctxconfig* ctxconfig);
970 GLFWbool _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig);
993 const _GLFWctxconfig* ctxconfig,
997 const _GLFWctxconfig* ctxconfig,
1005 const _GLFWctxconfig* ctxconfig,
H A Dcocoa_platform.h217 GLFWbool _glfwCreateWindowCocoa(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
299 const _GLFWctxconfig* ctxconfig,
H A Dwindow.c186 _GLFWctxconfig ctxconfig; in glfwCreateWindow() local
206 ctxconfig = _glfw.hints.context; in glfwCreateWindow()
212 ctxconfig.share = (_GLFWwindow*) share; in glfwCreateWindow()
214 if (!_glfwIsValidContextConfig(&ctxconfig)) in glfwCreateWindow()
247 if (!_glfw.platform.createWindow(window, &wndconfig, &ctxconfig, &fbconfig)) in glfwCreateWindow()
H A Dwin32_window.c1497 const _GLFWctxconfig* ctxconfig, in _glfwCreateWindowWin32()
1503 if (ctxconfig->client != GLFW_NO_API) in _glfwCreateWindowWin32()
1505 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwCreateWindowWin32()
1509 if (!_glfwCreateContextWGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32()
1512 else if (ctxconfig->source == GLFW_EGL_CONTEXT_API) in _glfwCreateWindowWin32()
1516 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32()
1519 else if (ctxconfig->source == GLFW_OSMESA_CONTEXT_API) in _glfwCreateWindowWin32()
1523 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowWin32()
1527 if (!_glfwRefreshContextAttribs(window, ctxconfig)) in _glfwCreateWindowWin32()
1495 _glfwCreateWindowWin32(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowWin32() argument
H A Dwin32_platform.h545 GLFWbool _glfwCreateWindowWin32(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
625 const _GLFWctxconfig* ctxconfig,
H A Dwl_window.c2130 const _GLFWctxconfig* ctxconfig, in _glfwCreateWindowWayland()
2136 if (ctxconfig->client != GLFW_NO_API) in _glfwCreateWindowWayland()
2138 if (ctxconfig->source == GLFW_EGL_CONTEXT_API || in _glfwCreateWindowWayland()
2139 ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwCreateWindowWayland()
2153 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwCreateWindowWayland()
2156 else if (ctxconfig->source == GLFW_OSMESA_CONTEXT_API) in _glfwCreateWindowWayland()
2160 if (!_glfwCreateContextOSMesa(window, ctxconfig, fbconfig)) in _glfwCreateWindowWayland()
2164 if (!_glfwRefreshContextAttribs(window, ctxconfig)) in _glfwCreateWindowWayland()
2128 _glfwCreateWindowWayland(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig) _glfwCreateWindowWayland() argument
H A Dnull_platform.h222 GLFWbool _glfwCreateWindowNull(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
H A Dx11_platform.h904 GLFWbool _glfwCreateWindowX11(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);
997 const _GLFWctxconfig* ctxconfig,
1001 const _GLFWctxconfig* ctxconfig,
H A Dwl_platform.h613 GLFWbool _glfwCreateWindowWayland(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWctxconfig* ctxconfig, const _GLFWfbconfig* fbconfig);

Completed in 28 milliseconds