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

Side by Side Diff: ui/gfx/gl/gl_context_win.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_stub.cc ('k') | ui/gfx/gl/gl_implementation.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) 2011 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 // This file implements the NativeViewGLContext and PbufferGLContext classes. 5 // This file implements the NativeViewGLContext and PbufferGLContext classes.
6 6
7 #include "app/gfx/gl/gl_context.h" 7 #include "ui/gfx/gl/gl_context.h"
8 8
9 #include <GL/osmesa.h> 9 #include <GL/osmesa.h>
10 10
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "app/gfx/gl/gl_bindings.h"
14 #include "app/gfx/gl/gl_context_egl.h"
15 #include "app/gfx/gl/gl_context_osmesa.h"
16 #include "app/gfx/gl/gl_context_stub.h"
17 #include "app/gfx/gl/gl_implementation.h"
18
19 #include "base/logging.h" 13 #include "base/logging.h"
20 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "ui/gfx/gl/gl_bindings.h"
16 #include "ui/gfx/gl/gl_context_egl.h"
17 #include "ui/gfx/gl/gl_context_osmesa.h"
18 #include "ui/gfx/gl/gl_context_stub.h"
19 #include "ui/gfx/gl/gl_implementation.h"
21 20
22 namespace gfx { 21 namespace gfx {
23 22
24 typedef HGLRC GLContextHandle; 23 typedef HGLRC GLContextHandle;
25 typedef HPBUFFERARB PbufferHandle; 24 typedef HPBUFFERARB PbufferHandle;
26 25
27 class BaseWinGLContext : public GLContext { 26 class BaseWinGLContext : public GLContext {
28 public: 27 public:
29 virtual std::string GetExtensions(); 28 virtual std::string GetExtensions();
30 29
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 } 734 }
736 case kGLImplementationMockGL: 735 case kGLImplementationMockGL:
737 return new StubGLContext; 736 return new StubGLContext;
738 default: 737 default:
739 NOTREACHED(); 738 NOTREACHED();
740 return NULL; 739 return NULL;
741 } 740 }
742 } 741 }
743 742
744 } // namespace gfx 743 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_context_stub.cc ('k') | ui/gfx/gl/gl_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698