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

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: rebase and cleanup ids Created 6 years, 2 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
« gpu/GLES2/gl2chromium.h ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 #define GL_TEXTURE_SAMPLES_IMG 0x9136 213 #define GL_TEXTURE_SAMPLES_IMG 0x9136
214 #endif 214 #endif
215 215
216 #ifndef GL_CHROMIUM_path_rendering 216 #ifndef GL_CHROMIUM_path_rendering
217 // These match the corresponding values in NV_path_rendering 217 // These match the corresponding values in NV_path_rendering
218 // extension, eg tokens with CHROMIUM replaced with NV. 218 // extension, eg tokens with CHROMIUM replaced with NV.
219 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6 219 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
220 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7 220 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
221 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700 221 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
222 #define GL_PATH_PROJECTION_CHROMIUM 0x1701 222 #define GL_PATH_PROJECTION_CHROMIUM 0x1701
223 #define GL_FLAT_CHROMIUM 0x1D00
224 #define GL_CLOSE_PATH_CHROMIUM 0x00
225 #define GL_MOVE_TO_CHROMIUM 0x02
226 #define GL_LINE_TO_CHROMIUM 0x04
227 #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0x0A
228 #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
229 #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
230 #define GL_PATH_INITIAL_END_CAP_CHROMIUM 0x9077
231 #define GL_PATH_TERMINAL_END_CAP_CHROMIUM 0x9078
232 #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
233 #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
234 #define GL_COUNT_UP_CHROMIUM 0x9088
235 #define GL_COUNT_DOWN_CHROMIUM 0x9089
236 #define GL_SQUARE_CHROMIUM 0x90a3
237 #define GL_ROUND_CHROMIUM 0x90a4
238 #define GL_BEVEL_CHROMIUM 0x90a6
239 #define GL_MITER_REVERT_CHROMIUM 0x90a7
240 #define GL_PATH_STENCIL_FUNC_CHROMIUM 0x90B7
241 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8
242 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
223 #endif 243 #endif
224 244
225 #ifndef GL_EXT_disjoint_timer_query 245 #ifndef GL_EXT_disjoint_timer_query
226 #define GL_EXT_disjoint_timer_query 1 246 #define GL_EXT_disjoint_timer_query 1
227 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 247 #define GL_QUERY_COUNTER_BITS_EXT 0x8864
228 #define GL_TIME_ELAPSED_EXT 0x88BF 248 #define GL_TIME_ELAPSED_EXT 0x88BF
229 #define GL_TIMESTAMP_EXT 0x8E28 249 #define GL_TIMESTAMP_EXT 0x8E28
230 #define GL_GPU_DISJOINT_EXT 0x8FBB 250 #define GL_GPU_DISJOINT_EXT 0x8FBB
231 #endif 251 #endif
232 252
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 #elif defined(OS_ANDROID) 389 #elif defined(OS_ANDROID)
370 390
371 GL_EXPORT extern EGLApi* g_current_egl_context; 391 GL_EXPORT extern EGLApi* g_current_egl_context;
372 GL_EXPORT extern DriverEGL g_driver_egl; 392 GL_EXPORT extern DriverEGL g_driver_egl;
373 393
374 #endif 394 #endif
375 395
376 } // namespace gfx 396 } // namespace gfx
377 397
378 #endif // UI_GL_GL_BINDINGS_H_ 398 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« gpu/GLES2/gl2chromium.h ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698