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

Commit 33aa2820 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Remove unused method

Test: make
Fixes: 154550368
Change-Id: I4451d893011150f1f07118fff27380e3d5aaa7d0
parent 2984b7af
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;