From 0333247337b910bb981c6ba17ca0cc76d5b614ff Mon Sep 17 00:00:00 2001 From: nicolasroard Date: Tue, 16 Apr 2013 15:56:35 -0700 Subject: [PATCH] Make convertBitmap() protected so that Frames can use it. bug:8633011 Change-Id: Ic731a1d906a6a388a22568f396111f8ca3b4475e --- src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0