Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: ui/gfx/surface/accelerated_surface_win.cc

Issue 9167036: Win AcceleratedSurface always presents on the thread with it has affinity. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/surface/accelerated_surface_win.cc
===================================================================
--- ui/gfx/surface/accelerated_surface_win.cc (revision 117043)
+++ ui/gfx/surface/accelerated_surface_win.cc (working copy)
@@ -187,11 +187,8 @@
quantized_size));
}
- // This might unnecessarily post to the thread with which the swap chain has
- // affinity. This will only result in potentially delaying the present.
g_present_thread_pool.Pointer()->PostTask(
- num_pending_resizes_ ?
- thread_affinity_ : g_present_thread_pool.Pointer()->NextThread(),
+ thread_affinity_,
FROM_HERE,
base::Bind(&AcceleratedPresenter::DoPresentAndAcknowledge,
base::Unretained(this),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698