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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: Do not allow HIGH priority contexts by unprivileged clients. Created 3 years, 8 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
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 07a2abffd91d9318ee6c610c38b9a5e626c62549..f9342768d6b88ab5d1a28ad55b1a236e79f0daaa 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -2341,7 +2341,7 @@ RenderThreadImpl::SharedCompositorWorkerContextProvider() {
int32_t stream_id = gpu::GPU_STREAM_DEFAULT;
gpu::GpuStreamPriority stream_priority = gpu::GpuStreamPriority::NORMAL;
if (is_async_worker_context_enabled_) {
- stream_id = gpu_channel_host->GenerateStreamID();
+ stream_id = gpu::GPU_STREAM_WORKER;
stream_priority = gpu::GpuStreamPriority::LOW;
}

Powered by Google App Engine
This is Rietveld 408576698