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

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

Issue 12040049: gpu: Implement idle async pixel transfers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « no previous file | content/common/gpu/gpu_channel_manager.h » ('j') | ui/gl/async_pixel_transfer_delegate_idle.h » ('J')
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 44fd75d8c7ad38a2eafd965074ecd4f29e3db90c..581797f8d1aceb0ef73b955a00a9e81a7fb99985 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -137,6 +137,9 @@ class GpuChannel : public IPC::Listener,
gpu::PreemptionFlag* GetPreemptionFlag();
+ bool handle_messages_scheduled() { return handle_messages_scheduled_; }
+ uint64 messages_processed() { return messages_processed_; }
+
// If |preemption_flag->IsSet()|, any stub on this channel
// should stop issuing GL commands. Setting this to NULL stops deferral.
void SetPreemptByFlag(
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel_manager.h » ('j') | ui/gl/async_pixel_transfer_delegate_idle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698