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