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

Unified Diff: content/common/gpu/gpu_channel.h

Issue 1568563002: Added a way for sync point clients to issue out of order waits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow WaitOutOfOrder if no client order data Created 4 years, 11 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 | « components/mus/gles2/command_buffer_impl.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index e170b21332474e37ad5caf235df92aa192da7037..319f81d40ed20163d7ee7f24b4ee5c0ad2261004 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -432,8 +432,12 @@ class GpuChannelMessageQueue
GpuChannelMessage* GetNextMessage() const;
+ // Should be called before a message begins to be processed.
void BeginMessageProcessing(const GpuChannelMessage* msg);
+ // Should be called if a message began processing but did not finish.
+ void PauseMessageProcessing(const GpuChannelMessage* msg);
+
// Should be called after a message returned by GetNextMessage is processed.
// Returns true if there are more messages on the queue.
bool MessageProcessed();
« no previous file with comments | « components/mus/gles2/command_buffer_impl.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698