summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
author Nader Jawad <njawad@google.com> 2021-05-10 13:27:52 -0700
committer Nader Jawad <njawad@google.com> 2021-05-10 16:38:09 -0700
commit9272f2161230ab3fae0051e90131648da55aa0ad (patch)
tree1864f61868f060b320de60f295306f744bf7a133 /libs/hwui/Properties.h
parent8ed00dc56d5af7483ed053eb88c550cc1035b029 (diff)
Updated StretchEffect types
Added additional shader stretch effect type to distinguish between shader based stretches that are configured in HWUI as well as those that are configured in both HWUI and SurfaceFlinger Bug: 184297961 Test: manual Change-Id: Ie1083cef7cbaf4f877783d67d429af7f5edd0a3c
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 d06410e8252a..bebfbee55f12 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
};
/**