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

Commit 8556ab87 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Remove unused code from HWUI Layer

Change-Id: If9046add5ca5a647351187c5809841edcf0bfa9b
parent d79f237d
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;