History log of /frameworks/native/libs/ui/Android.bp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
375a5b563c1d73ccdeedcb54dafd86d7904c740e 31-May-2017 Jayant Chowdhary <jchowdhary@google.com> Merge "Mark libui as vendor_available" into oc-dev
d8091b9331b17d4a6d5d3ec04e161b7956f67cb8 16-May-2017 Chia-I Wu <olv@google.com> libui: flush hwbinder commands in Allocator::allocate

Bug: 36279079
Test: monkey test on fugu
Change-Id: I81f72d63d3ede64f279b26208bb5df7646050e73
/frameworks/native/libs/ui/Android.bp
a02a87c5eb2a741a9e8dc1615424540a893e45ac 28-Apr-2017 Jiyong Park <jiyong@google.com> Mark libui as vendor_available

libui is used by libgui and libstagefright_foundation which are both in
VNDK. So libui should also be in VNDK.

Bug: 37731063
Test: sailfish builds and boots
Test: 'BOARD_VNDK_VERSION=current m libui' successful
Merged-In: Ia8172a42325e5b5181741dda70048dc68e778b76
Change-Id: Ia8172a42325e5b5181741dda70048dc68e778b76
(cherry picked from commit ea8c878e3b3b8b4bbb264a4776c8a256bb1e329b)
/frameworks/native/libs/ui/Android.bp
cb8405e7e74398aeafc9ef6ddb59af2d7cc6d2a6 18-Apr-2017 Chia-I Wu <olv@google.com> libui: remove gralloc0/gralloc1 support

We now talk to HIDL gralloc exclusively.

Bug: 37433368
Test: boots
Change-Id: Iecd2f9a02c7066b2f33f24c1de57e9c4af8e28f5
/frameworks/native/libs/ui/Android.bp
5bac7f36ee9d5ed0c2e8a0141909ca94351965a8 06-Apr-2017 Chia-I Wu <olv@google.com> libui: update for revised HIDL gralloc

The revised HIDL gralloc is implementable on top of gralloc0 and
gralloc1, which enables us to remove all legacy code.

However, it lacks the ability to query buffer properties from a
buffer handle. GetBufferFromHandle in VR always fails.

Bug: 36481301
Test: builds and boots on Pixel
Change-Id: Id7cfa2d2172dfc008803860f24fcf4f03ba05f11
/frameworks/native/libs/ui/Android.bp
381019d9ceb4e5697daad414d8f0f0f6f8c3c116 05-Apr-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Fix soong dependency issue

Test: make

Change-Id: I3ea00a32f08395c81e44625603d878a2f1b6975b
/frameworks/native/libs/ui/Android.bp
5d94389241cc651e6bd327ab80eba3ad476f3724 22-Mar-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add wide-color support to SurfaceFlinger

Test: manual testing
Bug: 29940137

Change-Id: I9358b3c982e0205e598fd20cbf8d2e956591b3ac
/frameworks/native/libs/ui/Android.bp
e06ad18acd9c679816bdfa79eef206f77998cce4 22-Mar-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add debug string functions for graphics.h enums

Test: see dataspace and colormode details when running with debug
Bug: 29940137

Change-Id: I9d3c60b1f9c71c44aba475450c7f867dcd68627e
/frameworks/native/libs/ui/Android.bp
7992781a574b1c52a203e9271772da16f0f06812 23-Mar-2017 Jesse Hall <jessehall@google.com> Use gralloc usage conversion library

Converting from ..graphics.allocator@2.0 usage to gralloc0 usage isn't
quite as simple as ORing and truncating, which is what the default
implementation was doing. Switch to using library functions that do it
correctly.

Test: boot bullhead
Change-Id: Ibe644b53655e191b9bca9d619825a8918e8fc365
/frameworks/native/libs/ui/Android.bp
1d77b719d51a01cbd6954a048fb64e79d50a950e 18-Feb-2017 Mathias Agopian <mathias@google.com> move vector math out of libui

created a new header-only static libmath lib

Test: built & ran
Bug: n/a
Change-Id: Ic63ef5f54d9a0de07a9ab9e4d67be01ab6169fc0
/frameworks/native/libs/ui/Android.bp
a9347647eca3101c014be902b713772de3977d87 14-Feb-2017 Mathias Agopian <mathias@google.com> Break a dependency of libui on libandroid

This was only a header dependency, but it still
created a circular dependency, which will cause
problems in another CL.

We fix this by creating a libarect static library
containing only that header. both libui and
libandroid now depend on it and reexport the
header.

We also make sure rect.h ends-up in the right
place.

Test: built and booted device
Bug: 35164655

Change-Id: Iba25b8b801b26b26ec1401c00caf367a06f197ca
/frameworks/native/libs/ui/Android.bp
e1f5e6fd7ad07778fa4381059852a94567d77dfc 07-Feb-2017 Mathias Agopian <mathias@google.com> Break dependency of libui on libbinder

the dependency existed only because of
HdrCapabilities, which inherited from
Parcelable, instead of LightFlatenable<>.

An added benefit is that HdrCapabilities isn’t
virtual anymore.

Also, since the dtor is not trivial, move it to
the cpp, to avoid inlining.

Fix-up includes.

Test: built and booted device

Change-Id: Iaf9c4ef9dcc5cb28b29f79d9f7d8f21800223eb8
/frameworks/native/libs/ui/Android.bp
991d2545afb325a3ebb8679519c4b0c13e29fada 06-Feb-2017 Mathias Agopian <mathias@google.com> move GraphicEnv from libgui to libui

This breaks a circular dependency between libEGL
and libgui.

Test: compiled and booted a device
Change-Id: I78932bba07fb9ef310d8e1622bd3a47f57e89c45
/frameworks/native/libs/ui/Android.bp
71bded513d37a6c1260b4a62c69ecc0d24be95f7 19-Oct-2016 Dan Stoza <stoza@google.com> Create libgfx, starting with FloatRect

