diff options
author | George Mount <mount@google.com> | 2012-11-16 15:44:26 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-12-05 11:18:20 -0800 |
commit | 837007c09f723dd96cd8e99476de242c633759c2 (patch) | |
tree | 67e41902c33cc95b21f2a9cdc77899b0e2ba5221 /gallerycommon | |
parent | 8d26578f8db895dadb7e0e1d7a56c00fa18183ec (diff) | |
download | android_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.tar.gz android_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.tar.bz2 android_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.zip |
Add GLES20 canvas implementation.
Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
Diffstat (limited to 'gallerycommon')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java index e0432749e..56adcb1e9 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -176,6 +176,9 @@ public class ApiHelper { public static final boolean HAS_OBJECT_ANIMATION = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static final boolean HAS_GLES20_REQUIRED = + Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static int getIntFieldIfExists(Class<?> klass, String fieldName, Class<?> obj, int defaultVal) { try { |