/third_party/flutter/glfw/src/ |
D | context.c | 41 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 …]
|
D | wgl_context.c | 473 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 …]
|
D | egl_context.c | 88 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 …]
|
D | glx_context.c | 430 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 …]
|
D | nsgl_context.m | 119 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 …]
|
D | window.c | 125 _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 …]
|
D | glx_context.h | 175 const _GLFWctxconfig* ctxconfig, 178 GLFWbool _glfwChooseVisualGLX(const _GLFWctxconfig* ctxconfig,
|
D | egl_context.h | 205 const _GLFWctxconfig* ctxconfig, 208 GLFWbool _glfwChooseVisualEGL(const _GLFWctxconfig* ctxconfig,
|
D | nsgl_context.h | 56 const _GLFWctxconfig* ctxconfig,
|
D | internal.h | 632 const _GLFWctxconfig* ctxconfig, 998 GLFWbool _glfwRefreshContextAttribs(const _GLFWctxconfig* ctxconfig); 1010 GLFWbool _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig);
|
D | x11_window.c | 1540 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()
|
D | mir_window.c | 351 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument 380 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow() 384 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
|
D | wgl_context.h | 154 const _GLFWctxconfig* ctxconfig,
|
D | win32_window.c | 987 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()
|
D | wl_window.c | 388 const _GLFWctxconfig* ctxconfig, in _glfwPlatformCreateWindow() argument 394 if (ctxconfig->client != GLFW_NO_API) in _glfwPlatformCreateWindow() 398 if (!_glfwCreateContextEGL(window, ctxconfig, fbconfig)) in _glfwPlatformCreateWindow()
|
D | cocoa_window.m | 1026 const _GLFWctxconfig* ctxconfig, 1035 if (ctxconfig->client != GLFW_NO_API) 1037 if (ctxconfig->source == GLFW_NATIVE_CONTEXT_API) 1041 if (!_glfwCreateContextNSGL(window, ctxconfig, fbconfig))
|