diff options
author | oetuaho@nvidia.com <oetuaho@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 07:26:48 +0000 |
---|---|---|
committer | oetuaho@nvidia.com <oetuaho@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 07:26:48 +0000 |
commit | 0018b5f6db27abc346d9ac03990f81d9c87dd781 (patch) | |
tree | 2ebf2f0fcd3555e0168573f522878b8e4d5e5a37 /ui/gl/gl_bindings.h | |
parent | 4177937ad5704b340671d7d2fb494e1ec7448410 (diff) | |
download | chromium_src-0018b5f6db27abc346d9ac03990f81d9c87dd781.zip chromium_src-0018b5f6db27abc346d9ac03990f81d9c87dd781.tar.gz chromium_src-0018b5f6db27abc346d9ac03990f81d9c87dd781.tar.bz2 |
Encapsulate functionality of the mock GL interface to MockGLInterface
Previously, the mock GL interface was split into two classes, GLInterface and MockGLInterface, and related functionality existed also outside these classes. Grouping the functionality under MockGLInterface and removing the ability to read the static GLInterface* from outside makes this part of the code more self-contained and easier to understand.
The comment explaining the role of MockGLInterface is also fixed: the interface is not the desktop GL interface, but rather an union of different GL interfaces.
Also clean up unused autogenerated egl/glx/osmesa/wgl headers. Only the gl interface header is currently being used for mocking.
The commit doesn't introduce functional changes, but only refactors existing functionality.
BUG=none
TEST=gpu_unittests
Review URL: https://codereview.chromium.org/132823009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_bindings.h')
-rw-r--r-- | ui/gl/gl_bindings.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gl/gl_bindings.h b/ui/gl/gl_bindings.h index fd24c42..74e20fe 100644 --- a/ui/gl/gl_bindings.h +++ b/ui/gl/gl_bindings.h @@ -324,9 +324,6 @@ GL_EXPORT extern DriverEGL g_driver_egl; #endif -// Find an entry point to the mock GL implementation. -void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); - } // namespace gfx #endif // UI_GL_GL_BINDINGS_H_ |