diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 17:24:51 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 17:24:51 +0000 |
commit | ab7f2746760f15e5fab7dae6e107da26002b7d82 (patch) | |
tree | 1fce04333f2dfab22d587e471bbf84c62e6c8251 /chrome/common/socket_stream_dispatcher.h | |
parent | 64e10897fd89b86a2085ad0d47f374419ff4a9db (diff) | |
download | chromium_src-ab7f2746760f15e5fab7dae6e107da26002b7d82.zip chromium_src-ab7f2746760f15e5fab7dae6e107da26002b7d82.tar.gz chromium_src-ab7f2746760f15e5fab7dae6e107da26002b7d82.tar.bz2 |
Improve plugin performance on the Mac
This makes a few changes:
- Switch to memcpy instead of CG drawing to copy pixels from the transport bitmap to the backing bitmap (this is a substantial perf win).
- Send transparancy information to the WebPluginDelegate, since it's no longer equivalent to not having a background DIB on the Mac (and likely on the other platforms in the future).
- Don't clear the transport DIB for non-transparent plugins, since they will be drawing over whatever is there anyway.
BUG=41340
TEST=Both transparent and non-transparent plugins should continue to draw correctly. Framerates for large CG plugins (e.g., in-window Netflix streaming) should be higher.
Review URL: http://codereview.chromium.org/1629017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/socket_stream_dispatcher.h')
0 files changed, 0 insertions, 0 deletions