Skip to content

Commit ad13c81

Browse files
committed
Disable DisplayList properties
DisplayList properties are (again) disabled by default, via flags in View.java and DisplayListRenderer.h. There are various artifacts to chase down before enabling by default. Issue #6198472 Native crash at pc 00076428 in many different apps in JRM80 Issue #6204173 Date/time picker isn't rendering all parts of UI Issue #6203941 All Apps overscroll effect is rendered weirdly/has flickering Issue #6200058 CAB rendering issue - not drawing items? Issue #6198578 Front camera shows black screen after taking picture. Change-Id: I045dc82ce1d85fedbae3bb88eb2a2dfb6891d41f
1 parent 222dfc7 commit ad13c81

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
@@ -1459,7 +1459,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
14591459
* apps.
14601460
* @hide
14611461
*/
1462-
public static final boolean USE_DISPLAY_LIST_PROPERTIES = true;
1462+
public static final boolean USE_DISPLAY_LIST_PROPERTIES = false;
14631463

14641464
/**
14651465
* 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 1
54+
#define USE_DISPLAY_LIST_PROPERTIES 0
5555

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

0 commit comments

Comments
 (0)