replicant-frameworks_native/include/utils
Chet Haase 47ab362e8d Use optimized display lists for all hwaccelerated rendering
Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
2011-01-24 08:43:20 -08:00
..
ashmem.h
Asset.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
BitSet.h Add suuport for splitting touch events across windows. 2010-09-26 22:20:12 -07:00
BufferedTextOutput.h
ByteOrder.h
CallStack.h dump callstack on Surface use error 2010-12-10 15:37:48 -08:00
Compat.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Debug.h
Endian.h
Errors.h
FileMap.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Flattenable.h
Functor.h Use optimized display lists for all hwaccelerated rendering 2011-01-24 08:43:20 -08:00
KeyedVector.h
List.h
Log.h
Looper.h Revert to using epoll_wait(). 2010-10-07 16:17:57 -07:00
misc.h
ObbFile.h OBB: use PBKDF2 for key generation. 2010-10-13 18:25:33 -07:00
Pool.h
PropertyMap.h Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
RefBase.h
ResourceTypes.h Add path to get different DPI drawables 2010-10-29 12:47:07 -07:00
SharedBuffer.h
Singleton.h Purge Skia objects from GL caches as needed. 2010-09-08 18:04:33 -07:00
SortedVector.h
StopWatch.h
StreamingZipInflater.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
String8.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
String16.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
StringArray.h
SystemClock.h
TextOutput.h
threads.h
Timers.h
Tokenizer.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
TypeHelpers.h
Unicode.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
Vector.h
VectorImpl.h
ZipFileCRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipFileRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipUtils.h