Skip to content

Commit 584eda7

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "Enable DisplayList properties"
2 parents a2dea4f + bdd896c commit 584eda7

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
@@ -1503,7 +1503,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
15031503
* apps.
15041504
* @hide
15051505
*/
1506-
public static final boolean USE_DISPLAY_LIST_PROPERTIES = false;
1506+
public static final boolean USE_DISPLAY_LIST_PROPERTIES = true;
15071507

15081508
/**
15091509
* 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)