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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_GL_GL_BINDINGS_H_ 5 #ifndef UI_GL_GL_BINDINGS_H_
6 #define UI_GL_GL_BINDINGS_H_ 6 #define UI_GL_GL_BINDINGS_H_
7 7
8 // Includes the platform independent and platform dependent GL headers. 8 // Includes the platform independent and platform dependent GL headers.
9 // Only include this in cc files. It pulls in system headers, including 9 // Only include this in cc files. It pulls in system headers, including
10 // the X11 headers on linux, which define all kinds of macros that are 10 // the X11 headers on linux, which define all kinds of macros that are
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C 179 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
180 #endif 180 #endif
181 181
182 #ifndef GL_IMG_multisampled_render_to_texture 182 #ifndef GL_IMG_multisampled_render_to_texture
183 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 183 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
184 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 184 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
185 #define GL_MAX_SAMPLES_IMG 0x9135 185 #define GL_MAX_SAMPLES_IMG 0x9135
186 #define GL_TEXTURE_SAMPLES_IMG 0x9136 186 #define GL_TEXTURE_SAMPLES_IMG 0x9136
187 #endif 187 #endif
188 188
189 #ifndef GL_CHROMIUM_path_rendering
190 #define GL_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
191 #define GL_PROJECTION_MATRIX_CHROMIUM 0x0BA7
192 #define GL_MODELVIEW_CHROMIUM 0x1700
193 #define GL_PROJECTION_CHROMIUM 0x1701
194 #endif
195
189 #define GL_GLEXT_PROTOTYPES 1 196 #define GL_GLEXT_PROTOTYPES 1
190 197
191 #if defined(OS_WIN) 198 #if defined(OS_WIN)
192 #define GL_BINDING_CALL WINAPI 199 #define GL_BINDING_CALL WINAPI
193 #else 200 #else
194 #define GL_BINDING_CALL 201 #define GL_BINDING_CALL
195 #endif 202 #endif
196 203
197 #define GL_SERVICE_LOG(args) DLOG(INFO) << args; 204 #define GL_SERVICE_LOG(args) DLOG(INFO) << args;
198 #if defined(NDEBUG) 205 #if defined(NDEBUG)
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 #elif defined(OS_ANDROID) 332 #elif defined(OS_ANDROID)
326 333
327 GL_EXPORT extern EGLApi* g_current_egl_context; 334 GL_EXPORT extern EGLApi* g_current_egl_context;
328 GL_EXPORT extern DriverEGL g_driver_egl; 335 GL_EXPORT extern DriverEGL g_driver_egl;
329 336
330 #endif 337 #endif
331 338
332 } // namespace gfx 339 } // namespace gfx
333 340
334 #endif // UI_GL_GL_BINDINGS_H_ 341 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698