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

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: Fixed sync token fuzzer parameters 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..d33c7c7adcb3b219a9245e21318e841fe739b7e8 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,
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698