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

Commit 873228ef authored by Fabien Sanglard's avatar Fabien Sanglard Committed by Android (Google) Code Review
Browse files

Merge "Delete unused clip parameter in drawWithOpenGL"

parents 2302daa9 8578980f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -972,7 +972,7 @@ void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
    } else {
        engine.setupLayerBlackedOut();
    }
    drawWithOpenGL(hw, clip, useIdentityTransform);
    drawWithOpenGL(hw, useIdentityTransform);
    engine.disableTexturing();
}

@@ -993,7 +993,7 @@ void Layer::clearWithOpenGL(
}

void Layer::drawWithOpenGL(const sp<const DisplayDevice>& hw,
        const Region& /* clip */, bool useIdentityTransform) const {
        bool useIdentityTransform) const {
    const State& s(getDrawingState());

    computeGeometry(hw, mMesh, useIdentityTransform);
+1 −1
Original line number Diff line number Diff line
@@ -461,7 +461,7 @@ private:
    // drawing
    void clearWithOpenGL(const sp<const DisplayDevice>& hw,
            float r, float g, float b, float alpha) const;
    void drawWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip,
    void drawWithOpenGL(const sp<const DisplayDevice>& hw,
            bool useIdentityTransform) const;

    // Temporary - Used only for LEGACY camera mode.