| OLD | NEW |
| 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 <stdint.h> | 10 #include <stdint.h> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 MOCK_METHOD9(ClearLevel, | 105 MOCK_METHOD9(ClearLevel, |
| 106 bool(Texture* texture, | 106 bool(Texture* texture, |
| 107 unsigned target, | 107 unsigned target, |
| 108 int level, | 108 int level, |
| 109 unsigned format, | 109 unsigned format, |
| 110 unsigned type, | 110 unsigned type, |
| 111 int x_offset, | 111 int x_offset, |
| 112 int y_offset, | 112 int y_offset, |
| 113 int width, | 113 int width, |
| 114 int height)); | 114 int height)); |
| 115 MOCK_METHOD6(ClearCompressedTextureLevel, |
| 116 bool(Texture* texture, |
| 117 unsigned target, |
| 118 int level, |
| 119 unsigned format, |
| 120 int width, |
| 121 int height)); |
| 122 MOCK_METHOD1(IsCompressedTextureFormat, |
| 123 bool(unsigned format)); |
| 115 MOCK_METHOD8(ClearLevel3D, | 124 MOCK_METHOD8(ClearLevel3D, |
| 116 bool(Texture* texture, | 125 bool(Texture* texture, |
| 117 unsigned target, | 126 unsigned target, |
| 118 int level, | 127 int level, |
| 119 unsigned format, | 128 unsigned format, |
| 120 unsigned type, | 129 unsigned type, |
| 121 int width, | 130 int width, |
| 122 int height, | 131 int height, |
| 123 int depth)); | 132 int depth)); |
| 124 MOCK_METHOD0(GetErrorState, ErrorState *()); | 133 MOCK_METHOD0(GetErrorState, ErrorState *()); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 140 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool()); | 149 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool()); |
| 141 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason)); | 150 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason)); |
| 142 | 151 |
| 143 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); | 152 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); |
| 144 }; | 153 }; |
| 145 | 154 |
| 146 } // namespace gles2 | 155 } // namespace gles2 |
| 147 } // namespace gpu | 156 } // namespace gpu |
| 148 | 157 |
| 149 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ | 158 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ |
| OLD | NEW |