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

Commit fa229841 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Reduce number or blur passes

UX radius requirements were relaxed from 250px to 150px.
This means that we don't need as many passes anymore to achieve the
effect.

Test: visual
Bug: 152952628
Change-Id: I3a7cc152554636207c643a0c0cdd5c672f094c4f
parent 81ab746c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ public:
    // Downsample FBO to improve performance
    static constexpr float kFboScale = 0.25f;
    // Maximum number of render passes
    static constexpr uint32_t kMaxPasses = 6;
    static constexpr uint32_t kMaxPasses = 4;
    // To avoid downscaling artifacts, we interpolate the blurred fbo with the full composited
    // image, up to this radius.
    static constexpr float kMaxCrossFadeRadius = 30.0f;