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

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

Issue 2056413003: Fix a bug in the implementation of DescheduleUntilFinishedCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error on windows. Created 4 years, 5 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 unified diff | Download patch
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 <stdint.h> 10 #include <stdint.h>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 MOCK_METHOD0(GetGLES2Util, GLES2Util*()); 64 MOCK_METHOD0(GetGLES2Util, GLES2Util*());
65 MOCK_METHOD0(GetGLSurface, gl::GLSurface*()); 65 MOCK_METHOD0(GetGLSurface, gl::GLSurface*());
66 MOCK_METHOD0(GetGLContext, gl::GLContext*()); 66 MOCK_METHOD0(GetGLContext, gl::GLContext*());
67 MOCK_METHOD0(GetContextGroup, ContextGroup*()); 67 MOCK_METHOD0(GetContextGroup, ContextGroup*());
68 MOCK_METHOD0(GetContextState, const ContextState*()); 68 MOCK_METHOD0(GetContextState, const ContextState*());
69 MOCK_METHOD0(GetCapabilities, Capabilities()); 69 MOCK_METHOD0(GetCapabilities, Capabilities());
70 MOCK_CONST_METHOD0(HasPendingQueries, bool()); 70 MOCK_CONST_METHOD0(HasPendingQueries, bool());
71 MOCK_METHOD1(ProcessPendingQueries, void(bool)); 71 MOCK_METHOD1(ProcessPendingQueries, void(bool));
72 MOCK_CONST_METHOD0(HasMoreIdleWork, bool()); 72 MOCK_CONST_METHOD0(HasMoreIdleWork, bool());
73 MOCK_METHOD0(PerformIdleWork, void()); 73 MOCK_METHOD0(PerformIdleWork, void());
74 MOCK_CONST_METHOD0(HasPollingWork, bool());
75 MOCK_METHOD0(PerformPollingWork, void());
74 MOCK_METHOD1(RestoreState, void(const ContextState* prev_state)); 76 MOCK_METHOD1(RestoreState, void(const ContextState* prev_state));
75 MOCK_CONST_METHOD0(RestoreActiveTexture, void()); 77 MOCK_CONST_METHOD0(RestoreActiveTexture, void());
76 MOCK_CONST_METHOD1( 78 MOCK_CONST_METHOD1(
77 RestoreAllTextureUnitBindings, void(const ContextState* state)); 79 RestoreAllTextureUnitBindings, void(const ContextState* state));
78 MOCK_CONST_METHOD1( 80 MOCK_CONST_METHOD1(
79 RestoreActiveTextureUnitBinding, void(unsigned int target)); 81 RestoreActiveTextureUnitBinding, void(unsigned int target));
80 MOCK_METHOD0(RestoreAllExternalTextureBindingsIfNeeded, void()); 82 MOCK_METHOD0(RestoreAllExternalTextureBindingsIfNeeded, void());
81 MOCK_CONST_METHOD0(RestoreBufferBindings, void()); 83 MOCK_CONST_METHOD0(RestoreBufferBindings, void());
82 MOCK_CONST_METHOD0(RestoreFramebufferBindings, void()); 84 MOCK_CONST_METHOD0(RestoreFramebufferBindings, void());
83 MOCK_CONST_METHOD0(RestoreGlobalState, void()); 85 MOCK_CONST_METHOD0(RestoreGlobalState, void());
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool()); 162 MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool());
161 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason)); 163 MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason));
162 164
163 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); 165 DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder);
164 }; 166 };
165 167
166 } // namespace gles2 168 } // namespace gles2
167 } // namespace gpu 169 } // namespace gpu
168 170
169 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_MOCK_H_ 171 #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_passthrough.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698