summaryrefslogtreecommitdiff
path: root/rs/jni/android_renderscript_RenderScript.cpp
diff options
context:
space:
mode:
authorPawin Vongmasa <pawin@google.com>2017-03-09 06:53:51 -0800
committerPawin Vongmasa <pawin@google.com>2017-03-14 18:45:26 -0700
commit34cca21eac17d70c6558987c717f5d52247bb4a2 (patch)
treef43e37f150f5994d9437f151b6a9afdba0696843 /rs/jni/android_renderscript_RenderScript.cpp
parenta5af24cd02f9dadbea7d23c59ce5f04ce045080d (diff)
Make IGraphicBufferProducer a hybrid interface.
android::IGraphicBufferProducer will now become a hybrid interface on top of the HIDL interface android::hardware::graphics::bufferqueue::V1_0::IGraphicBufferProducer. Test: With CtsMediaTestCases.apk installed, adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Bug: 33854657 Change-Id: Ia8914ea49d2acf3d43682982a164d7e10f7b8542
Diffstat (limited to 'rs/jni/android_renderscript_RenderScript.cpp')
-rw-r--r--rs/jni/android_renderscript_RenderScript.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp
index b4630efe80e8..c532efb79345 100644
--- a/rs/jni/android_renderscript_RenderScript.cpp
+++ b/rs/jni/android_renderscript_RenderScript.cpp
@@ -48,9 +48,6 @@ static constexpr bool kLogApi = false;
using namespace android;
-template <typename... T>
-void UNUSED(T... t) {}
-
#define PER_ARRAY_TYPE(flag, fnc, readonly, ...) { \
jint len = 0; \
void *ptr = nullptr; \