Home
last modified time | relevance | path

Searched refs:surfaceConfig (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp55 EGLConfig surfaceConfig, in create_gles_egl_context() argument
63 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGLES); in create_gles_egl_context()
66 EGLConfig surfaceConfig, in create_gl_egl_context() argument
71 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGL); in create_gl_egl_context()
127 EGLConfig surfaceConfig; in EGLGLTestContext() local
128 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext()
142 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext()
144 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
147 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
150 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext()
[all …]
/third_party/skia/tools/sk_app/android/
DGLWindowContext_android.cpp88 EGLConfig surfaceConfig; in onInitializeContext() local
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext()
/third_party/flutter/skia/tools/sk_app/android/
DGLWindowContext_android.cpp88 EGLConfig surfaceConfig; in onInitializeContext() local
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext()
104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext()
116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext()
117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext()
/third_party/flutter/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp80 EGLConfig surfaceConfig, in create_gles_egl_context() argument
88 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGLES); in create_gles_egl_context()
91 EGLConfig surfaceConfig, in create_gl_egl_context() argument
96 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGL); in create_gl_egl_context()
152 EGLConfig surfaceConfig; in EGLGLTestContext() local
153 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext()
167 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext()
169 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
172 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext()
175 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext()
[all …]
/third_party/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp100 EGLConfig surfaceConfig; in onInitializeContext() local
101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext()
107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
/third_party/flutter/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp100 EGLConfig surfaceConfig; in onInitializeContext() local
101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext()
107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext()
112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
/third_party/flutter/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp281 EGLConfig surfaceConfig; in ANGLEGLContext() local
282 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext()
294 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs); in ANGLEGLContext()
307 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp285 EGLConfig surfaceConfig; in ANGLEGLContext() local
286 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext()
306 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs.data()); in ANGLEGLContext()
319 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLContextCompatibilityTest.cpp208 void testClearSurface(EGLSurface surface, EGLConfig surfaceConfig, EGLContext context) const in testClearSurface() argument
221 eglGetConfigAttrib(mDisplay, surfaceConfig, EGL_COLOR_COMPONENT_TYPE_EXT, in testClearSurface()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationEGL.cpp1133 const Config *surfaceConfig = surface->getConfig(); in ValidateCompatibleSurface() local
1139 if (!(surfaceConfig->renderableType & EGL_OPENGL_ES_BIT)) in ValidateCompatibleSurface()
1146 if (!(surfaceConfig->renderableType & EGL_OPENGL_ES2_BIT)) in ValidateCompatibleSurface()
1153 if (!(surfaceConfig->renderableType & (EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT))) in ValidateCompatibleSurface()
1178 bool colorBufferCompat = surfaceConfig->colorBufferType == contextConfig->colorBufferType; in ValidateCompatibleSurface()
1185 bool colorCompat = surfaceConfig->redSize == contextConfig->redSize && in ValidateCompatibleSurface()
1186 surfaceConfig->greenSize == contextConfig->greenSize && in ValidateCompatibleSurface()
1187 surfaceConfig->blueSize == contextConfig->blueSize && in ValidateCompatibleSurface()
1188 surfaceConfig->alphaSize == contextConfig->alphaSize && in ValidateCompatibleSurface()
1189 surfaceConfig->luminanceSize == contextConfig->luminanceSize; in ValidateCompatibleSurface()
[all …]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_stubs.cpp649 const Config *surfaceConfig = drawSurface->getConfig(); in SwapInterval() local
650 EGLint clampedInterval = std::min(std::max(interval, surfaceConfig->minSwapInterval), in SwapInterval()
651 surfaceConfig->maxSwapInterval); in SwapInterval()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLContextCompatibilityTest.cpp319 void testClearSurface(EGLSurface surface, EGLConfig surfaceConfig, EGLContext context) const in testClearSurface() argument
332 eglGetConfigAttrib(mDisplay, surfaceConfig, EGL_COLOR_COMPONENT_TYPE_EXT, in testClearSurface()
/third_party/flutter/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_egl.cpp694 const egl::Config *surfaceConfig = draw_surface->getConfig(); in EGL_SwapInterval() local
695 EGLint clampedInterval = std::min(std::max(interval, surfaceConfig->minSwapInterval), in EGL_SwapInterval()
696 surfaceConfig->maxSwapInterval); in EGL_SwapInterval()