Support gainmap HW copy.
- for Bitmap::allocateHardwareBitmap to create and upload a hardware
version of the gainmap.
Bug: 267216439
Test: android.graphics.cts.BitmapFactoryTest,
android.graphics.cts.BitmapRegionDecoderTest,
android.graphics.cts.ImageDecoderTest, android.graphics.cts.GainmapTest
Change-Id: Ie080896425dc82a605b2bc41e97ddc2420f5328a
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
index 7228b89..3b12972 100644
--- a/libs/hwui/Android.bp
+++ b/libs/hwui/Android.bp
@@ -537,6 +537,7 @@
"AnimatorManager.cpp",
"CanvasTransform.cpp",
"DamageAccumulator.cpp",
+ "Gainmap.cpp",
"Interpolator.cpp",
"LightingInfo.cpp",
"Matrix.cpp",