Commit Graph

13 Commits

Author SHA1 Message Date
Steven Moreland
3556da3b4a Add include/hardware/*.h symlinks.
These are required to build. Separate CL to preserve blame history.

From running 'update-includes.sh' script here.

Bug: 37280010
Test: boot/build (sanity)
Change-Id: Id9c2dc37f674b27b947a9f823bd38a550d64d31b
2023-06-02 23:01:56 +00:00
Steven Moreland
d783cabd4d Split up headers.
This splits headers into three locations:
include - for backwards compatibility, the global include
include_all - for things system/vendor both use
include_vendor - for things that only vendors use

The goal is to gradually have system things stop referencing
(at least most) of these headers.

Bug: 37280010
Test: build (CL on top adds back in symlinks)

Change-Id: Ibf194276b7faa857e1e7605d7719f4e7d873ecba
2023-06-02 23:01:54 +00:00
Valerie Hau
1155c41d01 Make validateBufferSize and getTransportSize mandatory
Bug: 131089111
Test: build, boot
Change-Id: I6c83e4ea9692fbdb185ff0679ee76b1dc826495e
2019-04-23 11:38:33 -07:00
Marissa Wall
5838dff356 gralloc1: security hardening
Add support for getTransportSize, validateBufferSize and importBuffer
to gralloc1.

Bug: 66876469
Test: Manual

Change-Id: Ie3435297cff2d3272df658af262905c13f403e4b
2018-05-02 12:14:52 -07:00
Mathias Agopian
c4068c8a32 fix circular dependency libnativewindow <-> libui
Bug: 37647680
Bug: 37648355
Test: compile, manual
Change-Id: Iadbccdcfe68792e3b5543963a5e81f985f87de09
2017-05-09 22:46:27 -07:00
Mathias Agopian
d8108ab504 fix circular dependency libnativewindow <-> libui
Bug: 37647680, 37648355
Test: compile, manual
Change-Id: I5aaf07dd76d0d8f5294fb4133c7a0b5e6df3bebc
2017-05-05 14:08:40 -07:00
Chia-I Wu
5cbf8f8297 gralloc1: add a capability to fix release semantics
Bug: 36355756
Test: manual
Change-Id: Ideaada0cb0b642501667c8854403f412ee8ef107
2017-04-07 11:14:28 -07:00
Craig Donner
ce40541781 Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers.
Bug: 30985702
Test: non-functional change
Change-Id: I9703f6ae81b95b65d0fc822a06a53b6f2318ef29
2017-01-12 15:52:02 -08:00
Craig Donner
be3802e95e Add gralloc1 support for layered images.
Bug: 31686534
Test: manual
Change-Id: I1ceaa7834001071fff2b4a43389d6d44079464f0
2016-11-11 11:35:07 -08:00
Colin Cross
cc8d9f9fcb Avoid C-style cast warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
2016-10-07 13:10:20 -07:00
Dan Stoza
a2d5b7d898 Re-add gralloc 1.0 header
Adds the header for version 1.0 of the gralloc HAL, now that the
framework properly supports it.

Bug: 28401203
Change-Id: I2ef28ca1e5ed5e9e71a14c4d1c97245051acce6c
2016-09-09 12:04:29 -07:00
Dan Stoza
89c7452d15 Remove gralloc1 header
Removes the gralloc1 header until such time as framework support can
be added.

Bug: 28401203
Change-Id: I7fbaf60d5b1c3c2267cf8d2216e94736c70bf8bb
2016-05-17 12:43:54 -07:00
Dan Stoza
1fbe9cc5bd Gralloc 1.0
Header for version 1.0 of the gralloc HAL

Bug: 22767098
Change-Id: Ib89a18dca4dcbb3c1d343ee38a7f06bcafe2589c
2016-04-12 00:30:32 +00:00