Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/aidl/vts/
DVtsComposerClient.h262 : vsyncPeriod(vsyncPeriod_), in vsyncPeriod() function
265 int32_t vsyncPeriod; member
285 } else if (displayConfig1.vsyncPeriod == displayConfig2.vsyncPeriod) { in isRateSameBetweenConfigs()
296 ss << "{Config " << config << ": vsyncPeriod " << displayConfig.vsyncPeriod in printConfig()
300 ss << "{Config " << config << ": vsyncPeriod " << displayConfig.vsyncPeriod << "}"; in printConfig()
DVtsHalGraphicsComposer3_TargetTest.cpp1260 EXPECT_NE(-1, displayConfig.vsyncPeriod); in TEST_P()
1268 EXPECT_GE(vrrConfig.minFrameIntervalNs, displayConfig.vsyncPeriod); in TEST_P()
1280 static_cast<float>(frameIntervalNs) / displayConfig.vsyncPeriod; in TEST_P()
1353 displayConfiguration.vsyncPeriod == legacyVsyncPeriod.second && in TEST_P()
1560 const auto& [vsyncPeriodStatus, vsyncPeriod] = mComposerClient->getDisplayAttribute( in getVsyncPeriod()
1563 return vsyncPeriod; in getVsyncPeriod()
1607 int32_t vsyncPeriod1 = displayConfig1.vsyncPeriod; in Test_setActiveConfigWithConstraints()
1611 int32_t vsyncPeriod2 = displayConfig2.vsyncPeriod; in Test_setActiveConfigWithConstraints()
1687 const auto vsyncPeriod = getVsyncPeriod(); in Test_expectedPresentTime() local
1702 auto expectedPresentTime = presentFence1->getSignalTime() + vsyncPeriod; in Test_expectedPresentTime()
[all …]
DVtsComposerClient.cpp158 displayConfig.vsyncPeriod < peakDisplayConfig.vsyncPeriod) { in setPeakRefreshRateConfig()
547 {config.vsyncPeriod, config.configGroup, config.vrrConfig}); in addDisplayConfigs()
552 const auto vsyncPeriod = in addDisplayConfigLegacy() local
556 if (vsyncPeriod.first.isOk() && configGroup.first.isOk()) { in addDisplayConfigLegacy()
557 vtsDisplay->addDisplayConfig(config, {vsyncPeriod.second, configGroup.second}); in addDisplayConfigLegacy()
561 LOG(ERROR) << "Failed to update display property vsync: " << vsyncPeriod.first.isOk() in addDisplayConfigLegacy()
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl63 int vsyncPeriod;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl42 int vsyncPeriod;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DDisplayConfiguration.aidl42 int vsyncPeriod;
/hardware/google/gfxstream/host/
DVsyncThread.h36 VsyncThread(uint64_t vsyncPeriod);
/hardware/google/graphics/common/libhwc2.1/libvrr/display/exynos/
DExynosDisplayContextProvider.cpp93 return config ? durationNsToFreq(config->vsyncPeriod) : -1; in getTeFrequency()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp405 if (mode.vsyncPeriod == 0) in setBootDisplayConfig()
410 mode.refreshRate, nanoSec2Hz(mode.vsyncPeriod)); in setBootDisplayConfig()
1540 mDisplayConfigs[mActiveConfig].vsyncPeriod < mDisplayConfigs[config].vsyncPeriod; in calculateTimelineLocked()
1565 mActiveConfig, mDisplayConfigs[mActiveConfig].vsyncPeriod, config, in calculateTimelineLocked()
1566 mDisplayConfigs[config].vsyncPeriod, isDelayed, in calculateTimelineLocked()
1630 void ExynosPrimaryDisplay::checkBtsReassignResource(const int32_t vsyncPeriod, in checkBtsReassignResource() argument
1633 uint32_t refreshRate = static_cast<uint32_t>(round(nsecsPerSec / vsyncPeriod * 0.1f) * 10); in checkBtsReassignResource()
1636 if (vsyncPeriod < btsVsyncPeriod) { in checkBtsReassignResource()
1644 } else if (vsyncPeriod > btsVsyncPeriod) { in checkBtsReassignResource()
DExynosPrimaryDisplay.h67 virtual void checkBtsReassignResource(const int32_t vsyncPeriod,
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.h292 bool onVsync_2_4(uint32_t displayId, int64_t timestamp, uint32_t vsyncPeriod);
353 void onRefreshRateChangedDebug(hwc2_display_t displayId, uint32_t vsyncPeriod,
DExynosDevice.cpp672 bool ExynosDevice::onVsync_2_4(uint32_t displayId, int64_t timestamp, uint32_t vsyncPeriod) { in onVsync_2_4() argument
680 callbackFunc(callbackData, displayId, timestamp, vsyncPeriod); in onVsync_2_4()
1352 void ExynosDevice::onRefreshRateChangedDebug(hwc2_display_t displayId, uint32_t vsyncPeriod, in onRefreshRateChangedDebug() argument
1364 static_cast<int>(std::nano::den / (refreshPeriod ?: vsyncPeriod))); in onRefreshRateChangedDebug()
1369 callbackFunc(callbackInfo.callbackData, displayId, vsyncPeriod, refreshPeriod ?: vsyncPeriod); in onRefreshRateChangedDebug()
DExynosDisplay.h386 os << "vsyncPeriod = " << vsyncPeriod; in toString()
398 VsyncPeriodNanos vsyncPeriod; member
1234 virtual void checkBtsReassignResource(const int32_t __unused vsyncPeriod, in checkBtsReassignResource() argument
1804 void updateVsyncPeriod(int vsyncPeriod);
DExynosDisplay.cpp3186 *outValue = mDisplayConfigs[config].vsyncPeriod; in getDisplayAttribute()
4055 …mDisplayConfigs[config].width, mDisplayConfigs[config].height, mDisplayConfigs[config].vsyncPeriod, in setActiveConfigInternal()
4384 mActiveConfig, mDisplayConfigs[mActiveConfig].vsyncPeriod, config, in calculateTimelineLocked()
4385 mDisplayConfigs[config].vsyncPeriod, in calculateTimelineLocked()
6539 const auto vsyncPeriod = nsecsPerSec / vsyncRate; in lookupDisplayConfigs() local
6542 long delta = abs(vsyncPeriod - mode.vsyncPeriod); in lookupDisplayConfigs()
6562 const auto vsyncPeriod = nsecsPerSec / fps; in lookupDisplayConfigsRelaxed() local
6568 if (mode.width == width && mode.height == height && mode.vsyncPeriod == vsyncPeriod) { in lookupDisplayConfigsRelaxed()
6579 mode.vsyncPeriod >= vsyncPeriodMin && mode.vsyncPeriod <= vsyncPeriodMax) { in lookupDisplayConfigsRelaxed()
6591 mode.vsyncPeriod >= vsyncPeriodMin && mode.vsyncPeriod <= vsyncPeriodMax) { in lookupDisplayConfigsRelaxed()
[all …]
/hardware/qcom/display/msm8909/libdisplayconfig/
DDisplayConfig.cpp227 attributes.vsync_period = tmpAttributes.vsyncPeriod; in getDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/libdisplayconfig/
DDisplayConfig.cpp227 attributes.vsync_period = tmpAttributes.vsyncPeriod; in getDisplayAttributes()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.h62 int getGroupId(int width, int height, int minFrameInterval = 0, int vsyncPeriod = 0) {
63 const auto &key = std::make_tuple(width, height, minFrameInterval, vsyncPeriod);
DExynosDisplayDrmInterface.cpp1065 vsyncRate = nanoSec2Hz(config.vsyncPeriod); in choosePreferredConfig()
1150 configs.vsyncPeriod = static_cast<int32_t>(mode.te_period()); in getDisplayConfigs()
1151 if (configs.vsyncPeriod <= 0.0f) { in getDisplayConfigs()
1171 vrrConfig.vsyncPeriodNs = configs.vsyncPeriod; in getDisplayConfigs()
1189 configs.vsyncPeriod); in getDisplayConfigs()
1199 configs.width, configs.height, rr, configs.vsyncPeriod, in getDisplayConfigs()
/hardware/google/graphics/common/hwc3/
DComposerClient.h89 ndk::ScopedAStatus getDisplayVsyncPeriod(int64_t display, int32_t* vsyncPeriod) override;
DComposerClient.cpp230 ndk::ScopedAStatus ComposerClient::getDisplayVsyncPeriod(int64_t display, int32_t* vsyncPeriod) { in getDisplayVsyncPeriod() argument
232 auto err = mHal->getDisplayVsyncPeriod(display, vsyncPeriod); in getDisplayVsyncPeriod()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session_services.cpp278 display_attributes.vsyncPeriod = var_info.vsync_period_ns; in getDisplayAttributes()
805 display_attributes.vsyncPeriod = var_info.vsync_period_ns; in getActiveBuiltinDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session_services.cpp236 display_attributes.vsyncPeriod = hwc_display_attributes.vsync_period_ns; in getDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session_services.cpp248 display_attributes.vsyncPeriod = hwc_display_attributes.vsync_period_ns; in getDisplayAttributes()
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp168 mVsyncPeriod = displayConfig.vsyncPeriod; in getDisplayConfigs()
/hardware/google/graphics/common/hwc3/impl/
DHalImpl.cpp486 &config.vsyncPeriod)); in getDisplayConfigurations()