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

Commit ae9c4cb9 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "Remove unused code from HWUI Layer"

parents dcd9a83e 8556ab87
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -54,8 +54,6 @@ Layer::~Layer() {
    if (texture.mId) {
        texture.deleteTexture();
    }

    delete[] mesh;
}

void Layer::onGlContextLost() {
+0 −6
Original line number Diff line number Diff line
@@ -188,12 +188,6 @@ public:
     */
    Rect clipRect;

    /**
     * If the layer can be rendered as a mesh, this is non-null.
     */
    TextureVertex* mesh = nullptr;
    GLsizei meshElementCount = 0;

private:
    Caches& caches;