summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests/ImageProcessing/src
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-07-25 14:54:49 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-25 14:54:49 -0700
commitc854b9c05eafdaeb7e33c8e8bbcbce3668ac7ec6 (patch)
tree95a69a578dab4cad568448fe6bc4b2d2becc56a6 /tests/RenderScriptTests/ImageProcessing/src
parent01391cc0286e3daad2bab193eca325dc1a30e9a0 (diff)
parentcf57dec80b3d34f09fd22693fa5a07a3f3a9ea83 (diff)
downloadframeworks_base-c854b9c05eafdaeb7e33c8e8bbcbce3668ac7ec6.zip
frameworks_base-c854b9c05eafdaeb7e33c8e8bbcbce3668ac7ec6.tar.gz
frameworks_base-c854b9c05eafdaeb7e33c8e8bbcbce3668ac7ec6.tar.bz2
Merge "Add size param to rsForEach bug 5074640"
Diffstat (limited to 'tests/RenderScriptTests/ImageProcessing/src')
-rw-r--r--tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs
index 16ebe08..d93238c 100644
--- a/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs
+++ b/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/threshold.rs
@@ -84,10 +84,10 @@ void filter() {
fs.radius = radius;
fs.ain = rsGetAllocation(ScratchPixel1);
- rsForEach(hBlurScript, fs.ain, rsGetAllocation(ScratchPixel2), &fs);
+ rsForEach(hBlurScript, fs.ain, rsGetAllocation(ScratchPixel2), &fs, sizeof(fs));
fs.ain = rsGetAllocation(ScratchPixel2);
- rsForEach(vBlurScript, fs.ain, rsGetAllocation(OutPixel), &fs);
+ rsForEach(vBlurScript, fs.ain, rsGetAllocation(OutPixel), &fs, sizeof(fs));
rsSendToClientBlocking(CMD_FINISHED);
}