Merge changes I1f0e998b,I39adf4aa,I5b8ea4e2,I02928be0,I75b20025, ... into emu-master-dev
* changes:
emugl: Simplify RenderChannel interface.
emugl: Introduce BufferQueue class.
emugl: ChannelBuffer -> RenderChannel::Buffer
emugl: put ChannelStream/ReadBuffer/RenderThread in emugl namespace.
emugl: Move IOStream.h to host/include/libOpenglRender/
emugl: Add emugl/common/debug.h
diff --git a/android/emulation/AndroidPipe.cpp b/android/emulation/AndroidPipe.cpp
index 40cc1a4..40c1a83 100644
--- a/android/emulation/AndroidPipe.cpp
+++ b/android/emulation/AndroidPipe.cpp
@@ -319,14 +319,10 @@
class PipeWaker final : public DeviceContextRunner<PipeWakeCommand> {
public:
void signalWake(void* hwPipe, int wakeFlags) {
- PipeWakeCommand wake_cmd {
- .hwPipe = hwPipe,
- .wakeFlags = wakeFlags,
- };
- queueDeviceOperation(wake_cmd);
+ queueDeviceOperation({ hwPipe, wakeFlags });
}
void closeFromHost(void* hwPipe) {
- this->signalWake(hwPipe, PIPE_WAKE_CLOSED);
+ signalWake(hwPipe, PIPE_WAKE_CLOSED);
}
private:
virtual void performDeviceOperation(const PipeWakeCommand& wake_cmd) {