Home
last modified time | relevance | path

Searched refs:numConfigs (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/egl/main/
Deglconfigdebug.c163 const EGLint numConfigs, const EGLBoolean printChosen) in eglPrintConfigDebug() argument
169 if (!numConfigs || !configs) { in eglPrintConfigDebug()
184 numConfigsToPrint = numConfigs; in eglPrintConfigDebug()
195 for (EGLint j = 0; j < numConfigs; j++) in eglPrintConfigDebug()
Deglconfigdebug.h41 EGLint numConfigs, EGLBoolean printChosen);
/third_party/skia/tools/sk_app/android/
DGLWindowContext_android.cpp72 EGLint numConfigs = 0; in onInitializeContext() local
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
90 SkASSERT(numConfigs > 0); in onInitializeContext()
/third_party/vk-gl-cts/modules/egl/
DteglWideColorTests.cpp384 EGLint numConfigs = 0; in check1010102Support() local
388 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in check1010102Support()
390 if (numConfigs <= 0) in check1010102Support()
396 log << tcu::TestLog::Message << numConfigs << " configs returned" << tcu::TestLog::EndMessage; in check1010102Support()
398 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs)); in check1010102Support()
399 if (numConfigs > 1) in check1010102Support()
422 EGLint numConfigs = 0; in checkFP16Support() local
438 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in checkFP16Support()
440 if (numConfigs <= 0) in checkFP16Support()
446 log << tcu::TestLog::Message << numConfigs << " configs returned" << tcu::TestLog::EndMessage; in checkFP16Support()
[all …]
DteglChooseConfigTests.cpp185 EGLint numConfigs = 0; in executeTest() local
186 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], DE_NULL, 0, &numConfigs)); in executeTest()
187 resultConfigs.resize(numConfigs); in executeTest()
189 if (numConfigs > 0) in executeTest()
190 …seConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConfigs.size(), &numConfigs)); in executeTest()
DteglNegativeApiTests.cpp255 EGLint numConfigs; in init()
259 …eConfig(EGL_NO_DISPLAY, s_emptyAttribList, &configs[0], DE_LENGTH_OF_ARRAY(configs), &numConfigs)); in init()
262 …eConfig((EGLDisplay)-1, s_emptyAttribList, &configs[0], DE_LENGTH_OF_ARRAY(configs), &numConfigs)); in init()
271 …ay, s_invalidChooseConfigAttribLists[ndx], &configs[0], DE_LENGTH_OF_ARRAY(configs), &numConfigs)); in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp583 EGLint numConfigs; in generateConfigs() local
584 EGLBoolean success = mEGL->getConfigs(nullptr, 0, &numConfigs); in generateConfigs()
585 ASSERT(success == EGL_TRUE && numConfigs > 0); in generateConfigs()
587 configs.resize(numConfigs); in generateConfigs()
589 success = mEGL->getConfigs(configs.data(), numConfigs, &numConfigs2); in generateConfigs()
590 ASSERT(success == EGL_TRUE && numConfigs2 == numConfigs); in generateConfigs()
595 EGLint numConfigs; in generateConfigs() local
596 EGLBoolean success = mEGL->chooseConfig(mConfigAttribList.data(), nullptr, 0, &numConfigs); in generateConfigs()
597 ASSERT(success == EGL_TRUE && numConfigs > 0); in generateConfigs()
599 configs.resize(numConfigs); in generateConfigs()
[all …]
/third_party/vk-gl-cts/framework/egl/
DegluUtil.cpp124 EGLint numConfigs = 0; in chooseConfigs() local
126 EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, DE_NULL, 0, &numConfigs)); in chooseConfigs()
129 vector<EGLConfig> configs(numConfigs); in chooseConfigs()
131 if (numConfigs > 0) in chooseConfigs()
132 …EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, &configs.front(), numConfigs, &numConfigs)); in chooseConfigs()
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp116 EGLint numConfigs = 0; in EGLGLTestContext() local
128 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext()
133 if (0 == numConfigs) { in EGLGLTestContext()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp99 EGLint numConfigs; in SetUp() local
112 ASSERT_TRUE(eglChooseConfig(mDisplay, configAttrs, &mConfig, 1, &numConfigs)); in SetUp()
/third_party/cef/libcef/browser/gpu/
Dexternal_texture_manager.cc178 EGLint numConfigs = 0; in CreateTexture() local
203 if (eglChooseConfig(egl_display, configAttrs, &config, 1, &numConfigs) != in CreateTexture()
228 if (eglChooseConfig(egl_display, configAttrs, &config, 1, &numConfigs) == in CreateTexture()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp58 EGLint numConfigs; in initializeEGL() local
72 ASSERT_EGL_TRUE(eglChooseConfig(mDisplay, configAttribs, &mConfig, 1, &numConfigs)); in initializeEGL()
73 ASSERT_EQ(1, numConfigs); in initializeEGL()
/third_party/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp79 EGLint numConfigs; in onInitializeContext() local
101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext()
/third_party/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp267 EGLint numConfigs; in CommandBufferGLTestContext() local
269 &numConfigs) || numConfigs != 1) { in CommandBufferGLTestContext()
/third_party/skia/third_party/externals/angle2/util/
DEGLWindow.cpp773 EGLint numConfigs = 0; in FindEGLConfig() local
774 eglGetConfigs(dpy, nullptr, 0, &numConfigs); in FindEGLConfig()
775 std::vector<EGLConfig> allConfigs(numConfigs); in FindEGLConfig()
776 eglGetConfigs(dpy, allConfigs.data(), static_cast<EGLint>(allConfigs.size()), &numConfigs); in FindEGLConfig()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglcontext_egl.c635 EGLint numConfigs; in gst_gl_context_egl_choose_config() local
727 &egl->egl_config, 1, &numConfigs); in gst_gl_context_egl_choose_config()
729 if (ret && numConfigs == 0) { in gst_gl_context_egl_choose_config()
743 if (ret && numConfigs == 1) { in gst_gl_context_egl_choose_config()
745 (guintptr) egl->egl_config, (unsigned int) numConfigs); in gst_gl_context_egl_choose_config()
751 } else if (numConfigs <= 1) { in gst_gl_context_egl_choose_config()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp274 EGLint numConfigs; in ANGLEGLContext() local
286 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_stubs.cpp35 EGLint *numConfigs) in ClipConfigs() argument
46 *numConfigs = resultSize; in ClipConfigs()