summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java
diff options
context:
space:
mode:
authorChristian Wichner <cwichner@google.com>2013-04-16 19:07:50 +0200
committerChristian Wichner <cwichner@google.com>2013-04-16 19:07:50 +0200
commita225f182540914e286ed18117f40e960244255c5 (patch)
tree9cdf382284adc3534d181021dde9917a8c44b645 /src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java
parent55fccf8e63d3eb50800f81ca1211b2205fe15060 (diff)
downloadandroid_packages_apps_Gallery2-a225f182540914e286ed18117f40e960244255c5.tar.gz
android_packages_apps_Gallery2-a225f182540914e286ed18117f40e960244255c5.tar.bz2
android_packages_apps_Gallery2-a225f182540914e286ed18117f40e960244255c5.zip
convertBitmap is needed by ImageFilterFixedFrame.
Change-Id: I2094c54745f94dab2283e2a466371d15d5a57b0a
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java
index 0a45e83de..cfbb560c7 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java
@@ -141,7 +141,7 @@ public abstract class ImageFilterRS extends ImageFilter {
return bitmap;
}
- private static Allocation convertBitmap(Bitmap bitmap) {
+ protected static Allocation convertBitmap(Bitmap bitmap) {
return Allocation.createFromBitmap(CachingPipeline.getRenderScriptContext(), bitmap,
Allocation.MipmapControl.MIPMAP_NONE,
Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE);