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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 12040049: gpu: Implement idle async pixel transfers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and prevent starvation 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: gpu/command_buffer/service/gles2_cmd_decoder_mock.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
index 8493616402581643c390b29a75b24bd0d4edd15b..c63a3177e03465c143e7df3237641b183772d0bf 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -52,6 +52,8 @@ class MockGLES2Decoder : public GLES2Decoder {
MOCK_METHOD0(GetGLContext, gfx::GLContext*());
MOCK_METHOD0(GetContextGroup, ContextGroup*());
MOCK_METHOD0(ProcessPendingQueries, bool());
+ MOCK_METHOD0(HasMoreWork, bool());
+ MOCK_METHOD0(PerformIdleWork, bool());
MOCK_CONST_METHOD0(RestoreState, void());
MOCK_CONST_METHOD0(RestoreActiveTexture, void());
MOCK_CONST_METHOD1(RestoreAttribute, void(unsigned index));

Powered by Google App Engine
This is Rietveld 408576698