diff options
author | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:57:19 +0000 |
---|---|---|
committer | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:57:19 +0000 |
commit | c09f1a619592294610cc3a4f07cb83c16735fb9d (patch) | |
tree | a9ec312de574ae0bd7b12c7c954c7aa5075fd4eb /skia/skia.gyp | |
parent | 42c8ce448d828ef1b7ecb219ad92b392ca808e60 (diff) | |
download | chromium_src-c09f1a619592294610cc3a4f07cb83c16735fb9d.zip chromium_src-c09f1a619592294610cc3a4f07cb83c16735fb9d.tar.gz chromium_src-c09f1a619592294610cc3a4f07cb83c16735fb9d.tar.bz2 |
O2D: Use cairo_surface_create_similar to make the surfaces for textures instead of always using image surfaces on every platform.
On Windows this would have changed the code from using GDI compositing + image textures to using GDI compositing + GDI textures, but strangely that makes performance much worse. But it turns out that COMPOSITING_TO_IMAGE (i.e., image compositing + image textures) is better than both of the other options.
Improves performance on Linux by 19%-36% (higher resolutions are improved more).
Improves performance on Windows by 6.8%-21% (higher resolutions are improved less).
TEST=loaded O2D on Linux and Windows are compared CPU utilization before and after across various resolutions
BUG=none
Review URL: http://codereview.chromium.org/6719007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia.gyp')
0 files changed, 0 insertions, 0 deletions