Create forceHwcCopyForVirtualDisplay in configStore
Change-Id: I69ff735a0263cb19d8208867943329357be49d4a
diff --git a/configstore/1.0/ISurfaceFlingerConfigs.hal b/configstore/1.0/ISurfaceFlingerConfigs.hal
index 58cb9f1..ce967ee 100644
--- a/configstore/1.0/ISurfaceFlingerConfigs.hal
+++ b/configstore/1.0/ISurfaceFlingerConfigs.hal
@@ -76,4 +76,12 @@
* present fences.
*/
presentTimeOffsetFromVSyncNs() generates(OptionalInt64 value);
+
+ /*
+ * Some hardware can do RGB->YUV conversion more efficiently in hardware
+ * controlled by HWC than in hardware controlled by the video encoder.
+ * This instruct VirtualDisplaySurface to use HWC for such conversion on
+ * GL composition.
+ */
+ useHwcForRGBtoYUV() generates(OptionalBool value);
};