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

Unified Diff: services/ui/public/cpp/gpu/context_provider_command_buffer.h

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: fix test dcheck failures Created 3 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 | « services/ui/gpu/gpu_service.cc ('k') | services/ui/public/cpp/gpu/context_provider_command_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu/context_provider_command_buffer.h
diff --git a/services/ui/public/cpp/gpu/context_provider_command_buffer.h b/services/ui/public/cpp/gpu/context_provider_command_buffer.h
index 0a5a7c95731c0f82c913efb769307cc15a06fa49..a5afb599b4627b03d3c89c58bf101312170d4bb9 100644
--- a/services/ui/public/cpp/gpu/context_provider_command_buffer.h
+++ b/services/ui/public/cpp/gpu/context_provider_command_buffer.h
@@ -18,7 +18,7 @@
#include "cc/output/context_provider.h"
#include "gpu/command_buffer/client/shared_memory_limits.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
-#include "gpu/ipc/common/gpu_stream_constants.h"
+#include "gpu/command_buffer/common/scheduling_priority.h"
#include "gpu/ipc/common/surface_handle.h"
#include "services/ui/public/cpp/gpu/command_buffer_metrics.h"
#include "ui/gl/gpu_preference.h"
@@ -50,7 +50,7 @@ class ContextProviderCommandBuffer
ContextProviderCommandBuffer(
scoped_refptr<gpu::GpuChannelHost> channel,
int32_t stream_id,
- gpu::GpuStreamPriority stream_priority,
+ gpu::SchedulingPriority stream_priority,
gpu::SurfaceHandle surface_handle,
const GURL& active_url,
bool automatic_flushes,
@@ -112,7 +112,7 @@ class ContextProviderCommandBuffer
bool bind_failed_ = false;
const int32_t stream_id_;
- const gpu::GpuStreamPriority stream_priority_;
+ const gpu::SchedulingPriority stream_priority_;
const gpu::SurfaceHandle surface_handle_;
const GURL active_url_;
const bool automatic_flushes_;
« no previous file with comments | « services/ui/gpu/gpu_service.cc ('k') | services/ui/public/cpp/gpu/context_provider_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698