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

Side by Side Diff: ui/gfx/gl/gl_context_osmesa.cc

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 8 months 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
« no previous file with comments | « ui/gfx/gl/gl_context_osmesa.h ('k') | ui/gfx/gl/gl_context_stub.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <GL/osmesa.h> 5 #include <GL/osmesa.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/gfx/gl/gl_bindings.h"
10 #include "app/gfx/gl/gl_context_osmesa.h"
11 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ui/gfx/gl/gl_bindings.h"
11 #include "ui/gfx/gl/gl_context_osmesa.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 14
15 OSMesaGLContext::OSMesaGLContext() : context_(NULL) 15 OSMesaGLContext::OSMesaGLContext() : context_(NULL)
16 { 16 {
17 } 17 }
18 18
19 OSMesaGLContext::~OSMesaGLContext() { 19 OSMesaGLContext::~OSMesaGLContext() {
20 } 20 }
21 21
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void* OSMesaGLContext::GetHandle() { 122 void* OSMesaGLContext::GetHandle() {
123 return context_; 123 return context_;
124 } 124 }
125 125
126 void OSMesaGLContext::SetSwapInterval(int interval) { 126 void OSMesaGLContext::SetSwapInterval(int interval) {
127 DCHECK(IsCurrent()); 127 DCHECK(IsCurrent());
128 NOTREACHED() << "Attempt to call SetSwapInterval on an OSMesaGLContext."; 128 NOTREACHED() << "Attempt to call SetSwapInterval on an OSMesaGLContext.";
129 } 129 }
130 130
131 } // namespace gfx 131 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_context_osmesa.h ('k') | ui/gfx/gl/gl_context_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698