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

Side by Side Diff: ui/gl/gl_bindings_autogen_osmesa.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.cc ('k') | ui/gl/gl_bindings_autogen_osmesa.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 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_OSMESA_H_ 11 #ifndef UI_GL_GL_BINDINGS_AUTOGEN_OSMESA_H_
12 #define UI_GL_GL_BINDINGS_AUTOGEN_OSMESA_H_ 12 #define UI_GL_GL_BINDINGS_AUTOGEN_OSMESA_H_
13 13
14 namespace gfx { 14 namespace gl {
15 15
16 class GLContext; 16 class GLContext;
17 17
18 typedef void(GL_BINDING_CALL* OSMesaColorClampProc)(GLboolean enable); 18 typedef void(GL_BINDING_CALL* OSMesaColorClampProc)(GLboolean enable);
19 typedef OSMesaContext(GL_BINDING_CALL* OSMesaCreateContextProc)( 19 typedef OSMesaContext(GL_BINDING_CALL* OSMesaCreateContextProc)(
20 GLenum format, 20 GLenum format,
21 OSMesaContext sharelist); 21 OSMesaContext sharelist);
22 typedef OSMesaContext(GL_BINDING_CALL* OSMesaCreateContextExtProc)( 22 typedef OSMesaContext(GL_BINDING_CALL* OSMesaCreateContextExtProc)(
23 GLenum format, 23 GLenum format,
24 GLint depthBits, 24 GLint depthBits,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void OSMesaGetIntegervFn(GLint pname, GLint* value) = 0; 92 virtual void OSMesaGetIntegervFn(GLint pname, GLint* value) = 0;
93 virtual OSMESAproc OSMesaGetProcAddressFn(const char* funcName) = 0; 93 virtual OSMESAproc OSMesaGetProcAddressFn(const char* funcName) = 0;
94 virtual GLboolean OSMesaMakeCurrentFn(OSMesaContext ctx, 94 virtual GLboolean OSMesaMakeCurrentFn(OSMesaContext ctx,
95 void* buffer, 95 void* buffer,
96 GLenum type, 96 GLenum type,
97 GLsizei width, 97 GLsizei width,
98 GLsizei height) = 0; 98 GLsizei height) = 0;
99 virtual void OSMesaPixelStoreFn(GLint pname, GLint value) = 0; 99 virtual void OSMesaPixelStoreFn(GLint pname, GLint value) = 0;
100 }; 100 };
101 101
102 } // namespace gfx 102 } // namespace gl
103 103
104 #define OSMesaColorClamp ::gfx::g_current_osmesa_context->OSMesaColorClampFn 104 #define OSMesaColorClamp ::gl::g_current_osmesa_context->OSMesaColorClampFn
105 #define OSMesaCreateContext \ 105 #define OSMesaCreateContext \
106 ::gfx::g_current_osmesa_context->OSMesaCreateContextFn 106 ::gl::g_current_osmesa_context->OSMesaCreateContextFn
107 #define OSMesaCreateContextExt \ 107 #define OSMesaCreateContextExt \
108 ::gfx::g_current_osmesa_context->OSMesaCreateContextExtFn 108 ::gl::g_current_osmesa_context->OSMesaCreateContextExtFn
109 #define OSMesaDestroyContext \ 109 #define OSMesaDestroyContext \
110 ::gfx::g_current_osmesa_context->OSMesaDestroyContextFn 110 ::gl::g_current_osmesa_context->OSMesaDestroyContextFn
111 #define OSMesaGetColorBuffer \ 111 #define OSMesaGetColorBuffer \
112 ::gfx::g_current_osmesa_context->OSMesaGetColorBufferFn 112 ::gl::g_current_osmesa_context->OSMesaGetColorBufferFn
113 #define OSMesaGetCurrentContext \ 113 #define OSMesaGetCurrentContext \
114 ::gfx::g_current_osmesa_context->OSMesaGetCurrentContextFn 114 ::gl::g_current_osmesa_context->OSMesaGetCurrentContextFn
115 #define OSMesaGetDepthBuffer \ 115 #define OSMesaGetDepthBuffer \
116 ::gfx::g_current_osmesa_context->OSMesaGetDepthBufferFn 116 ::gl::g_current_osmesa_context->OSMesaGetDepthBufferFn
117 #define OSMesaGetIntegerv ::gfx::g_current_osmesa_context->OSMesaGetIntegervFn 117 #define OSMesaGetIntegerv ::gl::g_current_osmesa_context->OSMesaGetIntegervFn
118 #define OSMesaGetProcAddress \ 118 #define OSMesaGetProcAddress \
119 ::gfx::g_current_osmesa_context->OSMesaGetProcAddressFn 119 ::gl::g_current_osmesa_context->OSMesaGetProcAddressFn
120 #define OSMesaMakeCurrent ::gfx::g_current_osmesa_context->OSMesaMakeCurrentFn 120 #define OSMesaMakeCurrent ::gl::g_current_osmesa_context->OSMesaMakeCurrentFn
121 #define OSMesaPixelStore ::gfx::g_current_osmesa_context->OSMesaPixelStoreFn 121 #define OSMesaPixelStore ::gl::g_current_osmesa_context->OSMesaPixelStoreFn
122 122
123 #endif // UI_GL_GL_BINDINGS_AUTOGEN_OSMESA_H_ 123 #endif // UI_GL_GL_BINDINGS_AUTOGEN_OSMESA_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.cc ('k') | ui/gl/gl_bindings_autogen_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698