diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-07-01 16:08:19 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-07-01 16:12:27 -0700 |
commit | 1bdb9d346779ff5fa7cb6b9bff512f3caa06a896 (patch) | |
tree | 79f96a4c82de71829ebbc30177367b8e46f86509 /res/raw | |
parent | aafa03cbb925c74be1c13f8bb99d928be429e62f (diff) | |
download | android_packages_apps_Trebuchet-1bdb9d346779ff5fa7cb6b9bff512f3caa06a896.tar.gz android_packages_apps_Trebuchet-1bdb9d346779ff5fa7cb6b9bff512f3caa06a896.tar.bz2 android_packages_apps_Trebuchet-1bdb9d346779ff5fa7cb6b9bff512f3caa06a896.zip |
Switching allapps to use Mesh instead of SimpleMesh.
Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
Diffstat (limited to 'res/raw')
-rw-r--r-- | res/raw/allapps.rs | 6 | ||||
-rw-r--r-- | res/raw/allapps_bc.bc | bin | 11612 -> 11608 bytes |
2 files changed, 3 insertions, 3 deletions
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs index 146530811..aaf7c10d7 100644 --- a/res/raw/allapps.rs +++ b/res/raw/allapps.rs @@ -305,7 +305,7 @@ static void drawFrontGrid(float rowOffset, float p) vpConstants->ImgSize.y = rsAllocationGetDimY(gSelectedIconTexture); vpConstants->Position.y = y - (rsAllocationGetDimY(gSelectedIconTexture) - rsAllocationGetDimY(gIconIDs[iconNum])) * 0.5f; - rsgDrawSimpleMesh(gSMCell); + rsgDrawMesh(gSMCell); } rsgBindProgramFragment(gPFTexMip); @@ -313,14 +313,14 @@ static void drawFrontGrid(float rowOffset, float p) vpConstants->ImgSize.y = rsAllocationGetDimY(gIconIDs[iconNum]); vpConstants->Position.y = y - 0.2f; rsgBindTexture(gPFTexMip, 0, gIconIDs[iconNum]); - rsgDrawSimpleMesh(gSMCell); + rsgDrawMesh(gSMCell); rsgBindProgramFragment(gPFTexMipAlpha); vpConstants->ImgSize.x = rsAllocationGetDimX(gLabelIDs[iconNum]); vpConstants->ImgSize.y = rsAllocationGetDimY(gLabelIDs[iconNum]); vpConstants->Position.y = y - 64.f - 0.2f; rsgBindTexture(gPFTexMipAlpha, 0, gLabelIDs[iconNum]); - rsgDrawSimpleMesh(gSMCell); + rsgDrawMesh(gSMCell); } iconNum++; } diff --git a/res/raw/allapps_bc.bc b/res/raw/allapps_bc.bc Binary files differindex 59b0afbb2..e2341bd61 100644 --- a/res/raw/allapps_bc.bc +++ b/res/raw/allapps_bc.bc |