summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-02-07 14:20:10 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-07 14:20:10 -0800
commit3dba81c8328ae0d89c3da6eff2ac2158d49488a5 (patch)
treebcfcfc718c6f67da47c160ced5f3c95d6127b487
parent70bde22dd8b7c33567a8b53d0600b039642968b9 (diff)
parent979535cdab0c39231377fb6ef409edee410531bf (diff)
downloadandroid_packages_apps_Trebuchet-3dba81c8328ae0d89c3da6eff2ac2158d49488a5.tar.gz
android_packages_apps_Trebuchet-3dba81c8328ae0d89c3da6eff2ac2158d49488a5.tar.bz2
android_packages_apps_Trebuchet-3dba81c8328ae0d89c3da6eff2ac2158d49488a5.zip
am 979535cd: am 33f8133b: Merge "RS API cleanup for SDK. Update apps to final APIs. bug 3421901" into honeycomb
* commit '979535cdab0c39231377fb6ef409edee410531bf': RS API cleanup for SDK. Update apps to final APIs. bug 3421901
-rw-r--r--src/com/android/launcher2/allapps.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/allapps.rs b/src/com/android/launcher2/allapps.rs
index bebc04d10..4ea1aee37 100644
--- a/src/com/android/launcher2/allapps.rs
+++ b/src/com/android/launcher2/allapps.rs
@@ -298,7 +298,7 @@ static void drawFrontGrid(float rowOffset, float p)
vpConstants->ImgSize.y = rsAllocationGetDimY(gSelectedIconTexture);
vpConstants->Position.y = y - (rsAllocationGetDimY(gSelectedIconTexture)
- rsAllocationGetDimY(gIcons[iconNum])) * 0.5f;
- rsAllocationMarkDirty(g_VPConstAlloc);
+ rsgAllocationSyncAll(g_VPConstAlloc);
rsgDrawMesh(gSMCell);
}
@@ -306,7 +306,7 @@ static void drawFrontGrid(float rowOffset, float p)
vpConstants->ImgSize.x = rsAllocationGetDimX(gIcons[iconNum]);
vpConstants->ImgSize.y = rsAllocationGetDimY(gIcons[iconNum]);
vpConstants->Position.y = y - 0.2f;
- rsAllocationMarkDirty(g_VPConstAlloc);
+ rsgAllocationSyncAll(g_VPConstAlloc);
rsgBindTexture(gPFTexMip, 0, gIcons[iconNum]);
rsgDrawMesh(gSMCell);
@@ -314,7 +314,7 @@ static void drawFrontGrid(float rowOffset, float p)
vpConstants->ImgSize.x = rsAllocationGetDimX(gLabels[iconNum]);
vpConstants->ImgSize.y = rsAllocationGetDimY(gLabels[iconNum]);
vpConstants->Position.y = y - 64.f - 0.2f;
- rsAllocationMarkDirty(g_VPConstAlloc);
+ rsgAllocationSyncAll(g_VPConstAlloc);
rsgBindTexture(gPFTexMipAlpha, 0, gLabels[iconNum]);
rsgDrawMesh(gSMCell);
}