Searched refs:HdiTestLayer (Results 1 – 8 of 8) sorted by relevance
/test/xts/hats/hdf/display/composer/common/ |
D | hdi_test_layer.cpp | 104 HdiGrallocBuffer* HdiTestLayer::AcquireBackBuffer() in AcquireBackBuffer() 116 HdiGrallocBuffer* HdiTestLayer::GetFrontBuffer() const in GetFrontBuffer() 125 HdiGrallocBuffer* HdiTestLayer::GetBackBuffer() const in GetBackBuffer() 134 HdiTestLayer::HdiTestLayer(LayerInfo& info, uint32_t id, uint32_t displayId) in HdiTestLayer() function in OHOS::HDI::Display::TEST::HdiTestLayer 144 int32_t HdiTestLayer::Init(uint32_t bufferCount) in Init() 164 int32_t HdiTestLayer::SwapFrontToBackQ() in SwapFrontToBackQ() 172 int32_t HdiTestLayer::SwapBackToFrontQ() in SwapBackToFrontQ() 180 void HdiTestLayer::SetLayerPosition(const IRect& rect) in SetLayerPosition() 186 void HdiTestLayer::SetLayerCrop(const IRect& rect) in SetLayerCrop() 192 int32_t HdiTestLayer::PreparePresent() in PreparePresent() [all …]
|
D | hdi_test_display.h | 37 std::shared_ptr<HdiTestLayer> CreateHdiTestLayer(LayerInfo& info); 38 std::shared_ptr<HdiTestLayer> CreateHdiTestLayer(uint32_t w, uint32_t h); 47 std::shared_ptr<HdiTestLayer> GetLayerFromId(uint32_t id); 48 std::unordered_map<uint32_t, std::shared_ptr<HdiTestLayer>> &GetLayers() in GetLayers() 72 std::unordered_map<uint32_t, std::shared_ptr<HdiTestLayer>> layerMaps_; 73 std::unique_ptr<HdiTestLayer> clientLayer_;
|
D | hdi_test_display.cpp | 63 clientLayer_ = std::make_unique<HdiTestLayer>(layerinfo, CLIENT_LAYER_ID, id_); in Init() 90 std::shared_ptr<HdiTestLayer> HdiTestDisplay::CreateHdiTestLayer(LayerInfo& info) in CreateHdiTestLayer() 94 int ret = device_->CreateLayer(id_, info, HdiTestLayer::MAX_BUFFER_COUNT, layerId); in CreateHdiTestLayer() 97 auto layer = std::make_shared<HdiTestLayer>(info, layerId, id_); in CreateHdiTestLayer() 104 std::shared_ptr<HdiTestLayer> HdiTestDisplay::CreateHdiTestLayer(uint32_t w, uint32_t h) in CreateHdiTestLayer() 123 std::shared_ptr<HdiTestLayer> layer = GetLayerFromId(layers[i]); in RefreshLayersCompType() 140 std::shared_ptr<HdiTestLayer> layer = GetLayerFromId(layers[i]); in GetLayersReleaseFence() 221 std::shared_ptr<HdiTestLayer> HdiTestDisplay::GetLayerFromId(uint32_t id) in GetLayerFromId()
|
D | hdi_test_layer.h | 56 class HdiTestLayer { 59 HdiTestLayer(LayerInfo& info, uint32_t id, uint32_t displayId); 60 virtual ~HdiTestLayer();
|
D | hdi_test_device_common.h | 30 class HdiTestLayer; variable
|
/test/xts/hats/hdf/display/composer/unittest/ |
D | hdi_composer_ut.cpp | 59 static std::shared_ptr<HdiTestLayer> CreateTestLayer(LayerSettings setting, uint32_t zorder) in CreateTestLayer() 67 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer() 148 static std::vector<std::shared_ptr<HdiTestLayer>> CreateLayers(std::vector<LayerSettings> &settings) in CreateLayers() 151 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() 176 static void DestroyLayer(std::shared_ptr<HdiTestLayer> layer) in DestroyLayer() 436 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); 473 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); 499 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); 527 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); 551 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); [all …]
|
/test/xts/hats/hdf/display/composer/benchmark/ |
D | display_benchmark_test.cpp | 84 static std::shared_ptr<HdiTestLayer> CreateTestLayer(LayerSettings setting, uint32_t zorder) in CreateTestLayer() 92 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer() 166 static std::vector<std::shared_ptr<HdiTestLayer>> CreateLayers(std::vector<LayerSettings> &settings) in CreateLayers() 169 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() 830 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() 862 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() 890 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() 917 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() 943 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() 970 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() [all …]
|
/test/xts/hats/hdf/display/composer/moduletest/ |
D | hdi_device_test.cpp | 232 static std::shared_ptr<HdiTestLayer> CreateTestLayer(LayerSettings setting, uint32_t zorder) in CreateTestLayer() 240 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer() 320 static std::vector<std::shared_ptr<HdiTestLayer>> CreateLayers(std::vector<LayerSettings> &settings) in CreateLayers() 323 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() 434 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in TEST_F() 457 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(layersSetting); in TEST_P() 510 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in TEST_F()
|