summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-11-21 22:05:33 +0000
committerChris Craik <ccraik@google.com>2014-11-21 22:05:33 +0000
commit69e65019b0a6204f0ed9487d8fd7b3564eba6df8 (patch)
tree9266aa679771904e019f1a0f08b250bf53d22ef5 /core/jni
parent4678dcc5524258908eadc5fe1e5e1874768967eb (diff)
downloadframeworks_base-69e65019b0a6204f0ed9487d8fd7b3564eba6df8.zip
frameworks_base-69e65019b0a6204f0ed9487d8fd7b3564eba6df8.tar.gz
frameworks_base-69e65019b0a6204f0ed9487d8fd7b3564eba6df8.tar.bz2
Revert "Add a way to override Xfermode DO NOT MERGE"
Feature no longer needed. bug:18448377 This reverts commit 4678dcc5524258908eadc5fe1e5e1874768967eb. Change-Id: Ib0a19946e966a54857165555827b5fa7b34b6bea
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/android_view_GLES20Canvas.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/jni/android_view_GLES20Canvas.cpp b/core/jni/android_view_GLES20Canvas.cpp
index fe64aba..b023ebd 100644
--- a/core/jni/android_view_GLES20Canvas.cpp
+++ b/core/jni/android_view_GLES20Canvas.cpp
@@ -172,12 +172,6 @@ static jint android_view_GLES20Canvas_getMaxTextureHeight(JNIEnv* env, jobject c
return Caches::getInstance().maxTextureSize;
}
-static void android_view_GLES20Canvas_setOverrideXfermode(JNIEnv* env, jobject clazz,
- jlong rendererPtr, int xfermode) {
- DisplayListRenderer* renderer = reinterpret_cast<DisplayListRenderer*>(rendererPtr);
- renderer->setOverrideXfermode(xfermode);
-}
-
// ----------------------------------------------------------------------------
// State
// ----------------------------------------------------------------------------
@@ -970,8 +964,6 @@ static JNINativeMethod gMethods[] = {
{ "nGetMaximumTextureWidth", "()I", (void*) android_view_GLES20Canvas_getMaxTextureWidth },
{ "nGetMaximumTextureHeight", "()I", (void*) android_view_GLES20Canvas_getMaxTextureHeight },
- { "nSetOverrideXfermode", "(JI)V", (void*) android_view_GLES20Canvas_setOverrideXfermode },
-
#endif
};