diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-06 16:07:33 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-06 16:07:33 -0700 |
commit | 3ca76f416bc8665a97636ca8a2d0128b9da9d92c (patch) | |
tree | 6e5cc0e4f1f362b2eeb207fbe50fd17de19776f9 /libs/gui/ISurfaceComposer.cpp | |
parent | 126b9c8e95743c0567a3809a5b8d37bda1c25397 (diff) | |
download | frameworks_native-3ca76f416bc8665a97636ca8a2d0128b9da9d92c.zip frameworks_native-3ca76f416bc8665a97636ca8a2d0128b9da9d92c.tar.gz frameworks_native-3ca76f416bc8665a97636ca8a2d0128b9da9d92c.tar.bz2 |
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/ISurfaceComposer.cpp')
-rw-r--r-- | libs/gui/ISurfaceComposer.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/gui/ISurfaceComposer.cpp b/libs/gui/ISurfaceComposer.cpp index 6442a86..a9217ca 100644 --- a/libs/gui/ISurfaceComposer.cpp +++ b/libs/gui/ISurfaceComposer.cpp @@ -105,8 +105,7 @@ public: virtual status_t captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, uint32_t reqWidth, uint32_t reqHeight, - uint32_t minLayerZ, uint32_t maxLayerZ, - bool isCpuConsumer) + uint32_t minLayerZ, uint32_t maxLayerZ) { Parcel data, reply; data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); @@ -116,7 +115,6 @@ public: data.writeInt32(reqHeight); data.writeInt32(minLayerZ); data.writeInt32(maxLayerZ); - data.writeInt32(isCpuConsumer); remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); return reply.readInt32(); } @@ -275,10 +273,8 @@ status_t BnSurfaceComposer::onTransact( uint32_t reqHeight = data.readInt32(); uint32_t minLayerZ = data.readInt32(); uint32_t maxLayerZ = data.readInt32(); - bool isCpuConsumer = data.readInt32(); status_t res = captureScreen(display, producer, - reqWidth, reqHeight, minLayerZ, maxLayerZ, - isCpuConsumer); + reqWidth, reqHeight, minLayerZ, maxLayerZ); reply->writeInt32(res); } break; case AUTHENTICATE_SURFACE: { |