Creates libgfx, the future home of everything currently in libui and
libgui, which will be rigorously checked with -Weverything (with a few
common-sense exceptions) and clang-tidy and formatted using the included
.clang-format file.

Starts by moving FloatRect out of services/surfaceflinger since it will
be used by other libgfx primitives later.

Test: m
Change-Id: I5045ac089020e6ee380e81e8735117c500264b37
/frameworks/native/libs/ui/Android.bp
316694751e5f20e24ad2eb3cb36d99f5498d373d 07-Dec-2016 Chia-I Wu <olv@google.com> libui: use HIDLized gralloc-mapper

Test: builds and boots
Change-Id: If42bea782e6dda5cab31c270085d934879fcdb54
/frameworks/native/libs/ui/Android.bp
d46a65c3c37e2c8ff80d5d74145f7e2345b61cd2 04-Dec-2016 Brian C. Anderson <brianderson@google.com> Merge "Add Fence helpers: Time, Timeline, Snapshot"
67a4762ed3ece97c4d3a7329a8733a77a73f7584 17-Nov-2016 Yifan Hong <elsk@google.com> Split libhidl into base and transport.

Bug: 32756130

Test: mma
Change-Id: I878e0e8f94e01695f633bc80ef163dbe18c8f622
/frameworks/native/libs/ui/Android.bp
221de2a33d456738f7f64db0b015a960211d4834 22-Sep-2016 Brian Anderson <brianderson@google.com> Add Fence helpers: Time, Timeline, Snapshot

FenceTime will be used to:
1) Cache and share the result of a Fence's getSignalTime with
all clients that care about it, instead of requiring a
syscall for each client.
2) Allow tests to override the valid state and signalTimes of
the underlying fence by acting as a shim.

FenceTimeline will be used to efficiently get the signal
times of Fences without having query for Fences that
likely haven't signaled.

FenceTime::Snapshot is a stable copy of a FenceTime that
can be used for serialization since it doesn't change
while flattening.

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I9a28df7ce797311dc4d56b1147edf590e9de1517
/frameworks/native/libs/ui/Android.bp
caf2ca414f69d460c516e2370cf42bcf49178d95 10-Nov-2016 Romain Guy <romainguy@google.com> Add ColorSpace class

The ColorSpace class can be used to create an RGB color space from
either primaries/whitepoint or an RGB->XYZ matrix.

The primaries and whitepoint are in xyY space. A utility function
is provided to compute xyY coordinates from XYZ coordinats.

The class contains numerous functions to create common RGB color
spaces (sRGB, DCI-P3, etc.).

Test: colorspace_test
Bug: 29940137
Change-Id: Ifba8701377d058f5877176dabf4183e904a4cde0
/frameworks/native/libs/ui/Android.bp
aafbfc0db4d5ff90681dacf584098973624463fc 01-Nov-2016 Marco Nelissen <marcone@google.com> Remove unneeded dependencies from libui and libgui

Test: build/boot
Change-Id: I3714e0c081837060ac6a6b28a32117d29b95e3d0
/frameworks/native/libs/ui/Android.bp
4802d3503cc979d3cb8f6478568a688d091b197d 13-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "libui: add support for android.hardware.graphics"
9ba189dc5c03040d45dad2080a81115f48f099c3 22-Sep-2016 Chia-I Wu <olv@google.com> libui: add support for android.hardware.graphics

Add Gralloc2::Allocator and Gralloc2::Mapper as wrappers to
android.hardware.graphics.allocator@2.0 and
android.hardware.graphics.mapper@2.0 respectively. Prefer
Gralloc2::{Allocator,Mapper} in
GraphicBufferAllocator/GraphicBufferMapper.

The new path has these differences

- it does not support gralloc0
- it does not dup-and-close fence fds to and from HAL
(not sure why we did that)
- release implies native_handle_close and native_handle_delete
(same as in gralloc1?)

When all interesting targets have android.hardware.graphics
implementations, the old path will be removed. That is why the new path
is added in the least intrusive way, as in:

if (new-path-valid) {
new-path;
} else {
old-path;
}

despite the ugliness.

Test: booted to launcher, tested with YouTube and some games
Change-Id: Idabb6c62e73c96a59736b497c6d6d1366095e7e3
/frameworks/native/libs/ui/Android.bp
56a8d3260d1273a50a538f94bb376573c08e0600 11-Oct-2016 Elliott Hughes <enh@google.com> Rely on the platform -std default.

Bug: http://b/32019064
Test: builds
Change-Id: I88ea6b959b9d855a536e1475ed437105370203d0
/frameworks/native/libs/ui/Android.bp
c7dd2b905d83cbf7ee98792142a4d078e7cfbb39 26-Aug-2016 Dan Willemsen <dwillemsen@google.com> Convert libui to Android.bp

Along with the libinput tests, which depend on libui. For more
information on Soong, see build/soong/README.md

Change-Id: Id4fbeb114d03e37556dca59a2c9f5c9abb0a1825
Merged-In: Id4fbeb114d03e37556dca59a2c9f5c9abb0a1825
(cherry picked from commit 871dda3d6485617bf3a1ea6c8236071212234433)
/frameworks/native/libs/ui/Android.bp
871dda3d6485617bf3a1ea6c8236071212234433 26-Aug-2016 Dan Willemsen <dwillemsen@google.com> Convert libui to Android.bp

Along with the libinput tests, which depend on libui. For more
information on Soong, see build/soong/README.md

Change-Id: Id4fbeb114d03e37556dca59a2c9f5c9abb0a1825
/frameworks/native/libs/ui/Android.bp