blob: c32cc829101d368c79c0c65d6395a412e59a6680 [file] [log] [blame]
Peiyong Lin2b3f8262018-07-20 16:03:46 -07001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.1
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package android.hardware.configstore@1.2;
17
18import @1.1::ISurfaceFlingerConfigs;
19import @1.0::OptionalBool;
20
21/**
22 * New revision of ISurfaceFlingerConfigs
23 */
24interface ISurfaceFlingerConfigs extends @1.1::ISurfaceFlingerConfigs {
25 /**
26 * useColorManagement indicates whether SurfaceFlinger should manage color
27 * by switching to appropriate color mode automatically depending on the
28 * Dataspace of the surfaces on screen.
29 * This function must return true when hasWideColorDisplay or hasHDRDisplay
30 * return true.
31 */
32 useColorManagement() generates (OptionalBool value);
33};