From 3ca76f416bc8665a97636ca8a2d0128b9da9d92c Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 6 Aug 2013 16:07:33 -0700 Subject: remove support for glReadPixels screenshot path this was only needed on some chipset we're not supporting in KLP. Change-Id: I2e8fc07f135030bd61d2e241a8e426f1a4316425 --- libs/gui/SurfaceComposerClient.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/gui/SurfaceComposerClient.cpp') 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 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& 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); -- cgit v1.2.3-59-g8ed1b