Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27d3859c authored by Sasha McIntosh's avatar Sasha McIntosh
Browse files

Add connected display HDR V2 flag

Bug: 404620167
Test: adb shell dumpsys SurfaceFlinger | grep connected_display_hdr_v2
Flag: com.android.graphics.surfaceflinger.flags.connected_display_hdr_v2
Change-Id: I8304e5bc712decccf73cda0ab5c09bd3325bc8e5
parent b35f6122
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -140,6 +140,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(arr_setframerate_gte_enum);
    DUMP_ACONFIG_FLAG(begone_bright_hlg);
    DUMP_ACONFIG_FLAG(cache_when_source_crop_layer_only_moved);
    DUMP_ACONFIG_FLAG(connected_display_hdr_v2);
    DUMP_ACONFIG_FLAG(correct_dpi_with_display_size);
    DUMP_ACONFIG_FLAG(deprecate_frame_tracker);
    DUMP_ACONFIG_FLAG(deprecate_vsync_sf);
@@ -275,6 +276,7 @@ FLAG_MANAGER_ACONFIG_FLAG(flush_buffer_slots_to_uncache, "");
FLAG_MANAGER_ACONFIG_FLAG(force_compile_graphite_renderengine, "");
FLAG_MANAGER_ACONFIG_FLAG(true_hdr_screenshots, "debug.sf.true_hdr_screenshots");
FLAG_MANAGER_ACONFIG_FLAG(display_config_error_hal, "");
FLAG_MANAGER_ACONFIG_FLAG(connected_display_hdr_v2, "debug.sf.connected_display_hdr_v2");
FLAG_MANAGER_ACONFIG_FLAG(deprecate_frame_tracker, "");
FLAG_MANAGER_ACONFIG_FLAG(parse_edid_version_and_input_type,
                          "debug.sf.parse_edid_version_and_input_type");
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ public:
    bool arr_setframerate_gte_enum() const;
    bool begone_bright_hlg() const;
    bool cache_when_source_crop_layer_only_moved() const;
    bool connected_display_hdr_v2() const;
    bool correct_dpi_with_display_size() const;
    bool deprecate_frame_tracker() const;
    bool deprecate_vsync_sf() const;
+7 −0
Original line number Diff line number Diff line
@@ -89,6 +89,13 @@ flag {
  }
} # buffer_stuffing_fix

flag {
  name: "connected_display_hdr_v2"
  namespace: "desktop_display"
  description: "enable connected display hdr selection"
  bug: "374182788"
} # connected_display_hdr_v2

flag {
  name: "correct_dpi_with_display_size"
  namespace: "core_graphics"