• Home
  • History
  • Annotate
  • only in /frameworks/native/libs/nativewindow/include/android/
History log of /frameworks/native/libs/nativewindow/include/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3aea0e37b08cb09e65de21642aa60c698a3c8d12 09-May-2017 Quddus Chong <quddusc@google.com> docs: Fixed comments to generate API refs correctly.
Test: Verified by manually generating the API refs.

Change-Id: I77f2072d2aa83a6c71e11b216e206c4e6563ab88
ative_window.h
07b920e09510d138a07dac8b5b1618871ce4db80 26-Apr-2017 Mathias Agopian <mathias@google.com> AHardwareBuffer now reports its stride

Test: compile / manual
Bug: 37686713
Change-Id: I1d75c67816717dc5d8ef4c71c1ca45d1d86aefb3
ardware_buffer.h
2c38b56d19f464142e32030b99ac56afd47ab7cd 21-Apr-2017 Mathias Agopian <mathias@google.com> Plumb gralloc producer/consumer bits correctly

Bug: 33350696
Test: compile, boot device, cts
Change-Id: I2f078cf4bbdf0db49f2e914b051f55629fb37eb6
ardware_buffer.h
ec3717413332336c7b86545eebcfce8c0681b2dc 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix AHardwareBuffer 10:10:10:2 format" into oc-dev
577aa758027a7cf5e8da938f99f9ec7372e5728f 20-Apr-2017 Jesse Hall <jessehall@google.com> Fix AHardwareBuffer 10:10:10:2 format

Rename this format to match the component ordering we use in the other
formats (RGBA, in LSB to MSB order), and associate it with the right
Vulkan format (A2B10G10R10_UNORM_PACK32, not the BGRA-order
A2R10G10B10_UNORM_PACK32): the former is required in Vulkan while the
latter isn't, and it makes sense for us to be consistent with that.

Also use the _FLOAT suffix for the 4xFP16 format, not _SFLOAT; we don't
use the latter anywhere else and we don't have unsigned floats.

Bug: 37515907
Test: make checkbuild
Change-Id: I4f9e5e39ddef41d373290c26c92d5b94a884a740
ardware_buffer.h
1ee859f7f883ef1b17d25dc784fb9ea233c152a4 17-Apr-2017 Jesse Hall <jessehall@google.com> Move AHardwareBuffer_getNativeHandle to VNDK

This was added to the NDK only because we didn't have a way to do
VNDK-only declarations. Now we do.

Bug: 34050596
Test: make checkbuild
Change-Id: I039fccfd9f29c5cc960e7691f0baa70101659949
ardware_buffer.h
000879a0eb2156727a2221e42d04b6f3e150aa79 21-Mar-2017 Mathias Agopian <mathias@google.com> VNDK ANativeWindow API - step 2

The vndk API is a superset of the NDK API.
Prior to this, vendor would have access to
system/window.h which itself is a superset of
what they need, exposes too much of the internals.

With this change, system/window.h depends on
vndk/window.h which depends on
android/native_window.h

Test: compiled, booted Nexus 6P
Bug: 34453351
Change-Id: Iad7bf035143541843309437fe630cc603d96a76e
ardware_buffer.h
ative_window.h
bf927224c2229e319fe0193cffc2486f7ebc7232 17-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding bit in gralloc1."
f185378e2d20ec9e5ab0aaa0ad589f34c18fa27d 17-Mar-2017 Craig Donner <cdonner@google.com> Remove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding
bit in gralloc1.

Bug: 34050596
Test: build, non-functional change
Change-Id: I61e46d6035f8477615f23ab245493336e61abbc3
ardware_buffer.h
09932eceb2fcec029edc6aaa0e2bca0591613281 13-Mar-2017 Jesse Hall <jessehall@google.com> Add ANativeWindow_setBuffersTransform

Bug: 32634406
Test: build
Change-Id: I16080008187bd334e64917274fc86afe12dde8e7
ative_window.h
a5a719e97cbec30c8968dddf542d86788e1051a4 25-Feb-2017 Craig Donner <cdonner@google.com> Add private consumer and producer flags to AHardwareBuffer.

This also generalizes and simplifies the flag conversion,
making it more bulletproof in the future. To add more flags,
just add new entries into the mapping arrays.

Bug: 34050596
Bug: 35765937
Test: cts-tradefed run cts -m CtsNativeHardwareTestCases
Also added new cc_test libs/nativewindow/tests to test gralloc flag conversion

Change-Id: Ib96b277e837f2ab8c332f14df60e88580e3d868d
ardware_buffer.h
89ed4c8cfd8ad64269dfcff9742e16bdd705b926 10-Feb-2017 Mathias Agopian <mathias@google.com> split libandroid.so

- ANativeWindow (native_window.h) and
AHardwareBuffer (hardware_buffer.h) now live
in libnativewindow.so, which is a vodka library.

- libandroid.so still provide those symbols
via a static library version (libnativewindow.a)

- removed libbinder dependency as well

Test: compiled & booted
Bug: 35164655
Change-Id: Ib4bc8e8fc9ec1891bcbee63c28fd0131d82edf29
ardware_buffer.h
ative_window.h