diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 08:57:42 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 08:57:42 +0000 |
commit | 69d80aea409f6d8a3a505edb1cfd19b1a594ea8d (patch) | |
tree | 50dd00e3012c50cd219ab86df86bb8013c38b204 /gpu/command_buffer/service/gl_mock.cc | |
parent | 3a483454db080bfbc2d0a7ce4daa445ce9b3d2cd (diff) | |
download | chromium_src-69d80aea409f6d8a3a505edb1cfd19b1a594ea8d.zip chromium_src-69d80aea409f6d8a3a505edb1cfd19b1a594ea8d.tar.gz chromium_src-69d80aea409f6d8a3a505edb1cfd19b1a594ea8d.tar.bz2 |
Adds a GLMock object so we can check the code is
correctly calling GL
Rather than make a GLBase with all virtual functions
I made it compile twice, once for shipping code where
it includes the local platform's gl.h and again for
unit tests where it includes gl_mock.h.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/511001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_mock.cc')
-rw-r--r-- | gpu/command_buffer/service/gl_mock.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_mock.cc b/gpu/command_buffer/service/gl_mock.cc new file mode 100644 index 0000000..12b5b34 --- /dev/null +++ b/gpu/command_buffer/service/gl_mock.cc @@ -0,0 +1,11 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "gpu/command_buffer/service/gl_mock.h" + +namespace gles2 { + + +} // namespace gles2 + |