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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 11568029: Add a command to lose the context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add docs, lose parent and children, fix typo Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains the mock GLES2Decoder class. 5 // This file contains the mock GLES2Decoder class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int width, 74 int width,
75 int height, 75 int height,
76 bool is_texture_immutable)); 76 bool is_texture_immutable));
77 MOCK_METHOD0(GetGLError, uint32()); 77 MOCK_METHOD0(GetGLError, uint32());
78 MOCK_METHOD1(SetMsgCallback, void(const MsgCallback& callback)); 78 MOCK_METHOD1(SetMsgCallback, void(const MsgCallback& callback));
79 MOCK_METHOD0(GetTextureUploadCount, uint32()); 79 MOCK_METHOD0(GetTextureUploadCount, uint32());
80 MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta()); 80 MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta());
81 MOCK_METHOD0(GetTotalProcessingCommandsTime, base::TimeDelta()); 81 MOCK_METHOD0(GetTotalProcessingCommandsTime, base::TimeDelta());
82 MOCK_METHOD1(AddProcessingCommandsTime, void(base::TimeDelta)); 82 MOCK_METHOD1(AddProcessingCommandsTime, void(base::TimeDelta));
83 MOCK_METHOD0(WasContextLost, bool()); 83 MOCK_METHOD0(WasContextLost, bool());
84 MOCK_METHOD1(LoseContext, void(uint32 reset_status));
84 85
85 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); 86 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder);
86 }; 87 };
87 88
88 } // namespace gles2 89 } // namespace gles2
89 } // namespace gpu 90 } // namespace gpu
90 91
91 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ 92 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698