diff options
author | Mathias Agopian <mathias@google.com> | 2011-10-13 16:02:48 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-10-18 20:21:47 -0700 |
commit | 118d0245ee0a3b107055782aa8b555404b6f0280 (patch) | |
tree | d972c2f51239dcdf92ecb4ec71848389cda1c886 /include | |
parent | 3a3cad30c40c8eb87671262a9fe7f0e214b6a934 (diff) | |
download | frameworks_native-118d0245ee0a3b107055782aa8b555404b6f0280.zip frameworks_native-118d0245ee0a3b107055782aa8b555404b6f0280.tar.gz frameworks_native-118d0245ee0a3b107055782aa8b555404b6f0280.tar.bz2 |
Add a LayerScreenshot
A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.
Make sure to call compositionComplete() after rendering into a FBO.
Bug: 5446982, 5467587, 5466259
Change-Id: I5d8a1b4c327f9973d950cd4f4c0bca7f62825cd4
Diffstat (limited to 'include')
-rw-r--r-- | include/surfaceflinger/ISurfaceComposer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/surfaceflinger/ISurfaceComposer.h b/include/surfaceflinger/ISurfaceComposer.h index ea022a6..e7a33f1 100644 --- a/include/surfaceflinger/ISurfaceComposer.h +++ b/include/surfaceflinger/ISurfaceComposer.h @@ -53,6 +53,7 @@ public: eFXSurfaceNormal = 0x00000000, eFXSurfaceBlur = 0x00010000, eFXSurfaceDim = 0x00020000, + eFXSurfaceScreenshot= 0x00030000, eFXSurfaceMask = 0x000F0000, }; |