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

Unified Diff: gpu/command_buffer/common/command_buffer_mock.h

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « gpu/command_buffer/common/command_buffer.h ('k') | gpu/command_buffer/common/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/command_buffer_mock.h
===================================================================
--- gpu/command_buffer/common/command_buffer_mock.h (revision 37414)
+++ gpu/command_buffer/common/command_buffer_mock.h (working copy)
@@ -23,20 +23,14 @@
MOCK_METHOD1(Initialize, bool(int32 size));
MOCK_METHOD0(GetRingBuffer, Buffer());
- MOCK_METHOD0(GetSize, int32());
- MOCK_METHOD1(SyncOffsets, int32(int32 put_offset));
- MOCK_METHOD0(GetGetOffset, int32());
+ MOCK_METHOD0(GetState, State());
+ MOCK_METHOD1(Flush, State(int32 put_offset));
MOCK_METHOD1(SetGetOffset, void(int32 get_offset));
- MOCK_METHOD0(GetPutOffset, int32());
MOCK_METHOD1(CreateTransferBuffer, int32(size_t size));
MOCK_METHOD1(DestroyTransferBuffer, void(int32 handle));
MOCK_METHOD1(GetTransferBuffer, Buffer(int32 handle));
- MOCK_METHOD0(GetToken, int32());
MOCK_METHOD1(SetToken, void(int32 token));
- MOCK_METHOD0(ResetParseError, int32());
- MOCK_METHOD1(SetParseError, void(int32 parse_erro));
- MOCK_METHOD0(GetErrorStatus, bool());
- MOCK_METHOD0(RaiseErrorStatus, void());
+ MOCK_METHOD1(SetParseError, void(parse_error::ParseError parse_error));
private:
DISALLOW_COPY_AND_ASSIGN(MockCommandBuffer);
« no previous file with comments | « gpu/command_buffer/common/command_buffer.h ('k') | gpu/command_buffer/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698