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

Side by Side Diff: ui/gl/gl_context_mock_version.cc

Issue 94963003: Take GL version and extensions correctly into account when binding functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed review feedback and Mac build failure Created 7 years 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/gl/gl_context_mock_version.h"
6 #include "ui/gl/gl_version_info.h"
7
8 namespace gfx {
9
10 GLContextMockVersion::GLContextMockVersion(const char* version_str)
11 : GLContextStub()
12 , version_str_(version_str)
piman 2013/12/04 22:45:12 nit: ',' on previous line.
oetuaho 2013/12/05 09:47:14 Done.
13 {}
14
15 std::string GLContextMockVersion::GetGLVersion() {
16 return std::string(version_str_);
17 }
18
19 GLContextMockVersion::~GLContextMockVersion() {}
20
21 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698