Home
last modified time | relevance | path

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

12

/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/1/android/hardware/graphics/common/
DBlendMode.aidl20 enum BlendMode { enum
/hardware/interfaces/graphics/common/aidl/android/hardware/graphics/common/
DBlendMode.aidl24 enum BlendMode { enum
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/current/android/hardware/graphics/common/
DBlendMode.aidl20 enum BlendMode { enum
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h75 void setBlendMode(IComposerClient::BlendMode blendMode) { mBlendMode = blendMode; } in setBlendMode()
85 IComposerClient::BlendMode mBlendMode = IComposerClient::BlendMode::NONE;
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp163 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
166 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
169 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
172 case HWC2::BlendMode::None: in SetLayerBlendMode()
Dhwc_layers.h64 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp189 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
192 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
195 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
198 case HWC2::BlendMode::None: in SetLayerBlendMode()
Dhwc_layers.h66 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp288 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
291 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
294 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
297 case HWC2::BlendMode::None: in SetLayerBlendMode()
Dhwc_layers.h70 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp312 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
315 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
318 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
321 case HWC2::BlendMode::None: in SetLayerBlendMode()
Dhwc_layers.h70 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp742 layer->setBlendMode(IComposerClient::BlendMode::PREMULTIPLIED); in TEST_P()
948 void setUpLayers(IComposerClient::BlendMode blendMode) { in setUpLayers()
979 IComposerClient::BlendMode blendMode = layer->mBlendMode; in setExpectedColors()
981 if (blendMode == IComposerClient::BlendMode::NONE) { in setExpectedColors()
988 } else if (blendMode == IComposerClient::BlendMode::PREMULTIPLIED) { in setExpectedColors()
998 } else if (blendMode == IComposerClient::BlendMode::COVERAGE) { in setExpectedColors()
1044 setUpLayers(IComposerClient::BlendMode::NONE); in TEST_P()
1103 setUpLayers(IComposerClient::BlendMode::COVERAGE); in TEST_P()
1154 setUpLayers(IComposerClient::BlendMode::PREMULTIPLIED); in TEST_P()
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp800 mWriter->setLayerBlendMode(IComposerClient::BlendMode::NONE); in TEST_P()
848 mWriter->setLayerBlendMode(IComposerClient::BlendMode::NONE); in TEST_P()
914 mWriter->setLayerBlendMode(IComposerClient::BlendMode::NONE); in TEST_P()
915 mWriter->setLayerBlendMode(IComposerClient::BlendMode::PREMULTIPLIED); in TEST_P()
916 mWriter->setLayerBlendMode(IComposerClient::BlendMode::COVERAGE); in TEST_P()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.h79 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
Dhwc_layers.cpp321 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
324 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
327 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
330 case HWC2::BlendMode::None: in SetLayerBlendMode()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp79 layerSettings.disableBlending = mBlendMode == IComposerClient::BlendMode::NONE; in toRenderEngineLayerSettings()
301 mBlendMode == IComposerClient::BlendMode::PREMULTIPLIED; in toRenderEngineLayerSettings()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.h80 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode);
Dhwc_layers.cpp345 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
348 case HWC2::BlendMode::Coverage: in SetLayerBlendMode()
351 case HWC2::BlendMode::Premultiplied: in SetLayerBlendMode()
354 case HWC2::BlendMode::None: in SetLayerBlendMode()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h540 HWC2::Error setBlendMode(HWC2::BlendMode mode);
592 HWC2::BlendMode mBlendMode;
638 auto mode = static_cast<HWC2::BlendMode>(intMode); in setLayerBlendModeHook()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h517 HWC2::Error setBlendMode(HWC2::BlendMode mode);
563 LatchedState<HWC2::BlendMode> mBlendMode;
605 auto mode = static_cast<HWC2::BlendMode>(intMode); in setLayerBlendModeHook()
DHWC2On1Adapter.cpp1981 mBlendMode(*this, BlendMode::None), in Layer()
2036 Error HWC2On1Adapter::Layer::setBlendMode(BlendMode mode) in setBlendMode()
2194 static int getHwc1Blending(HWC2::BlendMode blendMode) in getHwc1Blending()
2197 case BlendMode::Coverage: return HWC_BLENDING_COVERAGE; in getHwc1Blending()
2198 case BlendMode::Premultiplied: return HWC_BLENDING_PREMULT; in getHwc1Blending()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp49 using aidl::android::hardware::graphics::common::BlendMode;
1306 BlendMode blendMode = BlendMode::NONE; in TEST_P()
1308 EXPECT_EQ(BlendMode::INVALID, blendMode); in TEST_P()
1706 BlendMode blendMode = BlendMode::PREMULTIPLIED; in TEST_P()
1712 BlendMode realBlendMode = BlendMode::INVALID; in TEST_P()
2289 BlendMode blendMode = BlendMode::COVERAGE; in TEST_P()
2291 EXPECT_EQ(BlendMode::INVALID, blendMode); in TEST_P()
/hardware/libhardware/include/hardware/
Dhwcomposer2.h798 enum class BlendMode : int32_t { enum
804 TO_STRING(hwc2_blend_mode_t, BlendMode, getBlendModeName)
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1910 mBlendMode(BlendMode::None), in Layer()
1964 Error HWC2On1Adapter::Layer::setBlendMode(BlendMode mode) { in setBlendMode()
2117 static int getHwc1Blending(HWC2::BlendMode blendMode) { in getHwc1Blending()
2119 case BlendMode::Coverage: return HWC_BLENDING_COVERAGE; in getHwc1Blending()
2120 case BlendMode::Premultiplied: return HWC_BLENDING_PREMULT; in getHwc1Blending()

12