Commit Graph

12 Commits

Author SHA1 Message Date
Courtney Goeltzenleuchter 7ab0579800 Add dataspace to match upstream EGL extension
EGL's EGL_EXT_gl_colorspace_bt2020_pq extension
supports a bt2020 color space with a ST2084
transfer function (Dolby Perceptual Quantizer)
Test: make
Change-Id: Ibdacb00ce48189b1faf16fb8dd071caff2ec2a98
2017-03-01 18:25:15 -07:00
Courtney Goeltzenleuchter 75d8680794 Merge "Add enums for 10bit color formats" 2017-01-30 15:49:53 +00:00
Courtney Goeltzenleuchter bde1241327 Add enums for 10bit color formats
To improve wide-color behavior it's useful to have more bits
per color component. This defines 10:10:10:2 and 10:10:10:X
for that use.
This can be used for any color space / dataspace that is
compatible with unsigned integer components, e.g. Display-P3,
BT2020, etc.
Test: TBD
Bug: 29940137

Change-Id: Ieb8757e76b1d5bc45ce37c2473289eed7db66139
2017-01-26 16:48:13 -07:00
Peng Xu c216a795af Add dataspace for sensor direct report
This CL syncs change in HAL.
Test: compiles

Change-Id: I6b6dca9ca68f25b6d68df2db1605cc31cca0beae
2017-01-24 02:58:07 -08:00
Romain Guy abe4304deb Add Display P3 color mode
Bug: 32984164
Test: compile
Change-Id: Ic3f8e5ae840ad6de8d0dc416221098078d8a1b0f
2017-01-20 16:04:15 -08:00
Courtney Goeltzenleuchter de092983c7 Add DISPLAY-P3 DATASPACE
Industry specifications will include a Display-P3
color space that we'll want to use.
Test: compile

Change-Id: I17107f0c63a4d18a29eedbb248417c643adbbb79
2017-01-06 13:41:42 -07:00
Romain Guy f52d65a73b Remove RGBX_FP16 format
Bug: 32984164
Test: compile
Change-Id: I5fb298c7020b9e09bbec041088b296e315e9bec4
2016-12-16 09:57:58 -08:00
Romain Guy 631e0b7dfc Regenerate graphics-base.h
Bug: 32984164
Test: hidl-gen -o system/core/include/system/graphics-base.h -Lexport-header
-r android.hardware:hardware/interfaces
android.hardware.graphics.common@1.0 and compilation

Change-Id: Ied7f53c97b94eb15e11e26db4e73a568cfd982bb
2016-12-14 18:29:28 -08:00
Romain Guy 0c6dde6159 Prevent conflict with deprecated pixel format constants
Bug: 32984164
Test: Compile
Change-Id: Ia075c24740eeb33ca748e3423da156ffb9af0550
2016-12-14 10:10:49 -08:00
Steven Moreland f4321334d4 Ran hardware/interfaces/update-base-files.sh.
Test: pass
Change-Id: I9301f22e2bec1d61021186da9e22e3c1b3a5df71
2016-12-12 09:48:49 -08:00
Courtney Goeltzenleuchter de5df5f520 Update with wide gamut defines
Test: make
Change-Id: I0542bdc5c6d9caedcc86e5b66d263abd9c0596dc
2016-11-17 08:27:10 -07:00
Chia-I Wu e4c672a2ad graphics.h: generate some of the enums from HIDL
Test: make
Change-Id: I77791f05bdaf2d2696ba995a3572ca28f3a18d5b
2016-11-01 09:35:35 +08:00