From 7fbcc0492fca03857e3c45064f4aa040af817d55 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 4 Aug 2010 15:40:07 -0700 Subject: 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 --- libs/hwui/ProgramCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/ProgramCache.cpp') 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 = -- cgit v1.2.3-59-g8ed1b