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
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
BitSet.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h dump callstack on Surface use error 2010-12-10 15:37:48 -08:00
Compat.h
Debug.h
Endian.h
Errors.h
FileMap.h
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
misc.h
ObbFile.h
Pool.h
PropertyMap.h Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
RefBase.h
ResourceTypes.h
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
StreamingZipInflater.h
String8.h
String16.h
StringArray.h
SystemClock.h
TextOutput.h
threads.h
Timers.h
Tokenizer.h
TypeHelpers.h
Unicode.h
Vector.h
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h
ZipUtils.h