summaryrefslogtreecommitdiff
path: root/opengl/libagl/matrix.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-07-29 09:17:54 -0700
committer Siarhei Vishniakou <svv@google.com> 2019-08-07 18:36:47 -0700
commite7c94b9a5aa3b0425779fa1bb4dd8d3b0c7a6b8b (patch)
tree069637d11f96aa63bd0eac81ced085a8f515b37b /opengl/libagl/matrix.cpp
parent44a2aed57a1d016b2e0301d355a178c0d996c127 (diff)
Use unique_ptr for CommandEntry
Currently, there is some unusual behaviour happening for CommandEntries. The entry is created and pushed onto a queue, but a pointer to the entry is returned in order to modify the entry after it has been created. Instead, fully construct the entry before enqueueing it. Also, switch to using unique_ptr in order to simplify memory management of queue entries. Bug: 70668286 Test: SANITIZE_TARGET=hwaddress atest libinput_tests inputflinger_tests Change-Id: Ie8ee9b732cdcd8f9a391f8315346fe4720d68e58
Diffstat (limited to 'opengl/libagl/matrix.cpp')
0 files changed, 0 insertions, 0 deletions