Chromium Code Reviews| 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_; } |
|
Sami
2013/03/14 15:18:07
Nit: these could be const.
reveman
2013/03/14 19:21:47
Done.
|
| + 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( |