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

Commit b1ffebea authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Remove unused method" into rvc-dev am: 85aff0a3 am: bc5d0878

Change-Id: Ic56dc417aa7c369a647471722660bca66018bf5a
parents 2f5473cb bc5d0878
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -261,15 +261,6 @@ string BlurFilter::getMixFragShader() const {
    return shader;
}

void BlurFilter::blit(GLFramebuffer& read, GLFramebuffer& draw) const {
    ATRACE_NAME("BlurFilter::blit");
    read.bindAsReadBuffer();
    draw.bindAsDrawBuffer();
    glBlitFramebuffer(0, 0, read.getBufferWidth(), read.getBufferHeight(), 0, 0,
                      draw.getBufferWidth(), draw.getBufferHeight(), GL_COLOR_BUFFER_BIT,
                      GL_LINEAR);
}

} // namespace gl
} // namespace renderengine
} // namespace android
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public:
private:
    uint32_t mRadius;
    void drawMesh(GLuint uv, GLuint position);
    void blit(GLFramebuffer& read, GLFramebuffer& draw) const;
    string getVertexShader() const;
    string getFragmentShader() const;
    string getMixFragShader() const;