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

Commit 36f5994c authored by Arthur Hung's avatar Arthur Hung Committed by Android (Google) Code Review
Browse files

Merge "Add a flag for the VRR small dirty detection" into main

parents 75710b2b c99303bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4025,7 +4025,7 @@ void SurfaceFlinger::initScheduler(const sp<const DisplayDevice>& display) {

    if (sysprop::use_content_detection_for_refresh_rate(false)) {
        features |= Feature::kContentDetection;
        if (base::GetBoolProperty("debug.sf.enable_small_dirty_detection"s, false)) {
        if (flags::vrr_small_dirty_detection()) {
            features |= Feature::kSmallDirtyContentDetection;
        }
    }
+8 −0
Original line number Diff line number Diff line
@@ -30,3 +30,11 @@ flag {
  bug: "284845445"
  is_fixed_read_only: true
}

flag {
  name: "vrr_small_dirty_detection"
  namespace: "core_graphics"
  description: "Controls small dirty detection for VRR"
  bug: "283055450"
  is_fixed_read_only: true
}