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

Commit 8578980f authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Delete unused clip parameter in drawWithOpenGL

Change-Id: Ia4662ccf9b5544c1a8c5252b4c8485fddd09e713
parent 4cffc50f
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, const Region& clip,
            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.