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 | 0ab84ef507f23505a72798fbe25cf4bb2c507ea3 (patch) | |
tree | ea360721418d5b13c376c4f2bcbb4066ebb65f93 /include/surfaceflinger | |
parent | 526f0a0e158cf46c244edc57624c15ebce26c71f (diff) | |
download | frameworks_base-0ab84ef507f23505a72798fbe25cf4bb2c507ea3.zip frameworks_base-0ab84ef507f23505a72798fbe25cf4bb2c507ea3.tar.gz frameworks_base-0ab84ef507f23505a72798fbe25cf4bb2c507ea3.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/surfaceflinger')
-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, }; |