diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-09 12:31:40 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-10 13:24:36 +0000 |
commit | 7947dcea76fec80613d045ab8204a70ecbe43feb (patch) | |
tree | b1a819de547821e82eb6f34a1b0f2d8e5ed3486b /src/core/web_engine_context_threads.cpp | |
parent | 64a2e6ff1cb9c169f251ee5983c27156b27a0470 (diff) |
Set correct priorities on tasks and threads
Change-Id: I1dc8b466d0b45f9e1d6c973f1ad3c62033bf4409
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/web_engine_context_threads.cpp')
-rw-r--r-- | src/core/web_engine_context_threads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_engine_context_threads.cpp b/src/core/web_engine_context_threads.cpp index 75f8bd470..e92cf3e9b 100644 --- a/src/core/web_engine_context_threads.cpp +++ b/src/core/web_engine_context_threads.cpp @@ -82,7 +82,7 @@ struct GpuThreadControllerQt : content::GpuThreadController if (s_gpuProcessDestroyed) return; - s_gpuProcess = std::make_unique<content::GpuProcess>(base::ThreadPriority::NORMAL); + s_gpuProcess = std::make_unique<content::GpuProcess>(base::ThreadPriority::DISPLAY); auto gpuInit = std::make_unique<gpu::GpuInit>(); gpuInit->InitializeInProcess(base::CommandLine::ForCurrentProcess(), gpuPreferences); auto childThread = new content::GpuChildThread(params, std::move(gpuInit)); |