Age | Commit message (Collapse) | Author |
|
|
|
Bug: 226980330
Test: Builds (tested by Camera)
Change-Id: Id3a9cfa315e50954fdbe2d014121ca91953da5c9
|
|
Before buffer_handle_t can be converted to private_handle_t safely,
we should validate it to avoid wrong operations on the native handle.
Bug: 253425086
Test: Boot to home
Change-Id: I078354717cf7a5a772c8b6d7cbbbbfd457eec600
|
|
Fix: 253120214
Test: Validated by ruofeim@
Change-Id: I7c7f034a03661faa030b5206fee8da5fc13c820f
|
|
Bug: 212803946
Test: Boots to home
Change-Id: I97a95c0c5738a1d7a40bc371b33582ec81d8f5b7
|
|
Allocator runs in its own separate process and does not rely on
reference count of the buffer. `allocating_pid` serves no purpose now.
Bug: 207450311
Bug: 212803946
Test: Boots to home
Change-Id: I5280d37daccc8f68c25a8ef8590483c4eac0467e
|
|
"SZ_4k * 2" is not correct address offset from hidl_common/Allocator.cpp
use same address offset as defined in hidl_common/Allocator.cpp
Bug: 188769378
Test: ROI encoding
Test: CtsMediaV2TestCases
Change-Id: I358622a23f863d69eba0a4dafeded1e2703540e2
|
|
f59ed1c9baa3595b2a7505f4b60fe275e5e8c946
Change-Id: Id9961a3f019f1369d9845a16e7dd437e22354e47
|
|
167321fcf0e5cc4ad90eed780ce08c28d9ab27eb
Bug: 213540102
Change-Id: Ia593b1cf5b2284a284149a49760a50a1749196e3
|
|
153fde544bda6429a63360c9403f3ea3883a7497
Change-Id: I8b79049f5d79346f259260c30e6adec679d1bb76
|
|
Revert "Add gralloc switch"
Revert "Namespace gralloc"
Revert "Add gralloc switch"
Revert "Namespace gralloc"
Revert "Namespace gralloc"
Revert "Gralloc - Update build rules with namespaces"
Revert "Gralloc - Update build rules with namespaces"
Revert "Namespace gralloc"
Revert submission 16356594-pixel-gralloc-build
Reason for revert: Breaks build_test2 target on master
BUGID: b/213540102
Reverted Changes:
Ia998ca7f1:Namespace gralloc
I644f46ade:Add gralloc switch
I3689a27c2:Namespace gralloc
Iea1bf2ce2:Clone gralloc4 to GrallocHAL
I083cfa4f0:Namespace gralloc4
If8c40cd13:Namespace gralloc
I464236fea:Namespace gralloc
Icaac6d24f:Add gralloc switch
I92b7212b8:Gralloc - Update build rules with namespaces
Ic8741d4ba:Gralloc - Update build rules with namespaces
I507cbbc73:Namespace gralloc
Change-Id: I1abfa62169515a08bf6cabc74626a6df5f697aa7
|
|
Bug: 207452098
Test: Boot to home
Change-Id: I083cfa4f0cd65384888295f3672c63d050f8d822
|
|
Bug: 207455562
Test: Smoke test
Change-Id: Ie176acd1f9fab46e7d23b45927a1985b20995229
|
|
Bug: b/187279591
Test: video playback(YouTube, Exoplayer), video recording \
3P Apps recording
Change-Id: I72f422f7500cf3a0896f4d491719f2f24da91949
Signed-off-by: Charlie Chen <yuchungchen@google.com>
|
|
All relevant devices use gralloc4 now, so this is dead code.
Bug: 174998182
Test: build for affected devices, camera preview
Change-Id: I95320a0c787128692728433443ffd5892ee08b65
|
|
Bug: 191912915
Test: Full-range video playback with known calls to set_dataspace
Change-Id: I9ee1419922a316f3ce0e303ab46c2e46d1b72fec
|
|
Bug: 191912915
Test: Smoke test, boot to home
Change-Id: Ib3a23b068ae099cc6aa21b615e414bfac38a90bb
|
|
The process crashed when it operated metadata on an unimported buffer.
To enhance the robustness of the system, the patch creates the check on
mali reference to avoid crashing.
Bug: 186739698
Test: android.mediav2.cts.EncoderColorAspectsTes
Change-Id: Ia9c074dcee0d0f3a8ef18170ea6bce153fa734a5
|
|
Buffer ID is very helpful to track the life cycle of a buffer. The patch
extends vendorgraphicbuffer to allow an easy access.
Bug: 185958099
Test: Stress test on livewallpaper
Change-Id: Ieb1007dded9585afccd5b94c919cc0f50563a037
|
|
The camera requires 64-byte stride alignment for a variety of formats.
Set this alignment if GPU usage is detected.
Test: Boot, use viewfinder
Bug: 185836979
Bug: 185065640
Bug: 184793812
Change-Id: I96a5abf5465fb583d5f3393dece431d3b60a2cdb
|
|
Bug: 182361811
Test: Camera recording, ExoPlayer playback
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I91e4f7acb614b263fed46311db95f058e9a76572
|
|
* changes:
Gralloc: Remove YUV_RANGE_FULL usage
Gralloc: remove PROTECTED_DPB usage
|
|
Bug: 171930534
Bug: 182327726
Test: gfx-gralloc-alloc-test
Change-Id: I6a3e75d81456fb588ee04375e2a2978498a8dc40
|
|
static int set_dataspace(buffer_handle_t hnd, android_dataspace_t dataspace);
usage:
buffer_handle_t hnd;
android_dataspace_t dataspace = HAL_DATASPACE_BT709;
VendorGraphicBufferMeta::set_dataspace(hnd, dataspace);
Bug: 173014441
Test: Enable video enable/disable basic functions
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Change-Id: I4da78e0627eceff87e1ce014a19e49c010535f77
|
|
Added SPDX-license-identifier-Apache-2.0 to:
gralloc4/Android.bp
gralloc4/interfaces/aidl/Android.bp
gralloc4/interfaces/libs/drmutils/Android.bp
gralloc4/service/4.x/Android.bp
gralloc4/src/4.x/Android.bp
gralloc4/src/Android.bp
gralloc4/src/allocator/Android.bp
gralloc4/src/capabilities/Android.bp
gralloc4/src/core/Android.bp
gralloc4/src/hidl_common/Android.bp
libvendorgraphicbuffer/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0 to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ide9c2f522a0f243d21691bef347acf9f75e96707
|
|
Test: build
Bug: 183150227
Change-Id: Id21bff3f15ec788558c85fdec2f8686ab1c1428a
|
|
Bug: 183150221
Test: build
Change-Id: I593df3125cc95647e6e89af52dd8af552d26a86f
|
|
SBWC_REQUEST_10BIT and HFR_MODE usages are unused in Gralloc and should
be removed.
Bug: 182940134
Test: build
Change-Id: I0e4d3446c2e302e3b692575424d58091d213fb20
|
|
|
|
Bug: 180557484
Test: build
Change-Id: Ibdbf9babfef1a303639a3fb6786fd08745c8bd2e
|
|
Also changed which private bits are used, so that the usages no
longer overlap with other usages that affect Gralloc behavior.
Elimiated a few usages that we know aren't needed anymore to make
room for these flags.
- DAYDREAM_SINGLE_BUFFER_MODE
- CAMERA_RESERVED
- SECURE_CAMERA_RESERVED
Also fixed the README for libvendorgraphicbuffer.
Bug: 180774763
Test: build
Change-Id: Iffcdbffd0ef212ab0d2a1b5676173ad66a0acf6b
|
|
Bug: 181240527
Test: boot
Change-Id: Id72d108cd5f40ccd636adcce0ea94d2583c22269
|
|
Bug: 168763130
Test: Tested on gralloc3 (AV1 on gralloc4 does not work)
Change-Id: I70485b25741e5469429ec902b0484137e0856713
|
|
In Gralloc 3, VendorGraphicBufferMeta contains both the format and
the AFBC allocation flags. Match this behavior in Gralloc 4.
Bug: 177685505
Test: atest gfx-gralloc-nv12-afbc-test
Change-Id: I01e079d2e79c918f3057717642c97eec62bd271b
|
|
Bug: 177685505
Test: Boots on Gralloc3 and builds on Gralloc4
Change-Id: I62d14cd76d5b54d6a8868617f0b750ab92c102e8
|
|
Bug: 177685505
Test: Boots on Gralloc3 and builds on Gralloc4
Change-Id: I103a012cc14ea7fa522d0e884176919781f4144c
|
|
Bug: 173320140
Test: Builds successfully with gralloc3 and gralloc4
Test: Device boots to home with gralloc3
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Change-Id: I34bcb73d739b5726624fab38181d227c8af11c28
|
|
A wrapper library for Gralloc to abstract away the gralloc version
from vendor libraries that uses gralloc allocated buffers directly.
Bug: 173320140
Test: Builds successfully with gralloc3 and gralloc4
Test: Device boots to home with gralloc3
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Change-Id: I7a5437d5932d4e0d6cd93c743bce8570efc00c39
|