From 1b94f9b77cb1a241b42f894572d819cc1153932f Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 19 Jan 2016 09:42:15 -0800 Subject: [PATCH] Revert "Switch to new rendering pipeline" This reverts commit 3daf4d3272f2cc6ce3b5a572b9d4dcce1654086d. Temporarily disable due to high rate of crashes from endLayer check Bug: 26609444 Change-Id: I7583a77bf5cc1e722fa4042db0542f80cd978760 --- core/jni/Android.mk | 1 - libs/hwui/Android.mk | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/jni/Android.mk b/core/jni/Android.mk index fc1ba44394435..30593f2eb67e8 100644 --- a/core/jni/Android.mk +++ b/core/jni/Android.mk @@ -7,7 +7,6 @@ LOCAL_CFLAGS += -U__APPLE__ LOCAL_CFLAGS += -Wno-unused-parameter LOCAL_CFLAGS += -Wno-non-virtual-dtor LOCAL_CFLAGS += -Wno-maybe-uninitialized -Wno-parentheses -LOCAL_CFLAGS += -DHWUI_NEW_OPS LOCAL_CPPFLAGS += -Wno-conversion-null ifeq ($(TARGET_ARCH), arm) diff --git a/libs/hwui/Android.mk b/libs/hwui/Android.mk index fa7c8aa02c7cd..1248a4c87cb33 100644 --- a/libs/hwui/Android.mk +++ b/libs/hwui/Android.mk @@ -2,7 +2,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk -HWUI_NEW_OPS := true +HWUI_NEW_OPS := false hwui_src_files := \ font/CacheTexture.cpp \ @@ -233,7 +233,6 @@ LOCAL_SRC_FILES += \ tests/unit/GpuMemoryTrackerTests.cpp \ tests/unit/LayerUpdateQueueTests.cpp \ tests/unit/LinearAllocatorTests.cpp \ - tests/unit/LeakCheckTests.cpp \ tests/unit/VectorDrawableTests.cpp \ tests/unit/OffscreenBufferPoolTests.cpp \ tests/unit/StringUtilsTests.cpp @@ -242,6 +241,7 @@ ifeq (true, $(HWUI_NEW_OPS)) LOCAL_SRC_FILES += \ tests/unit/BakedOpStateTests.cpp \ tests/unit/FrameBuilderTests.cpp \ + tests/unit/LeakCheckTests.cpp \ tests/unit/RecordingCanvasTests.cpp endif