Home
last modified time | relevance | path

Searched refs:configId (Results 1 – 25 of 32) sorted by relevance

12

/hardware/google/gfxstream/host/
DRenderWindow.h152 void setDisplayConfigs(int configId, int w, int h, int dpiX, int dpiY);
153 void setDisplayActiveConfig(int configId);
DRenderWindow.cpp126 int configId; member
291 fb->setDisplayConfigs(msg.displayConfigs.configId, in process()
664 void RenderWindow::setDisplayConfigs(int configId, int w, int h, in setDisplayConfigs() argument
669 msg.displayConfigs.configId = configId; in setDisplayConfigs()
678 void RenderWindow::setDisplayActiveConfig(int configId) { in setDisplayActiveConfig() argument
682 msg.displayActiveConfig = configId; in setDisplayActiveConfig()
DRendererImpl.h125 void setDisplayConfigs(int configId, int w, int h, int dpiX, int dpiY) override;
126 void setDisplayActiveConfig(int configId) override;
DRendererImpl.cpp715 void RendererImpl::setDisplayConfigs(int configId, int w, int h, in setDisplayConfigs() argument
718 mRenderWindow->setDisplayConfigs(configId, w, h, dpiX, dpiY); in setDisplayConfigs()
722 void RendererImpl::setDisplayActiveConfig(int configId) { in setDisplayActiveConfig() argument
724 mRenderWindow->setDisplayActiveConfig(configId); in setDisplayActiveConfig()
DFrameBuffer.cpp2882 void FrameBuffer::setDisplayConfigs(int configId, int w, int h, int dpiX, int dpiY) { in setDisplayConfigs() argument
2884 mDisplayConfigs[configId] = {w, h, dpiX, dpiY}; in setDisplayConfigs()
2885 INFO("Setting display: %d configuration to: %dx%d, dpi: %dx%d ", configId, in setDisplayConfigs()
2889 void FrameBuffer::setDisplayActiveConfig(int configId) { in setDisplayActiveConfig() argument
2891 if (mDisplayConfigs.find(configId) == mDisplayConfigs.end()) { in setDisplayActiveConfig()
2892 ERR("config %d not set", configId); in setDisplayActiveConfig()
2895 mDisplayActiveConfigId = configId; in setDisplayActiveConfig()
2896 m_framebufferWidth = mDisplayConfigs[configId].w; in setDisplayActiveConfig()
2897 m_framebufferHeight = mDisplayConfigs[configId].h; in setDisplayActiveConfig()
2899 INFO("setDisplayActiveConfig %d", configId); in setDisplayActiveConfig()
[all …]
DFrameBuffer.h489 void setDisplayConfigs(int configId, int w, int h, int dpiX, int dpiY);
490 void setDisplayActiveConfig(int configId);
492 const int getDisplayConfigsParam(int configId, EGLint param);
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/
Dopengles.h165 AEMU_EXPORT void android_setOpenglesDisplayConfigs(int configId, int w, int h,
167 AEMU_EXPORT void android_setOpenglesDisplayActiveConfig(int configId);
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl25 int configId;
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglOsApi_wgl.cpp504 WinPixelFormat(const PIXELFORMATDESCRIPTOR* desc, int configId) in WinPixelFormat() argument
505 : mDesc(*desc), mConfigId(configId) {} in WinPixelFormat()
512 const int configId() const { return mConfigId; } in configId() function in __anonb70991b00111::WinPixelFormat
716 format->configId(), in ConfigDC()
776 int formatId = format ? format->configId() : 0; in getInternalDC()
970 for (int configId = 1; configId <= maxFormat; configId++) { in queryConfigs() local
972 dpy, configId, sizeof(PIXELFORMATDESCRIPTOR), &pfd); in queryConfigs()
978 configId, in queryConfigs()
1016 format->configId(), in checkWindowPixelFormatMatch()
1237 HPBUFFERARB pb = dispatch->wglCreatePbuffer(dpy, format->configId(), 1, 1, nullptr); in createPbufferSurfaceImpl()
DEglContext.cpp65 EGLint configId = EGLint(stream->getBe32()); in EglContext() local
66 m_config = dpy->getConfig(configId); in EglContext()
DEglConfig.h74 void setId(EGLint configId) { m_config_id = configId; } in setId() argument
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl37 int configId;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl37 int configId;
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyProvider.cpp103 const auto& configId = displayPresentProfile.mCurrentDisplayConfig.mActiveConfigId; in mapStatistics() local
104 powerStatsPresentProfile.mWidth = mDisplayContextProvider->getWidth(configId); in mapStatistics()
105 powerStatsPresentProfile.mHeight = mDisplayContextProvider->getHeight(configId); in mapStatistics()
110 auto teFrequency = mDisplayContextProvider->getTeFrequency(configId); in mapStatistics()
/hardware/google/gfxstream/host/gl/gl-host-common/
Dopengles.cpp523 void android_setOpenglesDisplayConfigs(int configId, int w, int h, int dpiX, in android_setOpenglesDisplayConfigs() argument
526 sRenderer->setDisplayConfigs(configId, w, h, dpiX, dpiY); in android_setOpenglesDisplayConfigs()
530 void android_setOpenglesDisplayActiveConfig(int configId) { in android_setOpenglesDisplayActiveConfig() argument
532 sRenderer->setDisplayActiveConfig(configId); in android_setOpenglesDisplayActiveConfig()
/hardware/google/gfxstream/include/render-utils/
DRenderer.h316 virtual void setDisplayConfigs(int configId, int w, int h, int dpiX, int dpiY) = 0;
317 virtual void setDisplayActiveConfig(int configId) = 0;
/hardware/google/graphics/common/hwc3/impl/
DHalImpl.cpp478 for (const auto configId : configIds) { in getDisplayConfigurations() local
480 config.configId = configId; in getDisplayConfigurations()
482 RET_IF_ERR(getDisplayAttribute(display, configId, DisplayAttribute::WIDTH, &config.width)); in getDisplayConfigurations()
484 getDisplayAttribute(display, configId, DisplayAttribute::HEIGHT, &config.height)); in getDisplayConfigurations()
485 RET_IF_ERR(getDisplayAttribute(display, configId, DisplayAttribute::VSYNC_PERIOD, in getDisplayConfigurations()
487 RET_IF_ERR(getDisplayAttribute(display, configId, DisplayAttribute::CONFIG_GROUP, in getDisplayConfigurations()
491 auto statusDpiX = getDisplayAttribute(display, configId, DisplayAttribute::DPI_X, &dpiX); in getDisplayConfigurations()
492 auto statusDpiY = getDisplayAttribute(display, configId, DisplayAttribute::DPI_Y, &dpiY); in getDisplayConfigurations()
499 a2h::translate(configId, hwcConfigId); in getDisplayConfigurations()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp604 auto configId = mActiveConfig->getId(); in getActiveConfig() local
605 ALOGV("[%" PRIu64 "] getActiveConfig --> %u", mId, configId); in getActiveConfig()
606 *outConfig = configId; in getActiveConfig()
610 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, in getAttribute() argument
614 if (configId > mConfigs.size() || !mConfigs[configId]->isOnDisplay(*this)) { in getAttribute()
616 configId); in getAttribute()
619 *outValue = mConfigs[configId]->getAttribute(attribute); in getAttribute()
620 ALOGV("[%" PRIu64 "] getAttribute(%u, %s) --> %d", mId, configId, in getAttribute()
806 Error HWC2On1Adapter::Display::setActiveConfig(hwc2_config_t configId) { in setActiveConfig() argument
809 auto config = getConfig(configId); in setActiveConfig()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp642 auto configId = mActiveConfig->getId(); in getActiveConfig() local
643 ALOGV("[%" PRIu64 "] getActiveConfig --> %u", mId, configId); in getActiveConfig()
644 *outConfig = configId; in getActiveConfig()
648 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, in getAttribute() argument
653 if (configId > mConfigs.size() || !mConfigs[configId]->isOnDisplay(*this)) { in getAttribute()
655 configId); in getAttribute()
658 *outValue = mConfigs[configId]->getAttribute(attribute); in getAttribute()
659 ALOGV("[%" PRIu64 "] getAttribute(%u, %s) --> %d", mId, configId, in getAttribute()
852 Error HWC2On1Adapter::Display::setActiveConfig(hwc2_config_t configId) in setActiveConfig() argument
856 auto config = getConfig(configId); in setActiveConfig()
[all …]
DHWC2On1Adapter.h193 HWC2::Error getAttribute(hwc2_config_t configId,
212 HWC2::Error setActiveConfig(hwc2_config_t configId);
338 getConfig(hwc2_config_t configId) const;
/hardware/google/gfxstream/guest/renderControl_enc/
DrenderControl_entry.cpp74 int rcGetFBDisplayConfigsParam(int configId, EGLint param);
482 int rcGetFBDisplayConfigsParam(int configId, EGLint param) in rcGetFBDisplayConfigsParam() argument
485 return ctx->rcGetFBDisplayConfigsParam(ctx, configId, param); in rcGetFBDisplayConfigsParam()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h206 HWC2::Error getAttribute(hwc2_config_t configId,
232 HWC2::Error setActiveConfig(hwc2_config_t configId);
369 getConfig(hwc2_config_t configId) const;
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsComposerClient.cpp333 outConfigs.emplace_back(config.configId); in getDisplayConfigs()
546 vtsDisplay->addDisplayConfig(config.configId, in addDisplayConfigs()
571 if (displayConfig.configId == config) { in updateDisplayProperties()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.h151 void onConfigChange(int configId);
/hardware/google/gfxstream/codegen/renderControl/
DrenderControl.in67 GL_ENTRY(int, rcGetFBDisplayConfigsParam, int configId, EGLint param);

12