commit | f3cb4ba213a0fa4d1c184c430a2eaac7e27ccf6f | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Mon Feb 16 17:14:16 2015 +0000 |
committer | Diego Perez <diegoperez@google.com> | Wed Apr 22 09:51:06 2015 +0100 |
tree | 21a3caaddd401cf94568802adfa48bac4e347c40 | |
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)