/test/xts/hats/hdf/display/composer/unittest/ |
D | hdi_composer_ut.cpp | 52 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition() argument 56 return HdiCompositionCheck::GetInstance().Check(layers, *clientBuffer, checkType); in CheckComposition() 151 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() local 158 layers.push_back(layer); in CreateLayers() 161 return layers; in CreateLayers() 315 std::vector<uint32_t> layers {}; variable 317 auto ret = g_composerDevice->GetDisplayCompChange(g_displayIds[0], layers, type); 333 std::vector<uint32_t> layers {}; variable 335 auto ret = g_composerDevice->GetDisplayReleaseFence(g_displayIds[0], layers, fences); 436 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); variable [all …]
|
/test/xts/hats/hdf/display/composer/common/ |
D | hdi_composition_check.cpp | 37 static void SimpleHandleAlpha(const LayerSettings& layers, uint32_t& color) in SimpleHandleAlpha() argument 42 if (layers.alpha != -1) { in SimpleHandleAlpha() 43 switch (layers.blendType) { in SimpleHandleAlpha() 45 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha() 48 color = color * (layers.alpha * INV); in SimpleHandleAlpha() 49 color = (color & WHITE_TRANSPARENT) | (layers.alpha & ALPHA); // get the alpha in SimpleHandleAlpha() 57 static std::vector<uint32_t> GetCheckColors(const std::vector<LayerSettings> &layers, const std::ve… in GetCheckColors() argument 62 for (uint32_t i = layers.size(); i > 0; i--) { in GetCheckColors() 63 auto layer = layers[i - 1]; in GetCheckColors() 80 int32_t HdiCompositionCheck::Check(const std::vector<LayerSettings> &layers, in Check() argument [all …]
|
D | hdi_test_display.cpp | 115 std::vector<uint32_t> layers; in RefreshLayersCompType() local 117 ret = device_->GetDisplayCompChange(id_, layers, types); in RefreshLayersCompType() 120 …TEST_LOGE("the change numbers %{public}zu, layers size %{public}zu", layers.size(), layers.size()); in RefreshLayersCompType() 121 for (uint32_t i = 0; i < layers.size(); i++) { in RefreshLayersCompType() 122 DISPLAY_TEST_LOGE(" the layer id %{public}u ", layers[i]); in RefreshLayersCompType() 123 std::shared_ptr<HdiTestLayer> layer = GetLayerFromId(layers[i]); in RefreshLayersCompType() 132 std::vector<uint32_t> layers; in GetLayersReleaseFence() local 135 ret = device_->GetDisplayReleaseFence(id_, layers, fences); in GetLayersReleaseFence() 137 …GE("the release fence numbers %{public}zu, layers size %{public}zu", layers.size(), layers.size()); in GetLayersReleaseFence() 138 for (uint32_t i = 0; i < layers.size(); i++) { in GetLayersReleaseFence() [all …]
|
D | hdi_composition_check.h | 46 int32_t Check(const std::vector<LayerSettings> &layers,
|
/test/xts/hats/hdf/display/composer/benchmark/ |
D | display_benchmark_test.cpp | 77 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition() argument 81 return HdiCompositionCheck::GetInstance().Check(layers, *clientBuffer, checkType); in CheckComposition() 169 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() local 176 layers.push_back(layer); in CreateLayers() 178 return layers; in CreateLayers() 373 std::vector<uint32_t> layers {}; in BENCHMARK_F() local 377 ret = g_composerDevice->GetDisplayCompChange(g_displayIds[0], layers, type); in BENCHMARK_F() 392 std::vector<uint32_t> layers {}; in BENCHMARK_F() local 395 ret = g_composerDevice->GetDisplayReleaseFence(g_displayIds[0], layers, fences); in BENCHMARK_F() 830 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in BENCHMARK_F() local [all …]
|
/test/xts/hats/hdf/display/composer/moduletest/ |
D | hdi_device_test.cpp | 225 static int32_t CheckComposition(std::vector<LayerSettings> &layers, BufferHandle* clientBuffer, in CheckComposition() argument 229 return HdiCompositionCheck::GetInstance().Check(layers, *clientBuffer, checkType); in CheckComposition() 323 std::vector<std::shared_ptr<HdiTestLayer>> layers; in CreateLayers() local 330 layers.push_back(layer); in CreateLayers() 333 return layers; in CreateLayers() 434 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(settings); in TEST_F() local 440 layers[i]->SetZorder(zorderList[i]); in TEST_F() 457 std::vector<std::shared_ptr<HdiTestLayer>> layers = CreateLayers(layersSetting); in TEST_P() local 458 ASSERT_TRUE((layers.size() > 0)); in TEST_P() 460 auto layer = layers[0]; in TEST_P() [all …]
|
/test/xts/hats/hdf/display/composer/unittest_additional/ |
D | hdi_composer_ut.cpp | 1231 std::vector<uint32_t> layers{}; variable 1233 auto ret = g_composerDevice->GetDisplayReleaseFence(20, layers, fences); 1245 std::vector<uint32_t> layers{}; variable 1247 auto ret = g_composerDevice->GetDisplayReleaseFence(0, layers, fences); 1259 std::vector<uint32_t> layers{}; variable 1261 auto ret = g_composerDevice->GetDisplayReleaseFence(15, layers, fences); 1272 std::vector<uint32_t> layers{}; variable 1274 auto ret = g_composerDevice->GetDisplayReleaseFence(-1, layers, fences);
|