/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
D | ComposerHal.h | 31 using common::V1_1::ColorMode; 58 Error getColorModes(Display display, hidl_vec<common::V1_0::ColorMode>* outModes) override { in getColorModes() 59 return getColorModes_2_2(display, reinterpret_cast<hidl_vec<ColorMode>*>(outModes)); in getColorModes() 63 Error setColorMode(Display display, common::V1_0::ColorMode mode) override { in setColorMode() 64 return setColorMode_2_2(display, static_cast<ColorMode>(mode), RenderIntent::COLORIMETRIC); in setColorMode() 87 virtual Error getColorModes_2_2(Display display, hidl_vec<ColorMode>* outModes) = 0; 88 virtual Error getRenderIntents(Display display, ColorMode mode, 90 virtual Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) = 0;
|
D | ComposerClient.h | 127 hidl_vec<ColorMode> modes; in getColorModes_2_2() 133 Return<void> getRenderIntents(Display display, ColorMode mode, in getRenderIntents() 147 Return<Error> setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2()
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ComposerVts.h | 40 using android::hardware::graphics::common::V1_1::ColorMode; 82 std::vector<ColorMode> getColorModes(Display display); 83 std::vector<RenderIntent> getRenderIntents(Display display, ColorMode mode); 84 void setColorMode(Display display, ColorMode mode, RenderIntent intent);
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 38 using android::hardware::graphics::common::V1_1::ColorMode; 336 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F() 338 auto nativeMode = std::find(modes.cbegin(), modes.cend(), ColorMode::NATIVE); in TEST_F() 346 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F() 353 case ColorMode::BT2100_PQ: in TEST_F() 354 case ColorMode::BT2100_HLG: in TEST_F() 373 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/ |
D | ComposerVts.h | 37 using android::hardware::graphics::common::V1_0::ColorMode; 89 std::vector<ColorMode> getColorModes(Display display); 101 void setColorMode(Display display, ColorMode mode);
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
D | HwcHal.h | 37 using common::V1_1::ColorMode; 168 Error getColorModes_2_2(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes_2_2() 170 reinterpret_cast<hidl_vec<common::V1_0::ColorMode>*>(outModes)); in getColorModes_2_2() 173 Error getRenderIntents(Display display, ColorMode mode, in getRenderIntents() 200 Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2() 205 return setColorMode(display, static_cast<common::V1_0::ColorMode>(mode)); in setColorMode_2_2()
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 153 std::vector<ColorMode> ComposerClient_v2_2::getColorModes(Display display) { in getColorModes() 154 std::vector<ColorMode> modes; in getColorModes() 162 std::vector<RenderIntent> ComposerClient_v2_2::getRenderIntents(Display display, ColorMode mode) { in getRenderIntents() 172 void ComposerClient_v2_2::setColorMode(Display display, ColorMode mode, RenderIntent intent) { in setColorMode()
|
/hardware/interfaces/graphics/common/1.0/ |
D | Android.bp | 15 "ColorMode",
|
/hardware/interfaces/graphics/common/1.1/ |
D | Android.bp | 18 "ColorMode",
|
D | types.hal | 20 import @1.0::ColorMode; 181 enum ColorMode : @1.0::ColorMode { 246 * modes. It is ignored when the color mode is ColorMode::NATIVE, because 247 * ColorMode::NATIVE colors are already display colors. 257 * ColorMode::NATIVE is the only supported color mode.
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerHal.h | 39 using common::V1_0::ColorMode; 82 virtual Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) = 0; 94 virtual Error setColorMode(Display display, ColorMode mode) = 0;
|
D | ComposerClient.h | 196 hidl_vec<ColorMode> modes; in getColorModes() 259 Return<Error> setColorMode(Display display, ColorMode mode) override { in setColorMode()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 178 std::vector<ColorMode> ComposerClient::getColorModes(Display display) { in getColorModes() 179 std::vector<ColorMode> modes; in getColorModes() 267 void ComposerClient::setColorMode(Display display, ColorMode mode) { in setColorMode()
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 45 using android::hardware::graphics::common::V1_0::ColorMode; 295 std::unordered_set<ColorMode> validModes; in TEST_F() 296 for (auto mode : hidl_enum_iterator<ColorMode>()) { in TEST_F() 300 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
|
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/ |
D | HwcHal.h | 47 using android::hardware::graphics::common::V1_0::ColorMode; 182 Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes() 192 reinterpret_cast<std::underlying_type<ColorMode>::type*>(outModes->data())); in getColorModes() 194 *outModes = hidl_vec<ColorMode>(); in getColorModes() 289 Error setColorMode(Display display, ColorMode mode) override { in setColorMode()
|
/hardware/interfaces/graphics/composer/2.2/ |
D | IComposerClient.hal | 19 import android.hardware.graphics.common@1.1::ColorMode; 343 * All devices must support at least ColorMode::NATIVE. 352 vec<ColorMode> modes); 368 getRenderIntents(Display display, ColorMode mode) 378 * All devices must support at least ColorMode::NATIVE and 391 setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent)
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.h | 234 class ColorMode { 687 qhwc::ColorMode *mColorMode;
|
D | hwc_utils.cpp | 423 ctx->mColorMode = new ColorMode(); in initContext() 2855 void ColorMode::init() { in init() 2887 int ColorMode::applyDefaultMode() { in applyDefaultMode() 2900 int ColorMode::applyModeByID(int modeID) { in applyModeByID() 2913 int ColorMode::applyModeByIndex(int index) { in applyModeByIndex() 2928 int ColorMode::setDefaultMode(int modeID) { in setDefaultMode() 2937 int ColorMode::getModeForIndex(int index) { in getModeForIndex() 2945 int ColorMode::getIndexForMode(int mode) { in getIndexForMode() 2954 void ColorMode::destroy() { in destroy()
|
D | HWC2On1Adapter.cpp | 78 static constexpr Attribute ColorMode = static_cast<Attribute>(6); variable 1203 newConfig->setAttribute(ColorMode, in populateConfigs() 1683 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode)); in setHwc1Id() 1734 static_cast<android_color_mode_t>(other.getAttribute(ColorMode)); in merge()
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 53 static constexpr Attribute ColorMode = static_cast<Attribute>(6); variable 1159 newConfig->setAttribute(ColorMode, in populateConfigs() 1596 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode)); in setHwc1Id() 1643 static_cast<android_color_mode_t>(other.getAttribute(ColorMode)); in merge()
|
/hardware/interfaces/graphics/composer/2.1/ |
D | IComposerClient.hal | 379 * All devices must support at least ColorMode::NATIVE. 389 vec<ColorMode> modes); 524 * All devices must support at least ColorMode::NATIVE, and displays are 535 setColorMode(Display display, ColorMode mode) generates (Error error);
|