Looking at the source code, after changing DEBUG_DISPLAY_LIST to 1, you can see all DisplayList prints from logcat, but I can’t see any DisplayList prints after modification. Is there any way for me to dump all DisplayLists before rendering?
#frameworks/base/libs/hwui/Debug.h
// Turn on to dump display list state
#define DEBUG_DISPLAY_LIST 0
I try the following:
- Change DEBUG_DISPLAY_LIST to 1
- make libhwui
- Replace the libhwui.so file on the device
- Restart the device
I expected to see all DisplayList prints from logcat, but I didn't. I'm using a build of Android 12.
#frameworks/base/libs/hwui/Debug.h
// Turn on to dump display list state
#define DEBUG_DISPLAY_LIST 1