History log of /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a9fa89643ce796ee6dc7edae2742b291b6c5f40 29-Sep-2011 Romain Guy <romainguy@google.com> Don't build display lists for views with a layer.

This could cause the draw() code of views to be invoked too often
or worse, called with the wrong canvas. For instance, a view backed
by a software layer could get its draw() method called to record a
display list. Using a software layer is the recommended way to use
drawing operations not supported in hardware. Since we would
sometimes call the draw() method with the hardware backend anyway,
the app could crash by executing an unsupported operation.

Change-Id: Ib5f9a3a4c6f3efff5e0162ecd73d2dffe06e30a6
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java