summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/TextureManager.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-06-25 09:25:19 -0700
committerAndreas Huber <andih@google.com>2010-06-25 11:05:37 -0700
commit330dd304a471d260a73e342a240921c03c825f99 (patch)
treedc4fb488faab0e0f3fac616cb8cb58632cf32d7b /libs/surfaceflinger/TextureManager.h
parent357f8209f3aec63fa2779da4eeab8825f80b0a41 (diff)
downloadframeworks_base-330dd304a471d260a73e342a240921c03c825f99.zip
frameworks_base-330dd304a471d260a73e342a240921c03c825f99.tar.gz
frameworks_base-330dd304a471d260a73e342a240921c03c825f99.tar.bz2
Revert "fix [2793164] Spam 2x/second with TOT master in SurfaceFlinger"
This reverts commit 081bc5c47d8a980e6eafa70ddafcd89981586391.
Diffstat (limited to 'libs/surfaceflinger/TextureManager.h')
-rw-r--r--libs/surfaceflinger/TextureManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/surfaceflinger/TextureManager.h b/libs/surfaceflinger/TextureManager.h
index c7c14e7..1f7fe3f 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,