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
This commit is contained in:
Romain Guy
2010-08-04 15:40:07 -07:00
parent bc9151bcad
commit 7fbcc0492f
12 changed files with 561 additions and 7 deletions

View File

@@ -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 =