diff options
author | Diego Perez <diegoperez@google.com> | 2015-02-16 17:14:16 +0000 |
---|---|---|
committer | Diego Perez <diegoperez@google.com> | 2015-04-22 09:51:06 +0100 |
commit | f3cb4ba213a0fa4d1c184c430a2eaac7e27ccf6f (patch) | |
tree | 21a3caaddd401cf94568802adfa48bac4e347c40 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 220f360e02ae833fcadc342756932f76f6780626 (diff) |
Avoid caching mImage on the main render loop and use clipping.
+ Added a session flag that avoids caching mImage. This is useful when
mImage is just a Graphics2D wrapper that might change at any time.
+ Make GcSnapshot aware of the clipping so it doesn't need to render the
whole area if not needed.
Change-Id: Ie0134c2bc2741b5fa6648313864c851bbac066cf
(cherry picked from commit 2c5e85b303077d2120b428bd4c7e6ecb6970935b)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions