Home
last modified time | relevance | path

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

/third_party/flutter/glfw/src/
Dcontext.c41 GLFWbool _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig) in _glfwIsValidContextConfig() argument
43 if (ctxconfig->source != GLFW_NATIVE_CONTEXT_API && in _glfwIsValidContextConfig()
44 ctxconfig->source != GLFW_EGL_CONTEXT_API) in _glfwIsValidContextConfig()
48 ctxconfig->source); in _glfwIsValidContextConfig()
52 if (ctxconfig->client != GLFW_NO_API && in _glfwIsValidContextConfig()
53 ctxconfig->client != GLFW_OPENGL_API && in _glfwIsValidContextConfig()
54 ctxconfig->client != GLFW_OPENGL_ES_API) in _glfwIsValidContextConfig()
58 ctxconfig->client); in _glfwIsValidContextConfig()
62 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwIsValidContextConfig()
64 if ((ctxconfig->major < 1 || ctxconfig->minor < 0) || in _glfwIsValidContextConfig()
[all …]
Dwgl_context.c473 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextWGL() argument
484 if (ctxconfig->share) in _glfwCreateContextWGL()
485 share = ctxconfig->share->context.wgl.handle; in _glfwCreateContextWGL()
514 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextWGL()
516 if (ctxconfig->forward) in _glfwCreateContextWGL()
526 if (ctxconfig->profile) in _glfwCreateContextWGL()
552 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextWGL()
554 if (ctxconfig->forward) in _glfwCreateContextWGL()
557 if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE) in _glfwCreateContextWGL()
559 else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE) in _glfwCreateContextWGL()
[all …]
Degl_context.c88 static GLFWbool chooseEGLConfig(const _GLFWctxconfig* ctxconfig, in chooseEGLConfig() argument
129 if (ctxconfig->client == GLFW_OPENGL_ES_API) in chooseEGLConfig()
131 if (ctxconfig->major == 1) in chooseEGLConfig()
142 else if (ctxconfig->client == GLFW_OPENGL_API) in chooseEGLConfig()
433 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextEGL() argument
446 if (ctxconfig->share) in _glfwCreateContextEGL()
447 share = ctxconfig->share->context.egl.handle; in _glfwCreateContextEGL()
449 if (!chooseEGLConfig(ctxconfig, fbconfig, &config)) in _glfwCreateContextEGL()
456 if (ctxconfig->client == GLFW_OPENGL_ES_API) in _glfwCreateContextEGL()
481 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextEGL()
[all …]
Dglx_context.c430 const _GLFWctxconfig* ctxconfig, in _glfwCreateContextGLX() argument
437 if (ctxconfig->share) in _glfwCreateContextGLX()
438 share = ctxconfig->share->context.glx.handle; in _glfwCreateContextGLX()
447 if (ctxconfig->client == GLFW_OPENGL_ES_API) in _glfwCreateContextGLX()
459 if (ctxconfig->forward) in _glfwCreateContextGLX()
469 if (ctxconfig->profile) in _glfwCreateContextGLX()
486 if (ctxconfig->client == GLFW_OPENGL_API) in _glfwCreateContextGLX()
488 if (ctxconfig->forward) in _glfwCreateContextGLX()
491 if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE) in _glfwCreateContextGLX()
493 else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE) in _glfwCreateContextGLX()
[all …]
Dnsgl_context.m119 const _GLFWctxconfig* ctxconfig,
124 if (ctxconfig->client == GLFW_OPENGL_ES_API)
131 if (ctxconfig->major == 3 && ctxconfig->minor < 2)
139 if (ctxconfig->major > 2)
141 if (!ctxconfig->forward)
148 if (ctxconfig->profile != GLFW_OPENGL_CORE_PROFILE)
172 if (ctxconfig->major >= 4)
178 if (ctxconfig->major >= 3)
183 if (ctxconfig->major <= 2)
266 if (ctxconfig->share)
[all …]
Dwindow.c125 _GLFWctxconfig ctxconfig; in glfwCreateWindow() local
144 ctxconfig = _glfw.hints.context; in glfwCreateWindow()
150 ctxconfig.share = (_GLFWwindow*) share; in glfwCreateWindow()
152 if (ctxconfig.share) in glfwCreateWindow()
154 if (ctxconfig.client == GLFW_NO_API || in glfwCreateWindow()
155 ctxconfig.share->context.client == GLFW_NO_API) in glfwCreateWindow()
162 if (!_glfwIsValidContextConfig(&ctxconfig)) in glfwCreateWindow()
192 if (ctxconfig.client != GLFW_NO_API) in glfwCreateWindow()
196 if (!_glfwPlatformCreateWindow(window, &wndconfig, &ctxconfig, &fbconfig)) in glfwCreateWindow()
203 if (ctxconfig.client != GLFW_NO_API) in glfwCreateWindow()
[all …]
Dglx_context.h175 const _GLFWctxconfig* ctxconfig,
178 GLFWbool _glfwChooseVisualGLX(const _GLFWctxconfig* ctxconfig,
Degl_context.h205 const _GLFWctxconfig* ctxconfig,
208 GLFWbool _glfwChooseVisualEGL(const _GLFWctxconfig* ctxconfig,
Dnsgl_context.h56 const _GLFWctxconfig* ctxconfig,
Dinternal.h632 const _GLFWctxconfig* ctxconfig,
998 GLFWbool _glfwRefreshContextAttribs(const _GLFWctxconfig* ctxconfig);
1010 GLFWbool _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig);
Dx11_window.c1540 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument
1546 if (ctxconfig->client == GLFW_NO_API) in _glfwPlatformCreateWindow()
1553 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwPlatformCreateWindow()
1557 if (!_glfwChooseVisualGLX(ctxconfig, fbconfig, &visual, &depth)) in _glfwPlatformCreateWindow()
1564 if (!_glfwChooseVisualEGL(ctxconfig, fbconfig, &visual, &depth)) in _glfwPlatformCreateWindow()
1572 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow()
1574 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwPlatformCreateWindow()
1576 if (!_glfwCreateContextGLX(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
1581 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
Dmir_window.c351 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument
380 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow()
384 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
Dwgl_context.h154 const _GLFWctxconfig* ctxconfig,
Dwin32_window.c987 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument
993 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow()
995 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) in _glfwPlatformCreateWindow()
999 if (!_glfwCreateContextWGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
1006 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
Dwl_window.c388 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument
394 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow()
398 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
Dcocoa_window.m1026 const _GLFWctxconfig* ctxconfig,
1035 if (ctxconfig->client != GLFW_NO_API)
1037 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API)
1041 if (!_glfwCreateContextNSGL(window, ctxconfig, fbconfig))