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

Commit b315af51 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

SF FlagManager: Add a method for checking multithreaded_present

Factored out of Ib9d074671e32c95875ef7e0791dd95d6e595e47a to avoid
more potential rebases. That CL will use the flag.

Bug: 241285491
Bug: 259132483
Test: adb shell dumpsys SurfaceFlinger | grep multithreaded_present
  -- verify flag shows up default false.

Change-Id: Id3ba46cbc0c9487bf3b29e7b9d4de58e5ee8e459
parent d5a57a5d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_FLAG(vrr_config);
    DUMP_FLAG(hotplug2);
    DUMP_FLAG(hdcp_level_hal);
    DUMP_FLAG(multithreaded_present);

#undef DUMP_FLAG
}
@@ -169,6 +170,7 @@ FLAG_MANAGER_READ_ONLY_FLAG(misc1, "")
FLAG_MANAGER_READ_ONLY_FLAG(vrr_config, "debug.sf.enable_vrr_config")
FLAG_MANAGER_READ_ONLY_FLAG(hotplug2, "")
FLAG_MANAGER_READ_ONLY_FLAG(hdcp_level_hal, "")
FLAG_MANAGER_READ_ONLY_FLAG(multithreaded_present, "debug.sf.multithreaded_present")

/// Trunk stable server flags ///
FLAG_MANAGER_SERVER_FLAG(late_boot_misc2, "")
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ public:
    bool vrr_config() const;
    bool hotplug2() const;
    bool hdcp_level_hal() const;
    bool multithreaded_present() const;

    /// Trunk stable server flags ///
    bool late_boot_misc2() const;