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

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

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « ui/gl/gl_context_stub.h ('k') | ui/gl/gl_context_wgl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gl/gl_context_stub.h" 5 #include "ui/gl/gl_context_stub.h"
6 6
7 namespace gfx { 7 namespace gfx {
8 8
9 GLContextStub::GLContextStub() : GLContextReal(NULL) {} 9 GLContextStub::GLContextStub() : GLContextReal(NULL) {}
10 10
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 bool GLContextStub::IsCurrent(GLSurface* surface) { 28 bool GLContextStub::IsCurrent(GLSurface* surface) {
29 return true; 29 return true;
30 } 30 }
31 31
32 void* GLContextStub::GetHandle() { 32 void* GLContextStub::GetHandle() {
33 return NULL; 33 return NULL;
34 } 34 }
35 35
36 void GLContextStub::SetSwapInterval(int interval) { 36 void GLContextStub::OnSetSwapInterval(int interval) {
37 } 37 }
38 38
39 std::string GLContextStub::GetExtensions() { 39 std::string GLContextStub::GetExtensions() {
40 return std::string(); 40 return std::string();
41 } 41 }
42 42
43 std::string GLContextStub::GetGLRenderer() { 43 std::string GLContextStub::GetGLRenderer() {
44 return std::string("CHROMIUM"); 44 return std::string("CHROMIUM");
45 } 45 }
46 46
47 GLContextStub::~GLContextStub() {} 47 GLContextStub::~GLContextStub() {}
48 48
49 } // namespace gfx 49 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_context_stub.h ('k') | ui/gl/gl_context_wgl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698