Loading services/surfaceflinger/DisplayDevice.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,8 @@ DisplayDevice::DisplayDevice( ANativeWindow* const window = mNativeWindow.get(); #ifdef USE_HWC2 mActiveColorMode = static_cast<android_color_mode_t>(-1); // Set defaultColorMode to SRGB if this device supports wide-color mActiveColorMode = (supportWideColor) ? HAL_COLOR_MODE_SRGB : HAL_COLOR_MODE_NATIVE; mDisplayHasWideColor = supportWideColor; #else (void) supportWideColor; Loading Loading
services/surfaceflinger/DisplayDevice.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,8 @@ DisplayDevice::DisplayDevice( ANativeWindow* const window = mNativeWindow.get(); #ifdef USE_HWC2 mActiveColorMode = static_cast<android_color_mode_t>(-1); // Set defaultColorMode to SRGB if this device supports wide-color mActiveColorMode = (supportWideColor) ? HAL_COLOR_MODE_SRGB : HAL_COLOR_MODE_NATIVE; mDisplayHasWideColor = supportWideColor; #else (void) supportWideColor; Loading