| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 is auto-generated from | 5 // This file is auto-generated from |
| 6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.py |
| 7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
| 10 | 10 |
| 11 #ifndef UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ | 11 #ifndef UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ |
| 12 #define UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ | 12 #define UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gl { |
| 15 | 15 |
| 16 class GLContext; | 16 class GLContext; |
| 17 | 17 |
| 18 typedef BOOL(GL_BINDING_CALL* wglChoosePixelFormatARBProc)( | 18 typedef BOOL(GL_BINDING_CALL* wglChoosePixelFormatARBProc)( |
| 19 HDC dc, | 19 HDC dc, |
| 20 const int* int_attrib_list, | 20 const int* int_attrib_list, |
| 21 const float* float_attrib_list, | 21 const float* float_attrib_list, |
| 22 UINT max_formats, | 22 UINT max_formats, |
| 23 int* formats, | 23 int* formats, |
| 24 UINT* num_formats); | 24 UINT* num_formats); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 virtual BOOL wglMakeCurrentFn(HDC hdc, HGLRC hglrc) = 0; | 109 virtual BOOL wglMakeCurrentFn(HDC hdc, HGLRC hglrc) = 0; |
| 110 virtual BOOL wglQueryPbufferARBFn(HPBUFFERARB hPbuffer, | 110 virtual BOOL wglQueryPbufferARBFn(HPBUFFERARB hPbuffer, |
| 111 int iAttribute, | 111 int iAttribute, |
| 112 int* piValue) = 0; | 112 int* piValue) = 0; |
| 113 virtual int wglReleasePbufferDCARBFn(HPBUFFERARB hPbuffer, HDC hDC) = 0; | 113 virtual int wglReleasePbufferDCARBFn(HPBUFFERARB hPbuffer, HDC hDC) = 0; |
| 114 virtual BOOL wglShareListsFn(HGLRC hglrc1, HGLRC hglrc2) = 0; | 114 virtual BOOL wglShareListsFn(HGLRC hglrc1, HGLRC hglrc2) = 0; |
| 115 virtual BOOL wglSwapIntervalEXTFn(int interval) = 0; | 115 virtual BOOL wglSwapIntervalEXTFn(int interval) = 0; |
| 116 virtual BOOL wglSwapLayerBuffersFn(HDC hdc, UINT fuPlanes) = 0; | 116 virtual BOOL wglSwapLayerBuffersFn(HDC hdc, UINT fuPlanes) = 0; |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace gfx | 119 } // namespace gl |
| 120 | 120 |
| 121 #define wglChoosePixelFormatARB \ | 121 #define wglChoosePixelFormatARB \ |
| 122 ::gfx::g_current_wgl_context->wglChoosePixelFormatARBFn | 122 ::gl::g_current_wgl_context->wglChoosePixelFormatARBFn |
| 123 #define wglCopyContext ::gfx::g_current_wgl_context->wglCopyContextFn | 123 #define wglCopyContext ::gl::g_current_wgl_context->wglCopyContextFn |
| 124 #define wglCreateContext ::gfx::g_current_wgl_context->wglCreateContextFn | 124 #define wglCreateContext ::gl::g_current_wgl_context->wglCreateContextFn |
| 125 #define wglCreateLayerContext \ | 125 #define wglCreateLayerContext \ |
| 126 ::gfx::g_current_wgl_context->wglCreateLayerContextFn | 126 ::gl::g_current_wgl_context->wglCreateLayerContextFn |
| 127 #define wglCreatePbufferARB ::gfx::g_current_wgl_context->wglCreatePbufferARBFn | 127 #define wglCreatePbufferARB ::gl::g_current_wgl_context->wglCreatePbufferARBFn |
| 128 #define wglDeleteContext ::gfx::g_current_wgl_context->wglDeleteContextFn | 128 #define wglDeleteContext ::gl::g_current_wgl_context->wglDeleteContextFn |
| 129 #define wglDestroyPbufferARB \ | 129 #define wglDestroyPbufferARB ::gl::g_current_wgl_context->wglDestroyPbufferARBFn |
| 130 ::gfx::g_current_wgl_context->wglDestroyPbufferARBFn | 130 #define wglGetCurrentContext ::gl::g_current_wgl_context->wglGetCurrentContextFn |
| 131 #define wglGetCurrentContext \ | 131 #define wglGetCurrentDC ::gl::g_current_wgl_context->wglGetCurrentDCFn |
| 132 ::gfx::g_current_wgl_context->wglGetCurrentContextFn | |
| 133 #define wglGetCurrentDC ::gfx::g_current_wgl_context->wglGetCurrentDCFn | |
| 134 #define wglGetExtensionsStringARB \ | 132 #define wglGetExtensionsStringARB \ |
| 135 ::gfx::g_current_wgl_context->wglGetExtensionsStringARBFn | 133 ::gl::g_current_wgl_context->wglGetExtensionsStringARBFn |
| 136 #define wglGetExtensionsStringEXT \ | 134 #define wglGetExtensionsStringEXT \ |
| 137 ::gfx::g_current_wgl_context->wglGetExtensionsStringEXTFn | 135 ::gl::g_current_wgl_context->wglGetExtensionsStringEXTFn |
| 138 #define wglGetPbufferDCARB ::gfx::g_current_wgl_context->wglGetPbufferDCARBFn | 136 #define wglGetPbufferDCARB ::gl::g_current_wgl_context->wglGetPbufferDCARBFn |
| 139 #define wglMakeCurrent ::gfx::g_current_wgl_context->wglMakeCurrentFn | 137 #define wglMakeCurrent ::gl::g_current_wgl_context->wglMakeCurrentFn |
| 140 #define wglQueryPbufferARB ::gfx::g_current_wgl_context->wglQueryPbufferARBFn | 138 #define wglQueryPbufferARB ::gl::g_current_wgl_context->wglQueryPbufferARBFn |
| 141 #define wglReleasePbufferDCARB \ | 139 #define wglReleasePbufferDCARB \ |
| 142 ::gfx::g_current_wgl_context->wglReleasePbufferDCARBFn | 140 ::gl::g_current_wgl_context->wglReleasePbufferDCARBFn |
| 143 #define wglShareLists ::gfx::g_current_wgl_context->wglShareListsFn | 141 #define wglShareLists ::gl::g_current_wgl_context->wglShareListsFn |
| 144 #define wglSwapIntervalEXT ::gfx::g_current_wgl_context->wglSwapIntervalEXTFn | 142 #define wglSwapIntervalEXT ::gl::g_current_wgl_context->wglSwapIntervalEXTFn |
| 145 #define wglSwapLayerBuffers ::gfx::g_current_wgl_context->wglSwapLayerBuffersFn | 143 #define wglSwapLayerBuffers ::gl::g_current_wgl_context->wglSwapLayerBuffersFn |
| 146 | 144 |
| 147 #endif // UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ | 145 #endif // UI_GL_GL_BINDINGS_AUTOGEN_WGL_H_ |
| OLD | NEW |