Home
last modified time | relevance | path

Searched refs:mLayers (Results 1 – 23 of 23) sorted by relevance

/hardware/google/graphics/common/libacryl/
Dacrylic.cpp38 for (auto layer: mLayers) { in ~Acrylic()
48 if (mLayers.size() >= getCapabilities().maxLayerCount()) { in createLayer()
50 mLayers.size() , getCapabilities().maxLayerCount()); in createLayer()
60 mLayers.push_back(layer); in createLayer()
62 ALOGD_TEST("A new Acrylic layer is created. Total %zd layers", mLayers.size()); in createLayer()
69 auto it = find(std::begin(mLayers), std::end(mLayers), layer); in removeLayer()
71 if (it == std::end(mLayers)) { in removeLayer()
75 mLayers.erase(it); in removeLayer()
124 for (auto layer: mLayers) { in validateAllLayers()
127 layer->getSettingFlags(), mLayers.size()); in validateAllLayers()
[all …]
Dacrylic_performance.cpp56 mHasBackgroundLayer(false), mLayers(NULL) in AcrylicPerformanceRequestFrame()
63 delete [] mLayers; in ~AcrylicPerformanceRequestFrame()
69 delete [] mLayers; in reset()
70 mLayers = NULL; in reset()
72 mLayers = new AcrylicPerformanceRequestLayer[num_layers]; in reset()
73 if (mLayers == NULL) { in reset()
Dacrylic_g2d.cpp1276 AcrylicPerformanceRequestLayer *layer = &(frame->mLayers[idx]); in requestPerformanceQoS()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp1153 for (size_t i = 0; i < mLayers.size(); i++) { in initDisplay()
1155 ExynosMPP* m2mMPP = mLayers[i]->mM2mMPP; in initDisplay()
1158 if ((mLayers[i]->mValidateCompositionType == HWC2_COMPOSITION_DEVICE) && in initDisplay()
1189 if (mLayers.remove(layer) < 0) { in destroyLayer()
1219 for (uint32_t index = 0; index < mLayers.size();) { in destroyLayers()
1220 ExynosLayer *layer = mLayers[index]; in destroyLayers()
1221 mLayers.removeAt(index); in destroyLayers()
1234 if (!mLayers.isEmpty()) { in checkLayer()
1235 for (size_t i = 0; i < mLayers.size(); i++) { in checkLayer()
1236 if (mLayers[i] == temp) in checkLayer()
[all …]
DExynosDisplay.h486 ExynosSortedLayer mLayers; variable
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp85 if (mLayers.size() != 0) { in openExternalDisplay()
86 mLayers.clear(); in openExternalDisplay()
117 for (size_t i = 0; i < mLayers.size(); i++) { in closeExternalDisplay()
118 ExynosLayer *layer = mLayers[i]; in closeExternalDisplay()
203 for (size_t i = 0; i < mLayers.size(); i++) { in handleRotate()
204 ExynosLayer *layer = mLayers[i]; in handleRotate()
214 for (size_t i = 0; i < mLayers.size(); i++) { in handleRotate()
215 ExynosLayer *layer = mLayers[i]; in handleRotate()
219 for (size_t j = 0; j < mLayers.size(); j++) { in handleRotate()
220 ExynosLayer *skipLayer = mLayers[j]; in handleRotate()
[all …]
/hardware/google/graphics/common/libhwc2.1/libvirtualdisplay/
DExynosVirtualDisplay.cpp396 for (size_t i = 0; i < mLayers.size(); i++) { in setCompositionType()
397 ExynosLayer *layer = mLayers[i]; in setCompositionType()
436 for (size_t i = 0; i < mLayers.size(); i++) { in checkSkipFrame()
437 ExynosLayer *layer = mLayers[i]; in checkSkipFrame()
445 if (mLayers.size() == 0) { in checkSkipFrame()
446 DISPLAY_LOGD(eDebugVirtualDisplay, "checkSkipFrame(), mLayers.size() %zu", mLayers.size()); in checkSkipFrame()
466 for (size_t i = 0; i < mLayers.size(); i++) { in setDrmMode()
467 ExynosLayer *layer = mLayers[i]; in setDrmMode()
487 for (size_t i = 0; i < mLayers.size(); i++) { in handleSkipFrame()
488 ExynosLayer *layer = mLayers[i]; in handleSkipFrame()
[all …]
/hardware/google/graphics/common/libacryl/include/hardware/exynos/
Dacryl.h1191 unsigned int layerCount() { return static_cast<unsigned int>(mLayers.size()); } in layerCount()
1207 return (index < mLayers.size()) ? mLayers[index] : nullptr; in getLayer()
1222 std::vector<AcrylicLayer *> mLayers;
1253 struct AcrylicPerformanceRequestLayer *mLayers; member
1262 mLayers[layer].mSourceDimension.hori = width; in setSourceDimension()
1263 mLayers[layer].mSourceDimension.vert = height; in setSourceDimension()
1264 mLayers[layer].mPixFormat = fmt; in setSourceDimension()
1270 mLayers[layer].mAttribute = attribute; in setAttribute()
1275 mLayers[layer].mSourceRect.pos.hori = src_area.left; in setTransfer()
1276 mLayers[layer].mSourceRect.pos.vert = src_area.top; in setTransfer()
[all …]
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp1308 for (size_t i = 0; i < mLayers.size(); i++) { in handleDisplayIdleEnter()
1309 if (mLayers[i]->mOtfMPP && mLayers[i]->mM2mMPP == nullptr && in handleDisplayIdleEnter()
1310 !mLayers[i]->checkBtsCap(idleTeRefreshRate)) { in handleDisplayIdleEnter()
1637 for (size_t i = 0; i < mLayers.size(); i++) { in checkBtsReassignResource()
1638 if (mLayers[i]->mOtfMPP && mLayers[i]->mM2mMPP == nullptr && in checkBtsReassignResource()
1639 !mLayers[i]->checkBtsCap(refreshRate)) { in checkBtsReassignResource()
1640 mLayers[i]->setGeometryChanged(GEOMETRY_DEVICE_CONFIG_CHANGED); in checkBtsReassignResource()
1645 for (size_t i = 0; i < mLayers.size(); i++) { in checkBtsReassignResource()
1646 if (mLayers[i]->mOtfMPP && mLayers[i]->mM2mMPP) { in checkBtsReassignResource()
1647 float srcWidth = mLayers[i]->mSourceCrop.right - mLayers[i]->mSourceCrop.left; in checkBtsReassignResource()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp101 mLayers(), in HWC2On1Adapter()
527 mLayers(), in Display()
547 if (mDevice.mLayers.count(layerId) == 0) { in acceptChanges()
553 auto layer = mDevice.mLayers[layerId]; in acceptChanges()
565 auto layer = *mLayers.emplace(std::make_shared<Layer>(*this)); in createLayer()
566 mDevice.mLayers.emplace(std::make_pair(layer->getId(), layer)); in createLayer()
576 const auto mapLayer = mDevice.mLayers.find(layerId); in destroyLayer()
577 if (mapLayer == mDevice.mLayers.end()) { in destroyLayer()
583 mDevice.mLayers.erase(mapLayer); in destroyLayer()
584 const auto zRange = mLayers.equal_range(layer); in destroyLayer()
[all …]
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp934 mLayers.clear(); in setUpLayers()
955 mLayers.push_back(backgroundLayer); in setUpLayers()
956 mLayers.push_back(layer); in setUpLayers()
960 ASSERT_EQ(2, mLayers.size()); in setExpectedColors()
963 auto layer = mLayers[1]; in setExpectedColors()
994 std::vector<std::shared_ptr<TestLayer>> mLayers; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsBlendModeCompositionTest
1035 writeLayers(mLayers); in TEST_P()
1050 mTestRenderEngine->setRenderLayers(mLayers); in TEST_P()
1094 writeLayers(mLayers); in TEST_P()
1145 writeLayers(mLayers); in TEST_P()
[all …]
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp350 for (uint32_t i = 0; i < exynosDisplay->mLayers.size(); i++) { in checkScenario()
351 ExynosLayer *layer = exynosDisplay->mLayers[i]; in checkScenario()
387 for (uint32_t i = 0; i < display->mLayers.size(); i++) { in assignResource()
388 display->mLayers[i]->resetValidateData(); in assignResource()
406 for (uint32_t i = 0; i < display->mLayers.size(); i++) { in assignResource()
407 calculateHWResourceAmount(display, display->mLayers[i]); in assignResource()
450 for (uint32_t i = 0; i < display->mLayers.size(); i++) { in assignResource()
452 HDEBUGLOGD(eDebugResourceManager, "%d layer(%p) dump", i, display->mLayers[i]); in assignResource()
453 display->mLayers[i]->printLayer(); in assignResource()
491 for (uint32_t i = 0; i < display->mLayers.size(); i++) { in setResourcePriority()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp137 mLayers(), in HWC2On1Adapter()
571 mLayers(), in Display()
588 auto layer = mDevice.mLayers[layerId]; in acceptChanges()
603 auto layer = *mLayers.emplace(std::make_shared<Layer>(*this)); in createLayer()
604 mDevice.mLayers.emplace(std::make_pair(layer->getId(), layer)); in createLayer()
614 const auto mapLayer = mDevice.mLayers.find(layerId); in destroyLayer()
615 if (mapLayer == mDevice.mLayers.end()) { in destroyLayer()
621 mDevice.mLayers.erase(mapLayer); in destroyLayer()
622 const auto zRange = mLayers.equal_range(layer); in destroyLayer()
625 current = mLayers.erase(current); in destroyLayer()
[all …]
DHWC2On1Adapter.h395 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers; variable
668 std::map<hwc2_layer_t, std::shared_ptr<Layer>> mLayers; variable
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_ReadbackTest.cpp1072 mLayers.clear(); in setUpLayers()
1096 mLayers.push_back(backgroundLayer); in setUpLayers()
1097 mLayers.push_back(layer); in setUpLayers()
1101 ASSERT_EQ(2, mLayers.size()); in setExpectedColors()
1105 auto layer = mLayers[1]; in setExpectedColors()
1136 std::vector<std::shared_ptr<TestLayer>> mLayers; member in aidl::android::hardware::graphics::composer3::vts::__anon368924b60111::GraphicsBlendModeCompositionTest
1165 writeLayers(mLayers); in TEST_P()
1180 mTestRenderEngine->setRenderLayers(mLayers); in TEST_P()
1211 writeLayers(mLayers); in TEST_P()
1252 writeLayers(mLayers); in TEST_P()
[all …]
/hardware/google/graphics/zuma/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp273 for (size_t i = 0; i < mLayers.size(); ++i) { in checkPreblendingRequirement()
274 count += checkPreblending(i, mLayers[i]); in checkPreblendingRequirement()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/include/hwc2onfbadapter/
DHWC2OnFbAdapter.h93 std::unordered_set<hwc2_layer_t> mLayers; variable
/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.h252 for (size_t i = 0; i < mDisplay->mLayers.size(); i++) { in getPresentFrameFlag()
253 auto layer = mDisplay->mLayers[i]; in getPresentFrameFlag()
/hardware/google/graphics/gs101/libhwc2.1/libcolormanager/
DColorManager.cpp237 for (uint32_t i = 0; i < mExynosDisplay->mLayers.size(); i++) { in setLayersColorData()
238 ExynosLayer* layer = mExynosDisplay->mLayers[i]; in setLayersColorData()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp719 mLayers.insert(id); in addLayer()
727 return mLayers.erase(layer); in removeLayer()
731 return mLayers.count(layer) > 0; in hasLayer()
735 if (mLayers.count(layer) == 0) { in markLayerDirty()
/hardware/google/graphics/zumapro/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp346 for (size_t i = 0; i < mLayers.size(); ++i) { in checkPreblendingRequirement()
347 count += checkPreblending(i, mLayers[i]); in checkPreblendingRequirement()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h446 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers; variable
703 std::map<hwc2_layer_t, std::shared_ptr<Layer>> mLayers; variable
/hardware/google/graphics/zuma/libhwc2.1/libresource/
DExynosResourceManagerModule.cpp65 for (auto compLayer : display->mLayers) { in checkTDMResource()
128 for (auto layer : display->mLayers) { in isHWResourceAvailable()