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

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

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: improve parameter validation and write up the extension .txt file 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 187 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
188 #define GL_MAX_SAMPLES_IMG 0x9135 188 #define GL_MAX_SAMPLES_IMG 0x9135
189 #define GL_TEXTURE_SAMPLES_IMG 0x9136 189 #define GL_TEXTURE_SAMPLES_IMG 0x9136
190 #endif 190 #endif
191 191
192 #ifndef GL_CHROMIUM_path_rendering 192 #ifndef GL_CHROMIUM_path_rendering
193 #define GL_MODELVIEW_MATRIX_CHROMIUM 0x0BA6 193 #define GL_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
194 #define GL_PROJECTION_MATRIX_CHROMIUM 0x0BA7 194 #define GL_PROJECTION_MATRIX_CHROMIUM 0x0BA7
195 #define GL_MODELVIEW_CHROMIUM 0x1700 195 #define GL_MODELVIEW_CHROMIUM 0x1700
196 #define GL_PROJECTION_CHROMIUM 0x1701 196 #define GL_PROJECTION_CHROMIUM 0x1701
197 #define GL_FLAT_CHROMIUM 0x1D00
198 #define GL_EYE_LINEAR_CHROMIUM 0x2400
199 #define GL_OBJECT_LINEAR_CHROMIUM 0x2401
200 #define GL_MAX_TEXTURE_COORDS_CHROMIUM 0x8871
201 #define GL_CLOSE_PATH_CHROMIUM 0x00
202 #define GL_MOVE_TO_CHROMIUM 0x02
203 #define GL_LINE_TO_CHROMIUM 0x4
204 #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0xa
205 #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
206 #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
207 #define GL_PATH_INITIAL_END_CAP_CHROMIUM 0x9077
208 #define GL_PATH_TERMINAL_END_CAP_CHROMIUM 0x9078
209 #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
210 #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
211 #define GL_COUNT_UP_CHROMIUM 0x9088
212 #define GL_COUNT_DOWN_CHROMIUM 0x9089
213 #define GL_BOUNDING_BOX_CHROMIUM 0x908d
214 #define GL_TRANSLATE_X_CHROMIUM 0x908E
215 #define GL_TRANSLATE_Y_CHROMIUM 0x908F
216 #define GL_TRANSLATE_2D_CHROMIUM 0x9090
217 #define GL_TRANSLATE_3D_CHROMIUM 0x9091
218 #define GL_AFFINE_2D_CHROMIUM 0x9092
219 #define GL_AFFINE_3D_CHROMIUM 0x9094
220 #define GL_TRANSPOSE_AFFINE_2D_CHROMIUM 0x9096
221 #define GL_TRANSPOSE_AFFINE_3D_CHROMIUM 0x9098
222 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C
223 #define GL_SQUARE_CHROMIUM 0x90a3
224 #define GL_ROUND_CHROMIUM 0x90a4
225 #define GL_PATH_STENCIL_FUNC_CHROMIUM 0x90B7
226 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8
227 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
197 #endif 228 #endif
198 229
199 #define GL_GLEXT_PROTOTYPES 1 230 #define GL_GLEXT_PROTOTYPES 1
200 231
201 #if defined(OS_WIN) 232 #if defined(OS_WIN)
202 #define GL_BINDING_CALL WINAPI 233 #define GL_BINDING_CALL WINAPI
203 #else 234 #else
204 #define GL_BINDING_CALL 235 #define GL_BINDING_CALL
205 #endif 236 #endif
206 237
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 #elif defined(OS_ANDROID) 366 #elif defined(OS_ANDROID)
336 367
337 GL_EXPORT extern EGLApi* g_current_egl_context; 368 GL_EXPORT extern EGLApi* g_current_egl_context;
338 GL_EXPORT extern DriverEGL g_driver_egl; 369 GL_EXPORT extern DriverEGL g_driver_egl;
339 370
340 #endif 371 #endif
341 372
342 } // namespace gfx 373 } // namespace gfx
343 374
344 #endif // UI_GL_GL_BINDINGS_H_ 375 #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