/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_processor.cpp | 95 auto& layerInfo = params.GetLayerInfo(); in CreateLayer() local 100 node.GetName().c_str(), layerInfo.zOrder, in CreateLayer() 101 layerInfo.srcRect.x, layerInfo.srcRect.y, layerInfo.srcRect.w, layerInfo.srcRect.h, in CreateLayer() 102 layerInfo.dstRect.x, layerInfo.dstRect.y, layerInfo.dstRect.w, layerInfo in CreateLayer() 141 auto& layerInfo = params.GetLayerInfo(); CreateLayerForRenderThread() local 195 auto& layerInfo = params.layerInfo_; CreateUIFirstLayer() local 233 auto& layerInfo = params.layerInfo_; GetLayerInfo() local 292 ProcessLayerSetCropRect(LayerInfoPtr& layerInfoPtr, RSLayerInfo& layerInfo, sptr<SurfaceBuffer> buffer) ProcessLayerSetCropRect() argument [all...] |
H A D | rs_anco_manager.cpp | 97 auto& layerInfo = params->GetLayerInfo().dstRect; in AncoOptimizeDisplayNode() local 98 if (layerInfo.w <= 0 || layerInfo.h <= 0) { in AncoOptimizeDisplayNode() 101 if (static_cast<uint32_t>(layerInfo.w * layerInfo.h) >= minArea) { in AncoOptimizeDisplayNode()
|
H A D | rs_uni_render_processor.h | 59 void ProcessLayerSetCropRect(LayerInfoPtr& layerInfoPtr, RSLayerInfo& layerInfo, sptr<SurfaceBuffer> buffer);
|
H A D | rs_composer_adapter.cpp | 200 for (auto &layerInfo : layers) { in DumpLayersToFile() 201 if (layerInfo == nullptr || layerInfo->GetSurface() == nullptr) { in DumpLayersToFile() 204 auto buffer = layerInfo->GetBuffer(); in DumpLayersToFile() 215 ss << "/data/layer_" << layerInfo->GetSurface()->GetName() << "_" << nowVal << "_" << buffer->GetWidth() in DumpLayersToFile()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdilayer_fuzzer/ |
H A D | hdilayer_fuzzer.cpp | 85 std::shared_ptr<HdiLayerInfo> layerInfo = HdiLayerInfo::CreateHdiLayerInfo(); in GetLayerInfoFromData() local 86 layerInfo->SetZorder(zOrder); in GetLayerInfoFromData() 87 layerInfo->SetAlpha(alpha); in GetLayerInfoFromData() 88 layerInfo->SetTransform(transformType); in GetLayerInfoFromData() 89 layerInfo->SetCompositionType(compositionType); in GetLayerInfoFromData() 90 layerInfo->SetVisibleRegions(visibleRegions); in GetLayerInfoFromData() 91 layerInfo->SetDirtyRegions(dirtyRegions); in GetLayerInfoFromData() 92 layerInfo->SetBlendType(blendType); in GetLayerInfoFromData() 93 layerInfo->SetCropRect(crop); in GetLayerInfoFromData() 94 layerInfo in GetLayerInfoFromData() 119 std::shared_ptr<HdiLayerInfo> layerInfo = GetLayerInfoFromData(); DoSomethingInterestingWithMyAPI() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_processor_test.cpp | 160 RSLayerInfo layerInfo;
in HWTEST() local 165 layerInfo.zOrder = 0;
in HWTEST() 166 params.SetLayerInfo(layerInfo);
in HWTEST() 583 auto layerInfo = params.layerInfo_;
in HWTEST() local 587 layerInfo.srcRect.x = 1;
in HWTEST() 588 ASSERT_EQ(layerInfo.srcRect.x, 1);
in HWTEST() 589 layerInfo.transformType = GraphicTransformType::GRAPHIC_ROTATE_NONE;
in HWTEST() 590 renderProcessor->ProcessLayerSetCropRect(layerInfoPtr, layerInfo, buffer);
in HWTEST() 592 layerInfo.transformType = GraphicTransformType::GRAPHIC_FLIP_H;
in HWTEST() 593 renderProcessor->ProcessLayerSetCropRect(layerInfoPtr, layerInfo, buffe in HWTEST() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_layer_info.h | 456 void CopyLayerInfo(const std::shared_ptr<HdiLayerInfo> &layerInfo) in CopyLayerInfo() argument 459 zOrder_ = layerInfo->GetZorder(); in CopyLayerInfo() 460 layerRect_ = layerInfo->GetLayerSize(); in CopyLayerInfo() 461 boundRect_ = layerInfo->GetBoundSize(); in CopyLayerInfo() 462 visibleRegions_ = layerInfo->GetVisibleRegions(); in CopyLayerInfo() 463 dirtyRegions_ = layerInfo->GetDirtyRegions(); in CopyLayerInfo() 464 cropRect_ = layerInfo->GetCropRect(); in CopyLayerInfo() 465 matrix_ = layerInfo->GetMatrix(); in CopyLayerInfo() 466 gravity_ = layerInfo->GetGravity(); in CopyLayerInfo() 467 layerAlpha_ = layerInfo in CopyLayerInfo() [all...] |
H A D | hdi_layer.h | 45 bool Init(const LayerInfoPtr &layerInfo); 53 void UpdateLayerInfo(const LayerInfoPtr &layerInfo); 100 int32_t CreateLayer(const LayerInfoPtr &layerInfo);
|
H A D | hdi_output.h | 137 int32_t CreateLayerLocked(uint64_t surfaceId, const LayerInfoPtr &layerInfo); 148 bool CheckIfDoArsrPre(const LayerInfoPtr &layerInfo); 149 bool CheckIfDoArsrPreForVm(const LayerInfoPtr &layerInfo);
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_output.cpp | 128 for (auto &layerInfo : layerInfos) { in SetLayerInfo() 129 if (layerInfo == nullptr || layerInfo->GetSurface() == nullptr) { in SetLayerInfo() 130 HLOGE("current layerInfo or layerInfo's cSurface is null"); in SetLayerInfo() 134 uint64_t surfaceId = layerInfo->GetSurface()->GetUniqueId(); in SetLayerInfo() 138 layer->UpdateLayerInfo(layerInfo); in SetLayerInfo() 142 int32_t ret = CreateLayerLocked(surfaceId, layerInfo); in SetLayerInfo() 191 int32_t HdiOutput::CreateLayerLocked(uint64_t surfaceId, const LayerInfoPtr &layerInfo) in CreateLayerLocked() argument 194 if (layer == nullptr || !layer->Init(layerInfo)) { in CreateLayerLocked() 419 CheckIfDoArsrPre(const LayerInfoPtr &layerInfo) CheckIfDoArsrPre() argument 457 CheckIfDoArsrPreForVm(const LayerInfoPtr &layerInfo) CheckIfDoArsrPreForVm() argument 881 struct LayerDumpInfo layerInfo = { ReorderLayerInfoLocked() local [all...] |
H A D | hdi_layer.cpp | 73 bool HdiLayer::Init(const LayerInfoPtr &layerInfo) in Init() argument 75 if (layerInfo == nullptr) { in Init() 79 if (CreateLayer(layerInfo) != GRAPHIC_DISPLAY_SUCCESS) { in Init() 116 int32_t HdiLayer::CreateLayer(const LayerInfoPtr &layerInfo) in CreateLayer() argument 123 sptr<IConsumerSurface> surface = layerInfo->GetSurface(); in CreateLayer() 131 .width = layerInfo->GetLayerSize().w, in CreateLayer() 132 .height = layerInfo->GetLayerSize().h, in CreateLayer() 133 .type = layerInfo->GetType(), in CreateLayer() 586 void HdiLayer::UpdateLayerInfo(const LayerInfoPtr &layerInfo) in UpdateLayerInfo() argument 588 if (layerInfo in UpdateLayerInfo() [all...] |
H A D | hdi_device_impl.cpp | 670 int32_t HdiDeviceImpl::CreateLayer(uint32_t screenId, const GraphicLayerInfo &layerInfo, uint32_t cacheCount, in CreateLayer() argument 675 .width = layerInfo.width, in CreateLayer() 676 .height = layerInfo.height, in CreateLayer() 677 .type = static_cast<LayerType>(layerInfo.type), in CreateLayer() 678 .pixFormat = static_cast<HDI::Display::Composer::V1_0::PixelFormat>(layerInfo.pixFormat), in CreateLayer()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_main.cpp | 54 static void DisplayCaseLayer(vector<string>& curlayerInfo, vector<string>& layerInfo) in DisplayCaseLayer() argument 57 if (loop >= layerInfo.size()) { in DisplayCaseLayer() 58 layerInfo.push_back(curlayerInfo[loop]); in DisplayCaseLayer() 59 } else if (curlayerInfo[loop] == layerInfo[loop]) { in DisplayCaseLayer() 62 layerInfo[loop] = curlayerInfo[loop]; in DisplayCaseLayer() 77 vector<string> layerInfo {}; in DisplayAllCaseInfo() 99 DisplayCaseLayer(curlayerInfo, layerInfo); in DisplayAllCaseInfo()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | hdilayer_test.cpp | 36 LayerInfoPtr layerInfo;
in SetUpTestCase() local 37 hdiLayer_->Init(layerInfo);
in SetUpTestCase() 38 hdiLayer_->UpdateLayerInfo(layerInfo);
in SetUpTestCase()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_rcd_surface_render_node.cpp | 153 bool RSRcdSurfaceRenderNode::PrepareHardwareResourceBuffer(const std::shared_ptr<rs_rcd::RoundCornerLayer>& layerInfo) in PrepareHardwareResourceBuffer() argument 157 if (layerInfo == nullptr) { in PrepareHardwareResourceBuffer() 158 RS_LOGE("RCD: layerInfo is nullptr"); in PrepareHardwareResourceBuffer() 162 cldLayerInfo.pathBin = std::string(rs_rcd::PATH_CONFIG_DIR) + "/" + layerInfo->binFileName; in PrepareHardwareResourceBuffer() 163 cldLayerInfo.bufferSize = layerInfo->bufferSize; in PrepareHardwareResourceBuffer() 164 cldLayerInfo.cldWidth = layerInfo->cldWidth; in PrepareHardwareResourceBuffer() 165 cldLayerInfo.cldHeight = layerInfo->cldHeight; in PrepareHardwareResourceBuffer() 167 if (layerInfo->curBitmap == nullptr) { in PrepareHardwareResourceBuffer() 168 RS_LOGE("layerInfo->curBitmap is nullptr"); in PrepareHardwareResourceBuffer() 171 layerBitmap = *(layerInfo in PrepareHardwareResourceBuffer() [all...] |
H A D | rs_rcd_render_visitor.cpp | 80 RSRcdSurfaceRenderNode &node, const std::shared_ptr<rs_rcd::RoundCornerLayer> &layerInfo, bool resourceChanged) in ProcessRcdSurfaceRenderNode() 109 if (layerInfo == nullptr || (!node.PrepareHardwareResourceBuffer(layerInfo))) { in ProcessRcdSurfaceRenderNode() 79 ProcessRcdSurfaceRenderNode( RSRcdSurfaceRenderNode &node, const std::shared_ptr<rs_rcd::RoundCornerLayer> &layerInfo, bool resourceChanged) ProcessRcdSurfaceRenderNode() argument
|
H A D | rs_round_corner_display_manager.cpp | 195 for (const auto& layerInfo : layerInfos) { in DrawRoundCorner() 196 if (layerInfo.second == RoundCornerDisplayManager::RCDLayerType::TOP) { in DrawRoundCorner() 197 DrawTopRoundCorner(layerInfo.first, canvas); in DrawRoundCorner() 199 if (layerInfo.second == RoundCornerDisplayManager::RCDLayerType::BOTTOM) { in DrawRoundCorner() 200 DrawBottomRoundCorner(layerInfo.first, canvas); in DrawRoundCorner()
|
H A D | rs_rcd_render_visitor.h | 52 RSRcdSurfaceRenderNode &node, const std::shared_ptr<rs_rcd::RoundCornerLayer> &layerInfo, bool resourceChanged);
|
H A D | rs_rcd_surface_render_node.h | 122 bool PrepareHardwareResourceBuffer(const std::shared_ptr<rs_rcd::RoundCornerLayer>& layerInfo);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
H A D | rs_surface_render_params.h | 49 bool operator==(const RSLayerInfo& layerInfo) const in operator ==() 51 return (srcRect == layerInfo.srcRect) && (dstRect == layerInfo.dstRect) && in operator ==() 52 (boundRect == layerInfo.boundRect) && (matrix == layerInfo.matrix) && (gravity == layerInfo.gravity) && in operator ==() 53 (zOrder == layerInfo.zOrder) && (blendType == layerInfo.blendType) && in operator ==() 54 (transformType == layerInfo.transformType) && (ROSEN_EQ(alpha, layerInfo in operator ==() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/systemtest/pipeline/ |
H A D | rs_base_render_engine_unit_test.cpp | 54 std::vector<LayerInfoPtr> layerInfo; in HWTEST_F() local 55 renderEngine_->NeedForceCPU(layerInfo); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/systemtest/pipeline/ |
H A D | rs_base_render_engine_test.cpp | 54 std::vector<LayerInfoPtr> layerInfo; in HWTEST_F() local 55 renderEngine_->NeedForceCPU(layerInfo); in HWTEST_F()
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_wms.cpp | 260 LiteLayerInfo layerInfo = {}; in GetLayerInfo() local 261 LiteWM::GetInstance()->GetLayerInfo(layerInfo); in GetLayerInfo() 262 WriteRawData(reply, &layerInfo, sizeof(LiteLayerInfo)); in GetLayerInfo()
|
H A D | lite_wm.h | 59 void GetLayerInfo(LiteLayerInfo& layerInfo);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/params/ |
H A D | rs_surface_render_params.cpp | 132 void RSSurfaceRenderParams::SetLayerInfo(const RSLayerInfo& layerInfo) in SetLayerInfo() argument 135 layerInfo_ = layerInfo; in SetLayerInfo()
|