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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2876913003: Reland of gpu: GPU service scheduler. (Closed)
Patch Set: comment 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 | « content/renderer/render_thread_impl.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 5389c9d342b80a8094e511b1491d4f9769f4bce5..cd57d582a860f1a8e943563e8d4e6d07ee08348f 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -39,6 +39,7 @@
#include "content/child/webmessageportchannel_impl.h"
#include "content/common/file_utilities_messages.h"
#include "content/common/frame_messages.h"
+#include "content/common/gpu_stream_constants.h"
#include "content/common/render_process_messages.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/service_manager_connection.h"
@@ -72,7 +73,6 @@
#include "gpu/command_buffer/client/gles2_interface.h"
#include "gpu/config/gpu_info.h"
#include "gpu/ipc/client/gpu_channel_host.h"
-#include "gpu/ipc/common/gpu_stream_constants.h"
#include "ipc/ipc_sync_message_filter.h"
#include "media/audio/audio_output_device.h"
#include "media/blink/webcontentdecryptionmodule_impl.h"
@@ -1041,8 +1041,8 @@ RendererBlinkPlatformImpl::CreateOffscreenGraphicsContext3DProvider(
scoped_refptr<ui::ContextProviderCommandBuffer> provider(
new ui::ContextProviderCommandBuffer(
- std::move(gpu_channel_host), gpu::GPU_STREAM_DEFAULT,
- gpu::GpuStreamPriority::NORMAL, gpu::kNullSurfaceHandle,
+ std::move(gpu_channel_host), kGpuStreamIdDefault,
+ kGpuStreamPriorityDefault, gpu::kNullSurfaceHandle,
GURL(top_document_web_url), automatic_flushes, support_locking,
gpu::SharedMemoryLimits(), attributes, share_context,
ui::command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_WEBGL));
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698