diff options
author | Andy McFadden <fadden@android.com> | 2014-05-12 23:18:30 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-12 23:18:30 +0000 |
commit | 4ae3cfd801f0e62c2863d20a8ecc21369351c205 (patch) | |
tree | 3965cd98b12c5753e77c2f6fd5e003926ff843d9 /cmds/screenrecord/EglWindow.h | |
parent | c1b0056ea57978a77a6fac0ea80861b39140696f (diff) | |
parent | 21bde57f0099fed5cca78d9357571dc015a63227 (diff) | |
download | frameworks_av-4ae3cfd801f0e62c2863d20a8ecc21369351c205.zip frameworks_av-4ae3cfd801f0e62c2863d20a8ecc21369351c205.tar.gz frameworks_av-4ae3cfd801f0e62c2863d20a8ecc21369351c205.tar.bz2 |
am 21bde57f: Add frame dump output
* commit '21bde57f0099fed5cca78d9357571dc015a63227':
Add frame dump output
Diffstat (limited to 'cmds/screenrecord/EglWindow.h')
-rw-r--r-- | cmds/screenrecord/EglWindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds/screenrecord/EglWindow.h b/cmds/screenrecord/EglWindow.h index 02a2efc..69d0c31 100644 --- a/cmds/screenrecord/EglWindow.h +++ b/cmds/screenrecord/EglWindow.h @@ -44,6 +44,9 @@ public: // Creates an EGL window for the supplied surface. status_t createWindow(const sp<IGraphicBufferProducer>& surface); + // Creates an EGL pbuffer surface. + status_t createPbuffer(int width, int height); + // Return width and height values (obtained from IGBP). int getWidth() const { return mWidth; } int getHeight() const { return mHeight; } @@ -65,7 +68,7 @@ private: EglWindow& operator=(const EglWindow&); // Init display, create config and context. - status_t eglSetupContext(); + status_t eglSetupContext(bool forPbuffer); void eglRelease(); // Basic EGL goodies. |