diff options
| author | 2010-01-20 13:44:53 -0800 | |
|---|---|---|
| committer | 2010-01-20 13:44:53 -0800 | |
| commit | 3bc0346b3da584fcb529807b697ff6a22af18bb4 (patch) | |
| tree | 8e6283d51c24bb4e56d8b4fb171d36fb6bb714c7 /libs/surfaceflinger/LayerBuffer.h | |
| parent | 06b3ff7d5a7903d6804d295110820c121629ee4d (diff) | |
| parent | 7323e545c8778beb6736a09a5d2c9f81b451e13f (diff) | |
Merge "fix [2363506] [Sapphire] Video playback broken"
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.h')
| -rw-r--r-- | libs/surfaceflinger/LayerBuffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.h b/libs/surfaceflinger/LayerBuffer.h index 2ca63aca7a38..90f83c4c12cc 100644 --- a/libs/surfaceflinger/LayerBuffer.h +++ b/libs/surfaceflinger/LayerBuffer.h @@ -99,6 +99,9 @@ private: class Buffer : public LightRefBase<Buffer> { public: Buffer(const ISurface::BufferHeap& buffers, ssize_t offset); + inline bool supportsCopybit() const { + return mSupportsCopybit; + } inline status_t getStatus() const { return mBufferHeap.heap!=0 ? NO_ERROR : NO_INIT; } @@ -113,6 +116,7 @@ private: private: ISurface::BufferHeap mBufferHeap; NativeBuffer mNativeBuffer; + bool mSupportsCopybit; }; class BufferSource : public Source { |