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

Commit 45c11b10 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "libhwui: make setSurface asynchronous"

This reverts commit 3973c59b.

Change-Id: I9348e68bcecb30a66a71e571fdce587f786aad7d
parent d904207b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -117,7 +117,6 @@ private:
    // TODO: Replace with something better for layer & other GL object
    // lifecycle tracking
    friend class android::uirenderer::RenderState;
    friend class RenderProxy;

    void setSurface(ANativeWindow* window);
    void swapBuffers(const SkRect& dirty, EGLint width, EGLint height);
+1 −3
Original line number Diff line number Diff line
@@ -147,9 +147,7 @@ bool RenderProxy::initialize(const sp<ANativeWindow>& window) {
    SETUP_TASK(initialize);
    args->context = mContext;
    args->window = window.get();
    bool ret = mContext->mCanvas == NULL;
    post(task);
    return ret;
    return (bool) postAndWait(task);
}

CREATE_BRIDGE2(updateSurface, CanvasContext* context, ANativeWindow* window) {