diff options
author | Romain Guy <romainguy@google.com> | 2011-01-10 22:26:16 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-01-10 22:26:16 -0800 |
commit | 7230a74e9a36dfc6c4346c14e325bf07cd05b380 (patch) | |
tree | 0726a708eb545618fde761bd03ed3a1830e34c03 /libs/hwui/Properties.h | |
parent | a07105b7d2a27e6d69407bf96ddb773bddb5e553 (diff) | |
download | frameworks_base-7230a74e9a36dfc6c4346c14e325bf07cd05b380.zip frameworks_base-7230a74e9a36dfc6c4346c14e325bf07cd05b380.tar.gz frameworks_base-7230a74e9a36dfc6c4346c14e325bf07cd05b380.tar.bz2 |
Composite layers as regions.
This change detects what area of a layer was drawn into and generates a mesh
to match this area exactly. This can be used to avoid blending empty pixels
when the layer is composited.
This change also adds proper layers support to lines rendering and implements
layers composition in a more readable way.
Change-Id: I4a5588b98b19bd66891ebdc39631b193c5e31999
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r-- | libs/hwui/Properties.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index c474936..6a0d7ea 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -26,7 +26,7 @@ */ // If turned on, layers drawn inside FBOs are optimized with regions -#define RENDER_LAYERS_AS_REGIONS 0 +#define RENDER_LAYERS_AS_REGIONS 1 /** * Debug level for app developers. |