diff options
author | Mathias Agopian <mathias@google.com> | 2010-02-04 17:13:06 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-02-04 17:13:06 -0800 |
commit | a7e380396ea68b2247a61e6fc676724a976223f9 (patch) | |
tree | b51aab06d63397e9688653e32ac4955e73140ab8 /libs/surfaceflinger/LayerBuffer.h | |
parent | 8dccb26901973722164f2a11551fd6d5c52081bf (diff) | |
download | frameworks_native-a7e380396ea68b2247a61e6fc676724a976223f9.zip frameworks_native-a7e380396ea68b2247a61e6fc676724a976223f9.tar.gz frameworks_native-a7e380396ea68b2247a61e6fc676724a976223f9.tar.bz2 |
Add support for direct EGLImageKHR use with pushbuffer API
We now always first try to use the EGLImageKHR directly before
making a copy with copybit. The copy may be needed when
EGLImage doesn't support the requested format, which is
currently the case with YUV.
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.h')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.h b/libs/surfaceflinger/LayerBuffer.h index e03f92c..3257b76 100644 --- a/libs/surfaceflinger/LayerBuffer.h +++ b/libs/surfaceflinger/LayerBuffer.h @@ -145,6 +145,7 @@ private: mutable LayerBase::Texture mTexture; mutable NativeBuffer mTempBuffer; mutable sp<GraphicBuffer> mTempGraphicBuffer; + mutable bool mUseEGLImageDirectly; }; class OverlaySource : public Source { |