Home
last modified time | relevance | path

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

12

/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp212 int HWCDisplay::get_display_configs(uint32_t* configs, size_t* numConfigs) in get_display_configs() argument
214 if (!configs || !numConfigs) in get_display_configs()
217 if (*numConfigs == 0) in get_display_configs()
223 if (num > *numConfigs) in get_display_configs()
224 num = *numConfigs; in get_display_configs()
229 *numConfigs = num; in get_display_configs()
Ddisplay.h106 int get_display_configs(uint32_t* configs, size_t* numConfigs);
/hardware/google/gfxstream/host/gl/
DEmulationGl.cpp87 EGLint numConfigs = 0; in validateGles2Context() local
89 if (!s_egl.eglChooseConfig(display, configAttribs, &config, 1, &numConfigs)) { in validateGles2Context()
93 if (numConfigs != 1) { in validateGles2Context()
94 ERR("Failed to find exactly 1 GLES 2.x config: found %d.", numConfigs); in validateGles2Context()
169 EGLint numConfigs = 0; in getEmulationEglConfig() local
170 s_egl.eglGetConfigs(display, nullptr, 0, &numConfigs); in getEmulationEglConfig()
172 std::vector<EGLConfig> configs(numConfigs); in getEmulationEglConfig()
175 s_egl.eglChooseConfig(display, configAttribs, configs.data(), numConfigs, &numMatchedConfigs); in getEmulationEglConfig()
DGLESVersionDetector.cpp71 int numConfigs; in sTryContextCreation() local
73 dpy, gles3ConfigAttribs, &config, 1, &numConfigs) || in sTryContextCreation()
74 numConfigs == 0) { in sTryContextCreation()
DEmulatedEglConfig.cpp266 void EmulatedEglConfigList::getPackInfo(EGLint* numConfigs, in getPackInfo() argument
268 if (numConfigs) { in getPackInfo()
269 *numConfigs = mConfigs.size(); in getPackInfo()
/hardware/google/gfxstream/common/detector/
DEgl.cpp98 EGLint numConfigs = 0; in Init() local
99 if (eglChooseConfig(display, attribs, &config, 1, &numConfigs) != EGL_TRUE) { in Init()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglOsApi_egl.cpp436 int numConfigs; in EglOsEglDisplay() local
438 mDisplay, gles3ConfigAttribs, &config, 1, &numConfigs) && in EglOsEglDisplay()
439 numConfigs != 0) { in EglOsEglDisplay()
529 EGLint numConfigs = 0; in queryConfigs() local
530 mDispatcher.eglChooseConfig(mDisplay, framebuffer_config_attributes, nullptr, 0, &numConfigs); in queryConfigs()
532 std::unique_ptr<EGLConfig[]> configs(new EGLConfig[numConfigs]); in queryConfigs()
533 mDispatcher.eglChooseConfig(mDisplay, framebuffer_config_attributes, configs.get(), numConfigs, in queryConfigs()
534 &numConfigs); in queryConfigs()
538 fprintf(stderr, "%s: num configs: %d\n", __func__, numConfigs); in queryConfigs()
541 for (int i = 0; i < numConfigs; i++) { in queryConfigs()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
Ddisplay_config.cpp184 int numConfigs = -1; in getConfigCount() local
192 numConfigs = outParcel.readInt32(); in getConfigCount()
193 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
198 return numConfigs; in getConfigCount()
/hardware/qcom/display/msm8996/libqdutils/
Ddisplay_config.cpp184 int numConfigs = -1; in getConfigCount() local
192 numConfigs = outParcel.readInt32(); in getConfigCount()
193 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
198 return numConfigs; in getConfigCount()
/hardware/qcom/display/msm8909/libqdutils/
Ddisplay_config.cpp184 int numConfigs = -1; in getConfigCount() local
192 numConfigs = outParcel.readInt32(); in getConfigCount()
193 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
198 return numConfigs; in getConfigCount()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndGlTests.cpp139 int numConfigs = 0; in TEST_P() local
140 ASSERT_THAT(mGl->eglChooseConfig(mDisplay, configAttributes, nullptr, 1, &numConfigs), in TEST_P()
142 ASSERT_THAT(numConfigs, Gt(0)); in TEST_P()
145 ASSERT_THAT(mGl->eglChooseConfig(mDisplay, configAttributes, &config, 1, &numConfigs), in TEST_P()
251 int numConfigs = 0; in TEST_P() local
252 ASSERT_THAT(mGl->eglChooseConfig(display, configAttributes, nullptr, 1, &numConfigs), IsTrue()); in TEST_P()
253 ASSERT_THAT(numConfigs, Gt(0)); in TEST_P()
256 ASSERT_THAT(mGl->eglChooseConfig(display, configAttributes, &config, 1, &numConfigs), IsTrue()); in TEST_P()
DGfxstreamEnd2EndTests.cpp315 int numConfigs = 0; in SetUpEglContextAndSurface() local
316 ASSERT_THAT(mGl->eglChooseConfig(display, configAttributes, nullptr, 1, &numConfigs), IsTrue()); in SetUpEglContextAndSurface()
317 ASSERT_THAT(numConfigs, Gt(0)); in SetUpEglContextAndSurface()
320 ASSERT_THAT(mGl->eglChooseConfig(display, configAttributes, &config, 1, &numConfigs), IsTrue()); in SetUpEglContextAndSurface()
/hardware/qcom/display/msm8909w_3100/libqdutils/
Ddisplay_config.cpp184 int numConfigs = -1; in getConfigCount() local
192 numConfigs = outParcel.readInt32(); in getConfigCount()
193 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
198 return numConfigs; in getConfigCount()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DGlWrapper.cpp257 EGLint numConfigs = -1; in initialize() local
258 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
259 if (numConfigs != 1) { in initialize()
/hardware/qcom/sm7250/display/libqdutils/
Ddisplay_config.cpp154 int numConfigs = -1; in getConfigCount() local
162 numConfigs = outParcel.readInt32(); in getConfigCount()
163 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
168 return numConfigs; in getConfigCount()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp784 uint32_t* configs, size_t* numConfigs) { in hwc_getDisplayConfigs() argument
796 if (*numConfigs <= 0) { in hwc_getDisplayConfigs()
797 ALOGE("%s Invalid number of configs (%zu)", __FUNCTION__, *numConfigs); in hwc_getDisplayConfigs()
804 ctx->mHDMIDisplay->getDisplayConfigs(configs, numConfigs); in hwc_getDisplayConfigs()
807 *numConfigs = ctx->mColorMode->getNumModes(); in hwc_getDisplayConfigs()
808 for (size_t i = 0; i < *numConfigs; i++) in hwc_getDisplayConfigs()
813 *numConfigs = 1; in hwc_getDisplayConfigs()
818 ctx->mHDMIDisplay->getDisplayConfigs(configs, numConfigs); in hwc_getDisplayConfigs()
822 *numConfigs = 1; in hwc_getDisplayConfigs()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp490 uint32_t* configs, size_t* numConfigs) { in hwc_getDisplayConfigs() argument
497 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
499 *numConfigs = 1; in hwc_getDisplayConfigs()
507 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
509 *numConfigs = 1; in hwc_getDisplayConfigs()
/hardware/interfaces/automotive/evs/1.1/default/
DGlWrapper.cpp249 EGLint numConfigs = -1; in initialize() local
250 eglChooseConfig(mDisplay, config_attribs, &egl_config, 1, &numConfigs); in initialize()
251 if (numConfigs != 1) { in initialize()
/hardware/qcom/sm8150/display/libqdutils/
Ddisplay_config.cpp167 int numConfigs = -1; in getConfigCount() local
175 numConfigs = outParcel.readInt32(); in getConfigCount()
176 ALOGI("%s() Received num configs %d", __FUNCTION__, numConfigs); in getConfigCount()
181 return numConfigs; in getConfigCount()
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.h75 int getDisplayConfigs(uint32_t* configs, size_t* numConfigs) const;
Dhdmi.cpp784 size_t* numConfigs) const { in getDisplayConfigs()
785 if (*numConfigs <= 0) { in getDisplayConfigs()
786 ALOGE("%s Invalid number of configs (%zu)", __FUNCTION__, *numConfigs); in getDisplayConfigs()
789 *numConfigs = mModeCount; in getDisplayConfigs()
/hardware/libhardware/include_all/hardware/
Dhwcomposer.h691 uint32_t* configs, size_t* numConfigs);
/hardware/libhardware/include/hardware/
Dhwcomposer.h691 uint32_t* configs, size_t* numConfigs);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc.cpp734 uint32_t* configs, size_t* numConfigs) { in hwc_getDisplayConfigs() argument
742 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
744 *numConfigs = 1; in hwc_getDisplayConfigs()
753 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
755 *numConfigs = 1; in hwc_getDisplayConfigs()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp764 uint32_t* configs, size_t* numConfigs) { in hwc_getDisplayConfigs() argument
772 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
774 *numConfigs = 1; in hwc_getDisplayConfigs()
783 if(*numConfigs > 0) { in hwc_getDisplayConfigs()
785 *numConfigs = 1; in hwc_getDisplayConfigs()

12