Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 1 | |
| 2 | #ifndef SURFACEFLINGERPROPERTIES_H_ |
| 3 | #define SURFACEFLINGERPROPERTIES_H_ |
| 4 | |
| 5 | #include <android/hardware/configstore/1.1/ISurfaceFlingerConfigs.h> |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame^] | 6 | #include <android/hardware/graphics/common/1.2/types.h> |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 7 | #include <sysprop/SurfaceFlingerProperties.sysprop.h> |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame^] | 8 | #include <ui/ConfigStoreTypes.h> |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 9 | |
| 10 | #include <cstdint> |
| 11 | #include <optional> |
| 12 | #include <vector> |
| 13 | |
| 14 | namespace android { |
| 15 | namespace sysprop { |
| 16 | |
| 17 | int64_t vsync_event_phase_offset_ns(int64_t defaultValue); |
| 18 | |
| 19 | int64_t vsync_sf_event_phase_offset_ns(int64_t defaultValue); |
| 20 | |
| 21 | bool use_context_priority(bool defaultValue); |
| 22 | |
| 23 | int64_t max_frame_buffer_acquired_buffers(int64_t defaultValue); |
| 24 | |
| 25 | bool has_wide_color_display(bool defaultValue); |
| 26 | |
| 27 | bool running_without_sync_framework(bool defaultValue); |
| 28 | |
| 29 | bool has_HDR_display(bool defaultValue); |
| 30 | |
| 31 | int64_t present_time_offset_from_vsync_ns(int64_t defaultValue); |
| 32 | |
| 33 | bool force_hwc_copy_for_virtual_displays(bool defaultValue); |
| 34 | |
| 35 | int64_t max_virtual_display_dimension(int64_t defaultValue); |
| 36 | |
| 37 | bool use_vr_flinger(bool defaultValue); |
| 38 | |
| 39 | bool start_graphics_allocator_service(bool defaultValue); |
| 40 | |
| 41 | SurfaceFlingerProperties::primary_display_orientation_values primary_display_orientation( |
| 42 | SurfaceFlingerProperties::primary_display_orientation_values defaultValue); |
| 43 | |
| 44 | bool use_color_management(bool defaultValue); |
| 45 | |
| 46 | int64_t default_composition_dataspace( |
| 47 | android::hardware::graphics::common::V1_2::Dataspace defaultValue); |
| 48 | |
| 49 | int32_t default_composition_pixel_format( |
Kevin DuBois | 73d0f48 | 2019-01-25 11:18:03 -0800 | [diff] [blame] | 50 | android::hardware::graphics::common::V1_2::PixelFormat defaultValue); |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 51 | |
| 52 | int64_t wcg_composition_dataspace( |
| 53 | android::hardware::graphics::common::V1_2::Dataspace defaultValue); |
| 54 | |
| 55 | int32_t wcg_composition_pixel_format( |
Kevin DuBois | 73d0f48 | 2019-01-25 11:18:03 -0800 | [diff] [blame] | 56 | android::hardware::graphics::common::V1_2::PixelFormat defaultValue); |
Sundong Ahn | 85131bd | 2019-02-18 15:51:53 +0900 | [diff] [blame] | 57 | |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame^] | 58 | android::ui::DisplayPrimaries getDisplayNativePrimaries(); |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 59 | } // namespace sysprop |
| 60 | } // namespace android |
| 61 | #endif // SURFACEFLINGERPROPERTIES_H_ |