Huihong Luo
5569efbc00
Add a new API to report display hotplug events
...
When a display is connected, error may occur, this new api introduces
an event variable to specify the hotplug event, including errors.
This new api should be used, and the old onHotplug method is deprecated.
Bug: 241286153
Test: manual
Change-Id: I20ea685c5012015836024e7cab4dc0e68ebb835f
2023-11-28 11:46:53 -08:00
Sergiu Ferentz
31b637fd90
Merge "Bump android.hardware.graphics.common V4->V5" into main
2023-10-09 08:27:26 +00:00
sergiuferentz
14960cae33
Modifying Dataspace.aidl to add additional HAL_ Datapoints present in graphics/**/swapchain.cpp
...
Bug: 291142745
Change-Id: I54a41f3170b6c21f1c1b12aec40a8ce928f9163f
2023-10-03 16:14:06 +00:00
sergiuferentz
7d7a24d5f6
Bump android.hardware.graphics.common V4->V5
...
Test: Build
Bug: 291142745
Change-Id: Ib0002feb982ffcc37fa7b69493c644b7a835cf4f
2023-10-03 16:14:03 +00:00
Treehugger Robot
83dd5881a0
Merge "Add deprecation note" into main
2023-09-07 20:15:54 +00:00
John Reck
89b26e7623
Add deprecation note
...
Flag: DOCS_ONLY
Test: doc-only && make
Change-Id: I16638c3772269e4946a002a7e821735423df5084
2023-09-01 16:32:53 -04:00
John Reck
9db00ec784
Clarify GPU API requirements for BufferUsage
...
Bug: 283989374
Test: n/a doc only change
Change-Id: I4caec722420d4fa2089d1f297f377408a1e674ae
2023-08-31 17:42:05 -04:00
Alec Mouri
e5c4f5546a
Adjust documentation for UNKNOWN dataspaces.
...
Summarize the recommendations in {STANDARD, TRANSFER, RANGE}_UNSPECIFIED, but also indicate the UNKNOWN isn't really appropriate to signal.
Bug: 288461753
Change-Id: I237e45b7d83ed620ee79b9e39aed73fe71a047b0
Test: docs
2023-07-13 01:23:07 +00:00
John Reck
fc489cac9e
Add ChromaSiting VERTICAL & BOTH
...
Bug: 221248303
Test: make
Change-Id: Ib5a3db2b580c1a063ae176ba3718cdd3ed7e1e9c
2023-06-09 16:46:49 -04:00
Treehugger Robot
cee699a37b
Merge "graphics/common: Link to the Jpeg/R format specification" into udc-dev
2023-04-20 21:52:07 +00:00
Emilian Peev
0794ecb65d
graphics/common: Link to the Jpeg/R format specification
...
Bug: 264927059
Test: Clean build
Change-Id: I40d12b18814099223184877360193aeb315ddb90
2023-04-19 10:48:28 -07:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
John Reck
ffe142751a
Update DataSpace.aidl RANGE_EXTENDED
...
Fixes: 274780844
Test: doc only change
Change-Id: I619894e0bb3f4e6928e5c920af90fb8ce3702397
2023-03-28 11:39:58 -04:00
Kriti Dang
5fcddd74f6
Fixing the HDR conversion aidls
...
Bug: 251168514
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I10310dd26809bd546c41d3d16bebcba711e43a50
2023-03-07 14:36:03 +00:00
Kriti Dang
376227694f
Update setHdrConversionStrategy to return the preferredHdrOutput type
...
Bug: 268336382
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I6ac912ac8a0329f4ea32acad657e44b473660c42
2023-02-14 18:10:16 +00:00
Kriti Dang
5422df8f30
Merge "ComposerHAL APIs for HDR output control"
2023-01-17 17:37:35 +00:00
Kriti Dang
3793ebdaea
ComposerHAL APIs for HDR output control
...
Bug: 251168514
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: Icf5437c6dab2c8ce9247617f6e6006051fc206fb
2023-01-13 17:58:30 +01:00
John Reck
2b3eccb904
Merge "Add stride query" am: 0797e36036 am: 04d190b3c8 am: 2e7c541ebe
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2360899
Change-Id: I58bfee442be24701d7ae2e98cacb4e34b1b1b219
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 20:57:54 +00:00
John Reck
0797e36036
Merge "Add stride query"
2023-01-06 19:38:30 +00:00
John Reck
2c2cfc9341
Add stride query
...
Fixes: 261856851
Test: VtsHalGraphicsMapperStableC_TargetTest
Change-Id: Ib49df2d46dd55848c4854179bd6205c86c232a6d
2023-01-04 16:41:26 -05:00
Trevor Black
b0170e08de
Merge "The aidl changes necessary to add requested AHB format enums" am: 3e01679bb5 am: a8fbf496f8 am: af57555cbf
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328513
Change-Id: I6ef9729b24defe2acad14c332455d8542a325eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-21 01:32:07 +00:00
Trevor Black
3e01679bb5
Merge "The aidl changes necessary to add requested AHB format enums"
2022-12-21 00:24:27 +00:00
Emilian Peev
3aea54393c
graphics/common: Add Jpeg/R dataspace
...
Bug: 241284696
Test: atest -c -d
cts/tests/camera/src/android/hardware/camera2/cts/ImageReaderTest.java#testJpegR
Change-Id: I218b9abe048ac07b3e54edad06b452301df48726
2022-12-16 11:09:17 -08:00
Trevor David Black
060a59992d
The aidl changes necessary to add requested AHB format enums
...
PIXEL_FORMAT_R_16_UINT
- AHARDWAREBUFFER_FORMAT_R16_UINT
PIXEL_FORMAT_RG_1616_UINT
- AHARDWAREBUFFER_FORMAT_R16G16_UINT
PIXEL_FORMAT_RGBA_10101010
- AHARDWAREBUFFER_FORMAT_R10G10B10A10_UNORM
Bug: 233033456
Test: Build
Change-Id: I7b9829f549dd6d931531f14fef458d1fecc82ac9
2022-12-15 19:18:11 +00:00
John Reck
749f5af092
Add some more tests & tweak spec around SMPTE2094-40
...
Test: this
Change-Id: If7c549b8efcf490859f10c225a700188b76a54fa
2022-12-15 13:49:55 -05:00
Steven Moreland
2e37f01273
Merge "graphics.common V3 -> V4"
2022-12-09 17:21:59 +00:00
Sally Qi
3840297fab
Merge "Expose COLOR_MODE_DISPLAY_BT2020." am: ab88d5cac3 am: f0588b06e0 am: 836fb09154
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322455
Change-Id: I3c6150b237e37e30897589e462e9c5e9b186b7d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-08 18:18:48 +00:00
Vadim Caen
79ee3e0e97
Merge "Enable Rust backend for Camera HAL"
2022-12-07 20:15:33 +00:00
Marc Kassis
9c428fe3ed
graphics.common V3 -> V4
...
Bug: 251177105
Test: m
Change-Id: I816b8e14a0741402090cdc4732c2a904e830ff4e
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-07 10:53:12 +00:00
Sally Qi
d43651c2a8
Expose COLOR_MODE_DISPLAY_BT2020.
...
Bug: 256551001
Test: build and flash; hidl-gen -L hash
android.hardware:hardware/interfaces
android.hardware.graphics.common@1.2::types >> current.txt
Change-Id: I33116c1b31bd981b04489bc9704a54e97332aed7
2022-12-01 22:07:33 -08:00
John Reck
ae73a6ebd5
Add some more tests & tweak spec around SMPTE2094-40
...
Test: this
Change-Id: If7c549b8efcf490859f10c225a700188b76a54fa
2022-11-28 19:53:12 -05:00
Vadim Caen
60741ed7a2
Enable Rust backend for Camera HAL
...
Change-Id: I70ee4b41d887a9e9b1345020df9d591abdba5c65
2022-11-24 09:15:48 +00:00
Steven Moreland
3bc7a4937d
a.h.graphics.common frozen true
...
magic -> explicit
Bug: 259465531
Test: build
Merged-In: I080bee98df6d4ad8799dd60c5090c2e79244ce2f
Change-Id: I3223d33c296c73e7c14e8ed87806ba6ed8ff3392
2022-11-18 20:11:02 +00:00
Steven Moreland
6f697c9ecf
a.h.graphics.common frozen false
...
magic -> explicit
Bug: 259465531
Change-Id: I080bee98df6d4ad8799dd60c5090c2e79244ce2f
Test: N/A
2022-11-18 19:39:29 +00:00
Steven Moreland
eaa8469b7c
Merge "graphics.common V3 -> V4"
2022-11-02 21:21:29 +00:00
Treehugger Robot
344f7933ed
Merge "Update OWNERS" am: 0ea6e013ef am: 91b8d6b035 am: 27ae2a7bef
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2282841
Change-Id: I99f6ab3a12e225cacbbaeffc9d28cd5b9451d3f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-02 20:40:19 +00:00
John Reck
15703c76af
Update OWNERS
...
Remove all subfolder OWNERS in favor of single top-level
Update top-level OWNERS
Fixes: 230785548
Test: n/a
Change-Id: I9e4f4fa7938e31f0caf864836889f8ebb5ca5675
2022-11-02 12:36:41 -04:00
Steven Moreland
ed27779d14
graphics.common V3 -> V4
...
Bug: 251177105
Test: builds
Change-Id: I1cb84ec85f98789d0737207a1661b39a25538c96
2022-10-29 00:51:21 +00:00
Steven Moreland
2baa8cf1dd
android.hardware.graphics.common V4 += Hdr type
...
Bug: 241349060
Test: m
Change-Id: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-10-28 23:15:29 +00:00
William Escande
2591c3d0cf
[Bluetooth apex] Use new apex name
...
The Bluetooth apex name is now called com.android.btservices
Bug: 243054261
Test: Build
Change-Id: Ib63646722cbef948b5198fc5f2a9b5ac2ca52ae3
2022-08-22 11:27:58 -07:00
Jiyong Park
9264d3f783
Finalize android.hardware.graphics.common-V3
...
For some unknown reason, the Android.bp file was not updated when
freezeing the V3 of android.hardware.graphics.common interface. Fixing
it manually.
Bug: 230660133
Test: `m nothing` with https://googleplex-android-review.git.corp.google.com/q/topic:Tiramisu-SDK-Finalization-rel
Change-Id: I4bf6548e1200864810bcf8a7c1025ba56d48747b
2022-04-28 08:07:53 +09:00
Jiyong Park
703e97920e
Freeze AIDL APIs for TM
...
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
William Escande
d9d513fd47
Clear apex.go entries for bluetooth libs
...
Test: Build + TH + boot phone & use bluetooth
Bug: 216433795
Change-Id: Ib1f9fee90006c73e5726a208e6cba8647967f5f4
2022-03-02 20:27:06 +01:00
Leon Scroggins
3ea6e39979
Merge "Add a more detailed HAL for DISPLAY_DECORATION"
2022-02-10 11:56:31 +00:00
Ray Essick
d1374e051c
Add explicit apex_available clauses
...
add apex_available clauses to interfaces which were being allowed
by list stored within the apex toools
Bug: 215589022
Test: build
Change-Id: Iaf5d1b80e6b35f765d6b7a59ce7f28d4fa5098a4
2022-02-09 09:28:53 -08:00
Leon Scroggins
dd2ad3c55c
Merge "Add a Java backend for android.hardware.graphics.common AIDL"
2022-02-07 19:10:17 +00:00
Leon Scroggins III
e5c038e9ef
Add a more detailed HAL for DISPLAY_DECORATION
...
Different hardware may prefer different formats for DISPLAY_DECORATION
layers. Add a new struct with two enums: one for the format, and one for
how to interpret the alpha. These two properties are orthogonal.
Add IComposerClient.getDisplayDecorationSupport for retrieving the
struct. I0c2fbc78cf5e4e97cede4762699a1ecc98620919 demonstrates a sample
implementation.
Remove the DisplayCapability.DISPLAY_DECORATION, which is replaced by
this.
Bug: 216644902
Test: manual
Change-Id: I27f119f927b23052c5fd8f068cbca75338fe7b91
2022-02-07 11:41:35 -05:00
Leon Scroggins III
bab1ba54ed
Add a Java backend for android.hardware.graphics.common AIDL
...
This will allow SysUI to access the same struct (in
I27f119f927b23052c5fd8f068cbca75338fe7b91) that HWC uses to describe
its support for DISPLAY_DECORATION.
@hide each API individually. SysUI can access hidden APIs. Otherwise
leave the AIDL files are unchanged.
Bug: 216644902
Test: make
Change-Id: Id33f76e4c55b22d007c7e2314a4dfb778562bace
2022-02-04 15:49:06 -05:00
John Reck
cd883bc17a
Address ANAPIC feedback
...
Also adds recommended combination for FRONT_BUFFER as
that was feedback from implementers
Fixes: 217752219
Test: N/A doc only change
Change-Id: I086597d14cc7d9d1a0b620b73297aaa3e6288773
2022-02-03 21:01:03 -05:00
TreeHugger Robot
e6db2b63f5
Merge "Clarify FRONT_BUFFER requirements"
2022-01-26 01:25:47 +00:00