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

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

Issue 7058035: WebGraphicsContext3DCommandBufferImpl cleanup, Canvas2D thottling fix, GpuScheduler fix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests and feedback Created 9 years, 7 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/mocks.h
diff --git a/gpu/command_buffer/service/mocks.h b/gpu/command_buffer/service/mocks.h
index 0d341bddfcc40c7b39ae1e200eb01f24fbcb3420..e9dfc96e90d33b7845f18ef659d7ee350037937e 100644
--- a/gpu/command_buffer/service/mocks.h
+++ b/gpu/command_buffer/service/mocks.h
@@ -69,6 +69,18 @@ class AsyncAPIMock : public AsyncAPIInterface {
CommandBufferEngine *engine_;
};
+class SpecializedAsyncAPIMock : public AsyncAPIMock {
+ public:
+ static const unsigned int kTestPauseCommand = 333;
+
+ SpecializedAsyncAPIMock();
+ virtual ~SpecializedAsyncAPIMock();
+
+ virtual error::Error DoCommand(unsigned int command,
+ unsigned int arg_count,
+ const void* cmd_data);
+};
+
namespace gles2 {
class MockShaderTranslator : public ShaderTranslatorInterface {

Powered by Google App Engine
This is Rietveld 408576698