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

Commit 2db35e7c authored by Alec Mouri's avatar Alec Mouri Committed by Gerrit Code Review
Browse files

Revert "Fix ping pong progress in the Kawase implementation."

This reverts commit a3e4bf46.

Reason for revert: b/340625902

Change-Id: I537c5d88fa5368b37713618239603ce8e28463d9
parent a3e4bf46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ sk_sp<SkImage> KawaseBlurFilter::generate(GrRecordingContext* context,
        surfaceTwo = surface->makeSurface(scaledInfo);
        LOG_ALWAYS_FATAL_IF(!surfaceTwo, "%s: Failed to create second blur surface!", __func__);

        for (auto i = 2; i <= numberOfPasses; i++) {
        for (auto i = 1; i < numberOfPasses; i++) {
            LOG_ALWAYS_FATAL_IF(tmpBlur == nullptr, "%s: tmpBlur is null for pass %d", __func__, i);
            blurBuilder.child("child") =
                    tmpBlur->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, linear);
+1 −1
Original line number Diff line number Diff line
@@ -1095,7 +1095,7 @@ void RenderEngineTest::fillBufferWithRoundedCorners() {

template <typename SourceVariant>
void RenderEngineTest::fillBufferAndBlurBackground() {
    auto blurRadius = 30;
    auto blurRadius = 50;
    auto center = DEFAULT_DISPLAY_WIDTH / 2;

    renderengine::DisplaySettings settings;