diff options
Diffstat (limited to 'libs/surfaceflinger/TextureManager.h')
-rw-r--r-- | libs/surfaceflinger/TextureManager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/surfaceflinger/TextureManager.h b/libs/surfaceflinger/TextureManager.h index c7c14e70bb44..1f7fe3f0cae3 100644 --- a/libs/surfaceflinger/TextureManager.h +++ b/libs/surfaceflinger/TextureManager.h @@ -32,7 +32,6 @@ namespace android { // --------------------------------------------------------------------------- -class GLExtensions; class GraphicBuffer; // --------------------------------------------------------------------------- @@ -62,7 +61,7 @@ struct Texture : public Image { // --------------------------------------------------------------------------- class TextureManager { - const GLExtensions& mGLExtensions; + uint32_t mFlags; static status_t initTexture(Image* texture, int32_t format); static status_t initTexture(Texture* texture); static bool isSupportedYuvFormat(int format); @@ -70,7 +69,7 @@ class TextureManager { static GLenum getTextureTarget(const Image* pImage); public: - TextureManager(); + TextureManager(uint32_t flags); // load bitmap data into the active buffer status_t loadTexture(Texture* texture, |