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

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

Issue 643373003: Add support for all blendmodes if we have GL_KHR_blend_equation_advanced. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix feature_info_unittest 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
« no previous file with comments | « 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 217
218 #ifndef GL_CHROMIUM_path_rendering 218 #ifndef GL_CHROMIUM_path_rendering
219 // These match the corresponding values in NV_path_rendering 219 // These match the corresponding values in NV_path_rendering
220 // extension, eg tokens with CHROMIUM replaced with NV. 220 // extension, eg tokens with CHROMIUM replaced with NV.
221 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6 221 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
222 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7 222 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
223 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700 223 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
224 #define GL_PATH_PROJECTION_CHROMIUM 0x1701 224 #define GL_PATH_PROJECTION_CHROMIUM 0x1701
225 #endif 225 #endif
226 226
227 #ifndef GL_KHR_blend_equation_advanced
228 #define GL_KHR_blend_equation_advanced 1
229 #define GL_COLORBURN_KHR 0x929A
230 #define GL_COLORDODGE_KHR 0x9299
231 #define GL_DARKEN_KHR 0x9297
232 #define GL_DIFFERENCE_KHR 0x929E
233 #define GL_EXCLUSION_KHR 0x92A0
234 #define GL_HARDLIGHT_KHR 0x929B
235 #define GL_HSL_COLOR_KHR 0x92AF
236 #define GL_HSL_HUE_KHR 0x92AD
237 #define GL_HSL_LUMINOSITY_KHR 0x92B0
238 #define GL_HSL_SATURATION_KHR 0x92AE
239 #define GL_LIGHTEN_KHR 0x9298
240 #define GL_MULTIPLY_KHR 0x9294
241 #define GL_OVERLAY_KHR 0x9296
242 #define GL_SCREEN_KHR 0x9295
243 #define GL_SOFTLIGHT_KHR 0x929C
244 #endif /* GL_KHR_blend_equation_advanced */
245
246 #ifndef GL_KHR_blend_equation_advanced_coherent
247 #define GL_KHR_blend_equation_advanced_coherent 1
248 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
249 #endif /* GL_KHR_blend_equation_advanced_coherent */
250
227 #ifndef GL_EXT_disjoint_timer_query 251 #ifndef GL_EXT_disjoint_timer_query
228 #define GL_EXT_disjoint_timer_query 1 252 #define GL_EXT_disjoint_timer_query 1
229 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 253 #define GL_QUERY_COUNTER_BITS_EXT 0x8864
230 #define GL_TIME_ELAPSED_EXT 0x88BF 254 #define GL_TIME_ELAPSED_EXT 0x88BF
231 #define GL_TIMESTAMP_EXT 0x8E28 255 #define GL_TIMESTAMP_EXT 0x8E28
232 #define GL_GPU_DISJOINT_EXT 0x8FBB 256 #define GL_GPU_DISJOINT_EXT 0x8FBB
233 #endif 257 #endif
234 258
235 #define GL_GLEXT_PROTOTYPES 1 259 #define GL_GLEXT_PROTOTYPES 1
236 260
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 #elif defined(OS_ANDROID) 395 #elif defined(OS_ANDROID)
372 396
373 GL_EXPORT extern EGLApi* g_current_egl_context; 397 GL_EXPORT extern EGLApi* g_current_egl_context;
374 GL_EXPORT extern DriverEGL g_driver_egl; 398 GL_EXPORT extern DriverEGL g_driver_egl;
375 399
376 #endif 400 #endif
377 401
378 } // namespace gfx 402 } // namespace gfx
379 403
380 #endif // UI_GL_GL_BINDINGS_H_ 404 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698