diff options
author | Romain Guy <romainguy@google.com> | 2010-08-04 15:40:07 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-08-05 17:23:49 -0700 |
commit | 7fbcc0492fca03857e3c45064f4aa040af817d55 (patch) | |
tree | a2422b4694ae589a60f2571070c53c7b918ec732 /libs/hwui/ProgramCache.cpp | |
parent | bc9151bcad5d1b1d14bb900fcc50ba08c06f87d4 (diff) |
Add support for paths.
Rendering is implementing by rasterizing the paths into A8 textures.
This cna be extremely inefficient if the path changes often.
Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
-rw-r--r-- | libs/hwui/ProgramCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/ProgramCache.cpp b/libs/hwui/ProgramCache.cpp index 32052585ce7b..8a97b4cc3ae0 100644 --- a/libs/hwui/ProgramCache.cpp +++ b/libs/hwui/ProgramCache.cpp @@ -90,7 +90,7 @@ const char* gFS_Uniforms_ColorOp[4] = { }; const char* gFS_Main = "\nvoid main(void) {\n" - " vec4 fragColor;\n"; + " lowp vec4 fragColor;\n"; const char* gFS_Main_FetchColor = " fragColor = color;\n"; const char* gFS_Main_FetchTexture = |