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

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

Issue 11316238: gpu: don't try to discard/recreate backbuffer while draws are deferred. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reset currently_processing_message_ in RequeueMessage Created 8 years, 1 month 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 | « no previous file | 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 1728484039ab688caa37d1908e0b150e92598af3..77d3edc5439ffd1ecf168867c151cb0735cc4bed 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -90,6 +90,11 @@ class GpuChannel : public IPC::Listener,
// IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
+ // Requeue the message that is currently being processed to the beginning of
+ // the queue. Used when the processing of a message gets aborted because of
+ // unscheduling conditions.
+ void RequeueMessage();
+
// This is called when a command buffer transitions from the unscheduled
// state to the scheduled state, which potentially means the channel
// transitions from the unscheduled to the scheduled state. When this occurs
@@ -219,6 +224,7 @@ class GpuChannel : public IPC::Listener,
bool software_;
bool handle_messages_scheduled_;
bool processed_get_state_fast_;
+ IPC::Message* currently_processing_message_;
#if defined(OS_ANDROID)
scoped_ptr<StreamTextureManagerAndroid> stream_texture_manager_;
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698