Skip to content

Commit 6d560d8

Browse files
author
Jim Shargo
committed
bufferqueues: IConsumerListener/IGraphicBufferConsumer no longer need binder
This CL removes the use of binder from IConsumerListener and IGraphicBufferConsumer. These interfaces are both only ever called by BufferQueue and/or BufferQueueConsumer classes and not exposed outside the process. As a result, there's no benefit to using binder interfaces for them, since the process would have to crash if BufferQueue or BufferQueueConsumer calls methods that are not supported. This also fixes up a currently-disabled BufferQueue test. Bug: 389157713 Change-Id: I119839d2441b3a1455ff840dff4154cf54a425fa Flag: EXEMPT refactor Test: builds, presubmit
1 parent 19a57c0 commit 6d560d8

19 files changed

Lines changed: 85 additions & 503 deletions

libs/gui/Android.bp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,6 @@ filegroup {
266266
"FenceMonitor.cpp",
267267
"Flags.cpp",
268268
"GLConsumer.cpp",
269-
"IConsumerListener.cpp",
270-
"IGraphicBufferConsumer.cpp",
271269
"IGraphicBufferProducer.cpp",
272270
"IProducerListener.cpp",
273271
"ISurfaceComposer.cpp",

libs/gui/IConsumerListener.cpp

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)