Searched refs:blendMode (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp656 hwc2_blend_mode_t blendMode = testLayers->getBlendMode(*layer); local
658 if (blendMode == HWC2_BLEND_MODE_PREMULTIPLIED) {
666 if (blendMode == HWC2_BLEND_MODE_PREMULTIPLIED) {
671 } else if (blendMode == HWC2_BLEND_MODE_COVERAGE) {
H A DHwc2TestProperties.cpp156 hwc2_blend_mode_t blendMode)
161 mBlendMode(blendMode)
176 void Hwc2TestColor::updateBlendMode(hwc2_blend_mode_t blendMode) argument
178 mBlendMode = blendMode;
155 Hwc2TestColor(Hwc2TestCoverage coverage, hwc2_blend_mode_t blendMode) argument
H A DHwc2TestProperties.h195 hwc2_blend_mode_t blendMode = HWC2_BLEND_MODE_NONE);
199 void updateBlendMode(hwc2_blend_mode_t blendMode);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp616 auto blendMode = HWC2::BlendMode::None; local
618 blendMode = mPremultipliedAlpha ?
621 auto error = hwcLayer->setBlendMode(blendMode);
623 " %s (%d)", mName.string(), to_string(blendMode).c_str(),
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp2099 static int getHwc1Blending(HWC2::BlendMode blendMode) { argument
2100 switch (blendMode) {

Completed in 666 milliseconds