summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2012-03-19 13:50:32 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-03-19 13:50:32 -0700
commit584eda7c99fedffc14ef52117d1675d5daddcdd9 (patch)
tree6ea561ce08cedf7a850345a307aceca889dca468
parenta2dea4fce61aa3ff126f53738620726a2ce53cf0 (diff)
parentbdd896c26453ffc56831b0cd167e8780068cee53 (diff)
Merge "Enable DisplayList properties"
-rw-r--r--core/java/android/view/View.java2
-rw-r--r--libs/hwui/DisplayListRenderer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 6d1f207a4dcd..fdf3a8145255 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -1503,7 +1503,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
* apps.
* @hide
*/
- public static final boolean USE_DISPLAY_LIST_PROPERTIES = false;
+ public static final boolean USE_DISPLAY_LIST_PROPERTIES = true;
/**
* Map used to store views' tags.
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index 4bbb04f36a41..38d0374ca089 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -51,7 +51,7 @@ namespace uirenderer {
// Set to 1 to enable native processing of View properties. 0 by default. Eventually this
// will go away and we will always use this approach for accelerated apps.
-#define USE_DISPLAY_LIST_PROPERTIES 0
+#define USE_DISPLAY_LIST_PROPERTIES 1
#define TRANSLATION 0x0001
#define ROTATION 0x0002