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

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

Issue 14308014: Clean up of GLES2 Command Decoder by moving some of the error state into a separate class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge error. Created 7 years, 8 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/service/query_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/test_helper.h
diff --git a/gpu/command_buffer/service/test_helper.h b/gpu/command_buffer/service/test_helper.h
index d04e9bddcc8e4802c67c5f5d6da5c9a4b52f97d4..41cb3aa1b27c80c3bedd2ee7f5a9dfaa3725f750 100644
--- a/gpu/command_buffer/service/test_helper.h
+++ b/gpu/command_buffer/service/test_helper.h
@@ -14,7 +14,7 @@ namespace gles2 {
struct DisallowedFeatures;
class Buffer;
class BufferManager;
-class MockGLES2Decoder;
+class MockErrorState;
class Texture;
class TextureManager;
@@ -92,12 +92,12 @@ class TestHelper {
GLuint service_id);
static void DoBufferData(
- ::gfx::MockGLInterface* gl, MockGLES2Decoder* decoder,
+ ::gfx::MockGLInterface* gl, MockErrorState* error_state,
BufferManager* manager, Buffer* buffer, GLsizeiptr size, GLenum usage,
const GLvoid* data, GLenum error);
static void SetTexParameterWithExpectations(
- ::gfx::MockGLInterface* gl, MockGLES2Decoder* decoder,
+ ::gfx::MockGLInterface* gl, MockErrorState* error_state,
TextureManager* manager, Texture* texture,
GLenum pname, GLint value, GLenum error);
« no previous file with comments | « gpu/command_buffer/service/query_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698