Home
last modified time | relevance | path

Searched refs:nativeCount (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/glfw/src/
Degl_context.c95 int i, nativeCount, usableCount; in chooseEGLConfig() local
97 eglGetConfigs(_glfw.egl.display, NULL, 0, &nativeCount); in chooseEGLConfig()
98 if (!nativeCount) in chooseEGLConfig()
104 nativeConfigs = calloc(nativeCount, sizeof(EGLConfig)); in chooseEGLConfig()
105 eglGetConfigs(_glfw.egl.display, nativeConfigs, nativeCount, &nativeCount); in chooseEGLConfig()
107 usableConfigs = calloc(nativeCount, sizeof(_GLFWfbconfig)); in chooseEGLConfig()
110 for (i = 0; i < nativeCount; i++) in chooseEGLConfig()
Dwgl_context.c63 int i, pixelFormat, nativeCount, usableCount; in choosePixelFormat() local
67 nativeCount = getPixelFormatAttrib(window, in choosePixelFormat()
73 nativeCount = DescribePixelFormat(window->context.wgl.dc, in choosePixelFormat()
79 usableConfigs = calloc(nativeCount, sizeof(_GLFWfbconfig)); in choosePixelFormat()
82 for (i = 0; i < nativeCount; i++) in choosePixelFormat()
Dglx_context.c55 int i, nativeCount, usableCount; in chooseGLXFBConfig() local
66 glXGetFBConfigs(_glfw.x11.display, _glfw.x11.screen, &nativeCount); in chooseGLXFBConfig()
67 if (!nativeCount) in chooseGLXFBConfig()
73 usableConfigs = calloc(nativeCount, sizeof(_GLFWfbconfig)); in chooseGLXFBConfig()
76 for (i = 0; i < nativeCount; i++) in chooseGLXFBConfig()