Revert "Revert "SF: Add support for screen captures""
This reverts commit 2156613b58e6a792e3ab504ed0b7a0b189ff041b.
Test: Manual and cts -m ViewTestCases
Change-Id: Ia1de956a2f41ecd3e019c8540a60d42c37bc343e
diff --git a/services/surfaceflinger/LayerBE.h b/services/surfaceflinger/LayerBE.h
index f610677..9aa43f7 100644
--- a/services/surfaceflinger/LayerBE.h
+++ b/services/surfaceflinger/LayerBE.h
@@ -52,7 +52,7 @@
Region visibleRegion;
Region surfaceDamage;
sp<NativeHandle> sidebandStream;
- android_dataspace dataspace;
+ ui::Dataspace dataspace;
hwc_color_t color;
} hwc;
struct {
@@ -61,9 +61,11 @@
bool clearArea = false;
bool preMultipliedAlpha = false;
bool opaque = false;
+ bool disableTexture = false;
half4 color;
Texture texture;
bool useIdentityTransform = false;
+ bool Y410BT2020 = false;
} re;
void dump(const char* tag) const;