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

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

Issue 12040049: gpu: Implement idle async pixel transfers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove texture_dirty_ state from AsyncPixelTransferDelegateIdle 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
Index: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 03de927b15f894e53a29fdb59b8ace10a1df5f71..daca081d94a1d43299b1586170f386d814bae9c6 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -191,7 +191,7 @@ class GpuCommandBufferStub
// Whether this command buffer needs to be polled again in the future.
bool HasMoreWork();
- void ScheduleDelayedWork(int64 delay);
+ void ScheduleDelayedWork();
// The lifetime of objects of this class is managed by a GpuChannel. The
// GpuChannels destroy all the GpuCommandBufferStubs that they own when they
@@ -241,6 +241,8 @@ class GpuCommandBufferStub
int sync_point_wait_count_;
bool delayed_work_scheduled_;
+ uint64 previous_messages_processed_;
+ base::TimeTicks last_idle_time_;
scoped_refptr<gpu::PreemptionFlag> preemption_flag_;

Powered by Google App Engine
This is Rietveld 408576698