summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
author Nader Jawad <njawad@google.com> 2021-05-11 05:22:15 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-05-11 05:22:15 +0000
commitfdccce02ba686f769715616de6b6edb08991ed0b (patch)
treeb4638d3594078d400ea6cc527bef94457e27d1f7 /libs/hwui/Properties.h
parentd011237d39bd56f30aebd2c7b3771a76892e9d0a (diff)
parent9272f2161230ab3fae0051e90131648da55aa0ad (diff)
Merge "Updated StretchEffect types" into sc-dev
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index 82ce5c6fb979..9d2b6173021d 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -200,8 +200,9 @@ enum class OverdrawColorSet { Default = 0, Deuteranomaly };
enum class RenderPipelineType { SkiaGL, SkiaVulkan, NotInitialized = 128 };
enum class StretchEffectBehavior {
- Shader,
- LinearScale,
+ ShaderHWUI, // Stretch shader in HWUI only, matrix scale in SF
+ Shader, // Stretch shader in both HWUI and SF
+ LinearScale // Linear stretch everywhere
};
/**