diff options
Diffstat (limited to 'src/mbgl/renderer/prerendered_texture.hpp')
-rw-r--r-- | src/mbgl/renderer/prerendered_texture.hpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/mbgl/renderer/prerendered_texture.hpp b/src/mbgl/renderer/prerendered_texture.hpp deleted file mode 100644 index 3ccd24038d..0000000000 --- a/src/mbgl/renderer/prerendered_texture.hpp +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef MBGL_RENDERER_PRERENDERED_TEXTURE -#define MBGL_RENDERER_PRERENDERED_TEXTURE - -#include <mbgl/util/noncopyable.hpp> -#include <mbgl/platform/gl.hpp> - -namespace mbgl { - -class StyleBucketRaster; -class Painter; - -class PrerenderedTexture : private util::noncopyable { -public: - PrerenderedTexture(const StyleBucketRaster &properties); - ~PrerenderedTexture(); - - void bindTexture(); - void bindFramebuffer(); - void unbindFramebuffer(); - - inline GLuint getTexture() const { return texture; } - - void blur(Painter& painter, uint16_t passes); - -public: - const StyleBucketRaster &properties; - -private: - GLint previousFbo = 0; - GLuint fbo = 0; - GLuint texture = 0; - GLuint fboDepth= 0; - GLuint fboStencil = 0; -}; - -} - -#endif |