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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 1499813003: Reland "Added an extra sync token field for extra command buffer..." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enforce stream ids must be non-zero, default stream id is 1 Created 5 years 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/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index b5488ed97d1b710d3cb2834ceb560a4a0515bafc..7813a443172301a2b7ec2d90de1d456b71b242d8 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -88,7 +88,7 @@ class GpuChannelHost : public IPC::Sender,
base::WaitableEvent* shutdown_event,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager);
- static const int32 kDefaultStreamId = 0;
+ static const int32 kDefaultStreamId = 1;
static const GpuStreamPriority kDefaultStreamPriority =
GpuStreamPriority::NORMAL;
@@ -116,6 +116,8 @@ class GpuChannelHost : public IPC::Sender,
bool put_offset_changed,
bool do_flush);
+ void FlushPendingStream(int32 stream_id);
+
// Create and connect to a command buffer in the GPU process.
scoped_ptr<CommandBufferProxyImpl> CreateViewCommandBuffer(
int32 surface_id,

Powered by Google App Engine
This is Rietveld 408576698