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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc

Issue 16035006: gpu: Increase thread priority for waited-on uploads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc b/gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc
index f0f98ba0d5942df5de10dd4f9ca843eaab5dd80f..c56f72aae754168a1d1c37123289b6e2405be57e 100644
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc
+++ b/gpu/command_buffer/service/async_pixel_transfer_delegate_egl.cc
@@ -498,7 +498,7 @@ void AsyncPixelTransferDelegateEGL::WaitForTransferCompletion(
if (state->TransferIsInProgress()) {
#if defined(OS_ANDROID) || defined(OS_LINUX)
- g_transfer_thread.Pointer()->SetPriority(base::kThreadPriority_Normal);
+ g_transfer_thread.Pointer()->SetPriority(base::kThreadPriority_Display);
#endif
state->WaitForTransferCompletion();
« no previous file with comments | « no previous file | gpu/command_buffer/service/async_pixel_transfer_delegate_share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698