Skip to content

Commit 8d56b0e

Browse files
committed
Enabling DisplayList properties
An earlier commit fixed problems with enabling DisplayList properties. This CL actually enables the properties. Change-Id: I5c41d0c64e9241822af53eb367de0fed7d9608e0
1 parent 78e2c33 commit 8d56b0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/java/android/view/View.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
14641464
* apps.
14651465
* @hide
14661466
*/
1467-
public static final boolean USE_DISPLAY_LIST_PROPERTIES = false;
1467+
public static final boolean USE_DISPLAY_LIST_PROPERTIES = true;
14681468

14691469
/**
14701470
* Map used to store views' tags.

libs/hwui/DisplayListRenderer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace uirenderer {
5151

5252
// Set to 1 to enable native processing of View properties. 0 by default. Eventually this
5353
// will go away and we will always use this approach for accelerated apps.
54-
#define USE_DISPLAY_LIST_PROPERTIES 0
54+
#define USE_DISPLAY_LIST_PROPERTIES 1
5555

5656
#define TRANSLATION 0x0001
5757
#define ROTATION 0x0002

0 commit comments

Comments
 (0)