diff options
author | Cary Clark <cary@android.com> | 2010-05-14 15:31:44 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-05-14 15:52:58 -0400 |
commit | 0d4eb282a9331db55cb204c779cd172dba8ccf50 (patch) | |
tree | 4d481c9cb202616734ac57387fc5c54ff1682858 /WebCore/storage/SQLResultSet.h | |
parent | 32c3075b9493cae498f938edbb48250b26c4c64c (diff) | |
download | external_webkit-0d4eb282a9331db55cb204c779cd172dba8ccf50.zip external_webkit-0d4eb282a9331db55cb204c779cd172dba8ccf50.tar.gz external_webkit-0d4eb282a9331db55cb204c779cd172dba8ccf50.tar.bz2 |
suppress partial screen updates if a canvas element is visible
A PictureSet contains a list of pictures. Each picture draws
part of the screen. If the picture contains a Canvas element,
the corresponding bitmap is not shared.
Small partial invalidates can create a dozen or so pictures,
each of which may be quite small, a few hundred bytes. But
the bitmap referenced by the picture may be large, several
meg.
The backing bitmap is unique to the Canvas element. Since
a canvas rarely benefits from small updates, disable the
partial invalidates if CacheBuilder detects a canvas.
Change-Id: I5761667db3d037d7363dcb01f8a26f7f62e2eabc
http://b/2678787
Diffstat (limited to 'WebCore/storage/SQLResultSet.h')
0 files changed, 0 insertions, 0 deletions