summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2017-03-31 17:10:06 -0700
committerDan Stoza <stoza@google.com>2017-04-06 11:42:58 -0700
commit7d290174b08a56ae6bc6719bec58805ca38b348b (patch)
tree4a3df003f4d0df97560501713c3cb86d65713e33 /opengl/tests/gl_basic/gl_basic.cpp
parent27c8115510cebda13cbe24fd4caa946ea9c5003c (diff)
libgui: Make BitTube Parcelable and use unique_fd
This change completes the Parcelable interface for BitTube (it was semi-Parcelable before as it implemented writeToParcel, but this adds the complementary readFromParcel). It also changes the send and receive file descriptors from ints to android::base::unique_fds, which simplifies some of their lifecycle management. Finally, it changes the default constructor to leave the class uninitialized, adding a BitTube(BitTube::DefaultSize) constructor to replace that functionality (and paving the way for the ability to default-construct a BitTube prior to readFromParcel'ing into it). Test: m -j + manual testing Change-Id: Ib0cba4c7c443b449a9a1837f07f7334395d4f10d
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions