diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 02:26:55 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 02:26:55 +0000 |
commit | 1f305b559be7437fbb6d6ca0ea31897a1013e466 (patch) | |
tree | 720abc7d5f2aa811a71c61aa59f8494094b2af47 /remoting | |
parent | 16d8ae4a78625bccd8ec30795dbf5639f8d88794 (diff) | |
download | chromium_src-1f305b559be7437fbb6d6ca0ea31897a1013e466.zip chromium_src-1f305b559be7437fbb6d6ca0ea31897a1013e466.tar.gz chromium_src-1f305b559be7437fbb6d6ca0ea31897a1013e466.tar.bz2 |
Do all Presents on present thread.
If we queue up presents from the UI thread on the present thread, that will avoid the present thread starving the UI thread due to the AcceleratedPresenter lock. The UI thread will synchronously wait for the present to finish, so the WM_PAINT callback will end at the correct time.
Also remove the spin after the present, as it's probably unnecessary.
BUG=122087
TEST=
Review URL: http://codereview.chromium.org/9949043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions