diff options
author | Dan Stoza <stoza@google.com> | 2017-04-03 13:09:08 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2017-04-06 11:52:11 -0700 |
commit | 6b698e4fe4ff50dcef818452283637f9870ae770 (patch) | |
tree | dacce20234785575e8df1446f3ef0f7adc5bad99 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 7d290174b08a56ae6bc6719bec58805ca38b348b (diff) |
libgui: Remove RefBase from BitTube
Removes RefBase from BitTube, since because it is not a Binder object,
it doesn't need to be reference-counted in this way.
In the process, we rename IDisplayEventConnection::getDataChannel to
IDEC::stealReceiveChannel to make it clearer that this is a non-const
operation on the remote end that removes its access to the receive
channel.
This also adds a couple of methods for moving the receive file
descriptor out of one BitTube and into another, since this is the
essence of the IDisplayEventConnection::stealReceiveChannel method,
and now with C++11 move semantics, we can do this without needing to
return an sp<> from EventThread's implementation of stealReceiveChannel.
Test: m -j + manual testing
Change-Id: Ibaaca2a14fb6155052fe5434c14bc3e671b43743
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions