summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/Layer.h
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-10-23 19:02:12 -0400
committer Android (Google) Code Review <android-gerrit@google.com> 2009-10-23 19:02:12 -0400
commitb15705988b5ec6a9afb685f3e742bd44d51ac74c (patch)
tree4125091c671e9fd56bb292f54b04b3668a8fadab /libs/surfaceflinger/Layer.h
parent9521fc0f17c227fa79dd4d830d4607557d060f00 (diff)
parent57720c384af81327d327ef8b88078f11a750fd05 (diff)
Merge change I56c3504f into eclair
* changes: fix [2211532] improves sholes graphics performance
Diffstat (limited to 'libs/surfaceflinger/Layer.h')
-rw-r--r--libs/surfaceflinger/Layer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaceflinger/Layer.h b/libs/surfaceflinger/Layer.h
index 702c51a55c..57b3dfa41e 100644
--- a/libs/surfaceflinger/Layer.h
+++ b/libs/surfaceflinger/Layer.h
@@ -85,6 +85,8 @@ private:
}
void reloadTexture(const Region& dirty);
+ status_t initializeEglImageLocked(
+ const sp<GraphicBuffer>& buffer, Texture* texture);
uint32_t getEffectiveUsage(uint32_t usage) const;
@@ -118,6 +120,7 @@ private:
// protected by mLock
sp<GraphicBuffer> mBuffers[NUM_BUFFERS];
Texture mTextures[NUM_BUFFERS];
+ sp<GraphicBuffer> mHybridBuffer;
uint32_t mWidth;
uint32_t mHeight;