summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/gl_mock.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 22:53:06 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 22:53:06 +0000
commit269200b1c5008621167dbd619576281337b421a4 (patch)
tree80b10bbac1a929710fd5340b44caafefec30ea9a /gpu/command_buffer/common/gl_mock.h
parent4ea77949af577e920f8ee3dff283289d8c80b413 (diff)
downloadchromium_src-269200b1c5008621167dbd619576281337b421a4.zip
chromium_src-269200b1c5008621167dbd619576281337b421a4.tar.gz
chromium_src-269200b1c5008621167dbd619576281337b421a4.tar.bz2
Renames Chrome only GL extension functions to follow
GL naming convention. TEST=none BUG=none Review URL: http://codereview.chromium.org/5210001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gl_mock.h')
-rw-r--r--gpu/command_buffer/common/gl_mock.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h
index 7012ee5..20f990c 100644
--- a/gpu/command_buffer/common/gl_mock.h
+++ b/gpu/command_buffer/common/gl_mock.h
@@ -5,8 +5,8 @@
// This file implements mock GL Interface for unit testing. It has to mock
// Desktop GL, not GLES2 as it is used to test the service side code.
-#ifndef APP_GFX_GL_GL_MOCK_H_
-#define APP_GFX_GL_GL_MOCK_H_
+#ifndef GPU_COMMAND_BUFFER_COMMON_GL_MOCK_H_
+#define GPU_COMMAND_BUFFER_COMMON_GL_MOCK_H_
#pragma once
#include "app/gfx/gl/gl_interface.h"
@@ -406,10 +406,11 @@ class MockGLInterface : public GLInterface {
MOCK_METHOD0(SwapBuffers, void());
- MOCK_METHOD4(GetMaxValueInBuffer, GLuint(
+ MOCK_METHOD4(GetMaxValueInBufferCHROMIUM, GLuint(
GLuint buffer_id, GLsizei count, GLenum type, GLuint offset));
};
} // namespace gfx
-#endif // APP_GFX_GL_GL_MOCK_H_
+#endif // GPU_COMMAND_BUFFER_COMMON_GL_MOCK_H_
+