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

Side by Side Diff: ui/gfx/gl/gl_implementation_linux.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, 9 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_implementation.cc ('k') | ui/gfx/gl/gl_implementation_mac.cc » ('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) 2010 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 <vector> 5 #include <vector>
6 6
7 #include "app/gfx/gl/gl_bindings.h"
8 #include "app/gfx/gl/gl_implementation.h"
9 #include "base/base_paths.h" 7 #include "base/base_paths.h"
10 #include "base/command_line.h" 8 #include "base/command_line.h"
11 #include "base/file_path.h" 9 #include "base/file_path.h"
12 #include "base/logging.h" 10 #include "base/logging.h"
13 #include "base/native_library.h" 11 #include "base/native_library.h"
14 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "ui/gfx/gl/gl_bindings.h"
14 #include "ui/gfx/gl/gl_implementation.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 namespace { 17 namespace {
18 18
19 // TODO(piman): it should be Desktop GL marshalling from double to float. Today 19 // TODO(piman): it should be Desktop GL marshalling from double to float. Today
20 // on native GLES, we do float->double->float. 20 // on native GLES, we do float->double->float.
21 void GL_BINDING_CALL MarshalClearDepthToClearDepthf(GLclampd depth) { 21 void GL_BINDING_CALL MarshalClearDepthToClearDepthf(GLclampd depth) {
22 glClearDepthf(static_cast<GLclampf>(depth)); 22 glClearDepthf(static_cast<GLclampf>(depth));
23 } 23 }
24 24
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 void InitializeDebugGLBindings() { 153 void InitializeDebugGLBindings() {
154 InitializeDebugGLBindingsEGL(); 154 InitializeDebugGLBindingsEGL();
155 InitializeDebugGLBindingsGL(); 155 InitializeDebugGLBindingsGL();
156 InitializeDebugGLBindingsGLX(); 156 InitializeDebugGLBindingsGLX();
157 InitializeDebugGLBindingsOSMESA(); 157 InitializeDebugGLBindingsOSMESA();
158 } 158 }
159 159
160 } // namespace gfx 160 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_implementation.cc ('k') | ui/gfx/gl/gl_implementation_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698