summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2017-09-27 15:22:21 -0700
committer Chia-I Wu <olv@google.com> 2017-10-03 15:41:14 -0700
commitdbbe33b95336efa74e8bb4ebcf6cba50919aa247 (patch)
tree737276cbe7f1a04572eaa58ca290f19bf54d22f1 /opengl/libagl/array.cpp
parenta932e64d699eee455e044da38f6a4109774222ea (diff)
libui: harden GraphicBufferMapper::importBuffer
Add support for validateBufferSize and getTransportSize from IMapper 2.1. Update GraphicBufferMapper::importBuffer to validate buffer size, and update GraphicBuffer::flatten to use the handle transport size. This fixes two issues with GraphicBuffer. Pointers returned by lock/lockYCbCr can now be accessed without potential OOB. flatten no longer includes process-local runtime data. Bug: 62535446 Bug: 62084097 Bug: 32587089 Test: manual Change-Id: Ice13af26b84f25e43089637e9d67e3ad820e22ed
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions