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 #ifndef APP_GFX_GL_GL_IMPLEMENTATION_H_ | 5 #ifndef UI_GFX_GL_GL_IMPLEMENTATION_H_ |
6 #define APP_GFX_GL_GL_IMPLEMENTATION_H_ | 6 #define UI_GFX_GL_GL_IMPLEMENTATION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/native_library.h" | 11 #include "base/native_library.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 | 15 |
16 // The GL implementation currently in use. | 16 // The GL implementation currently in use. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void AddGLNativeLibrary(base::NativeLibrary library); | 64 void AddGLNativeLibrary(base::NativeLibrary library); |
65 | 65 |
66 // Set an additional function that will be called to find GL entry points. | 66 // Set an additional function that will be called to find GL entry points. |
67 void SetGLGetProcAddressProc(GLGetProcAddressProc proc); | 67 void SetGLGetProcAddressProc(GLGetProcAddressProc proc); |
68 | 68 |
69 // Find an entry point in the current GL implementation. | 69 // Find an entry point in the current GL implementation. |
70 void* GetGLProcAddress(const char* name); | 70 void* GetGLProcAddress(const char* name); |
71 | 71 |
72 } // namespace gfx | 72 } // namespace gfx |
73 | 73 |
74 #endif // APP_GFX_GL_GL_IMPLEMENTATION_H_ | 74 #endif // UI_GFX_GL_GL_IMPLEMENTATION_H_ |
OLD | NEW |