| OLD | NEW |
| 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 "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/native_library.h" | 10 #include "base/native_library.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "app/gfx/gl/gl_bindings.h" | 12 #include "ui/gfx/gl/gl_bindings.h" |
| 13 #include "app/gfx/gl/gl_implementation.h" | 13 #include "ui/gfx/gl/gl_implementation.h" |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| 19 void GL_BINDING_CALL MarshalClearDepthToClearDepthf(GLclampd depth) { | 19 void GL_BINDING_CALL MarshalClearDepthToClearDepthf(GLclampd depth) { |
| 20 glClearDepthf(static_cast<GLclampf>(depth)); | 20 glClearDepthf(static_cast<GLclampf>(depth)); |
| 21 } | 21 } |
| 22 | 22 |
| 23 void GL_BINDING_CALL MarshalDepthRangeToDepthRangef(GLclampd z_near, | 23 void GL_BINDING_CALL MarshalDepthRangeToDepthRangef(GLclampd z_near, |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 } | 159 } |
| 160 | 160 |
| 161 void InitializeDebugGLBindings() { | 161 void InitializeDebugGLBindings() { |
| 162 InitializeDebugGLBindingsEGL(); | 162 InitializeDebugGLBindingsEGL(); |
| 163 InitializeDebugGLBindingsGL(); | 163 InitializeDebugGLBindingsGL(); |
| 164 InitializeDebugGLBindingsOSMESA(); | 164 InitializeDebugGLBindingsOSMESA(); |
| 165 InitializeDebugGLBindingsWGL(); | 165 InitializeDebugGLBindingsWGL(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 } // namespace gfx | 168 } // namespace gfx |
| OLD | NEW |