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

Side by Side Diff: app/gfx/gl/gl_context_stub.cc

Issue 5783004: Keep deinlining stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Well, it all compiles locally? Created 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 "app/gfx/gl/gl_context_stub.h"
6
7 namespace gfx {
8
9 StubGLContext::~StubGLContext() {}
10
11 bool StubGLContext::MakeCurrent() {
12 return true;
13 }
14
15 bool StubGLContext::IsCurrent() {
16 return true;
17 }
18
19 bool StubGLContext::IsOffscreen() {
20 return false;
21 }
22
23 bool StubGLContext::SwapBuffers() {
24 return true;
25 }
26
27 gfx::Size StubGLContext::GetSize() {
28 return size_;
29 }
30
31 void* StubGLContext::GetHandle() {
32 return NULL;
33 }
34
35 std::string StubGLContext::GetExtensions() {
36 return std::string();
37 }
38
39 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698