History log of /frameworks/native/include/ui/GraphicBufferMapper.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dbbe33b95336efa74e8bb4ebcf6cba50919aa247 28-Sep-2017 Chia-I Wu <olv@google.com> 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
/frameworks/native/libs/ui/include/ui/GraphicBufferMapper.h
5dac7819ac9461c14f0b7c208597579c5c3fb814 06-Jul-2017 Jesse Hall <jessehall@google.com> Add GraphicBufferMapper::preloadHal

Plumbing to allow Zygote to explicitly preload the a.h.graphics.mapper
HAL. An earlier attempt did this implicitly with a static initializer in
libui.so, but the library is also used by non-Zygote processes that
don't have access to HALs. This way, the HIDL libraries and HAL are only
loaded in Zygote and its children, not random other processes.

Bug: 62353585
Test: check that a.h.graphics.mapper is in /proc/`pid zygote64`/maps
Change-Id: I4989c8089e3a4cfd627f8940f5552950c1c617fc
/frameworks/native/libs/ui/include/ui/GraphicBufferMapper.h
e7ec834312579b009c02e5e42012dd465a5779be 22-May-2017 Jiyong Park <jiyong@google.com> Headers of libui is moved to the local directory

This makes clients of libui to be compiled without depending on global
headers.

Bug: 37731063
Test: sailfish build and boots
Test: 'BOARD_VNDK_VERSION=current m libui' successful
Change-Id: I6546f57964f2103bf3534fb8266fee4fb7d4678a
/frameworks/native/libs/ui/include/ui/GraphicBufferMapper.h