diff options
| author | 2013-08-06 16:07:33 -0700 | |
|---|---|---|
| committer | 2013-08-06 16:07:33 -0700 | |
| commit | 3ca76f416bc8665a97636ca8a2d0128b9da9d92c (patch) | |
| tree | 6e5cc0e4f1f362b2eeb207fbe50fd17de19776f9 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 126b9c8e95743c0567a3809a5b8d37bda1c25397 (diff) | |
remove support for glReadPixels screenshot path
this was only needed on some chipset we're not
supporting in KLP.
Change-Id: I2e8fc07f135030bd61d2e241a8e426f1a4316425
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 048553c7eb..e067479c92 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -618,8 +618,7 @@ status_t ScreenshotClient::capture( sp<ISurfaceComposer> s(ComposerService::getComposerService()); if (s == NULL) return NO_INIT; return s->captureScreen(display, producer, - reqWidth, reqHeight, minLayerZ, maxLayerZ, - false); + reqWidth, reqHeight, minLayerZ, maxLayerZ); } ScreenshotClient::ScreenshotClient() @@ -654,7 +653,7 @@ status_t ScreenshotClient::update(const sp<IBinder>& display, } status_t err = s->captureScreen(display, mBufferQueue, - reqWidth, reqHeight, minLayerZ, maxLayerZ, true); + reqWidth, reqHeight, minLayerZ, maxLayerZ); if (err == NO_ERROR) { err = mCpuConsumer->lockNextBuffer(&mBuffer); |