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

Commit 9dd91dec authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Make updateSurface non-blocking

am: cd68212f

Change-Id: I691e5a2979e92572440ad7c410e8f0cec6169beb
parents 6d395bfd cd68212f
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -519,16 +519,6 @@ public final class ThreadedRenderer {
        }
    }

    /**
     * This method should be invoked whenever the current hardware renderer
     * context should be reset.
     *
     * @param surface The surface to hardware accelerate
     */
    void invalidate(Surface surface) {
        updateSurface(surface);
    }

    /**
     * Detaches the layer's surface texture from the GL context and releases
     * the texture id
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ void RenderProxy::updateSurface(const sp<Surface>& surface) {
    SETUP_TASK(updateSurface);
    args->context = mContext;
    args->surface = surface.get();
    postAndWait(task);
    post(task);
}

CREATE_BRIDGE2(pauseSurface, CanvasContext* context, Surface* surface) {