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

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

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years 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') | ui/gl/gl_bindings_api_autogen_gl.h » ('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 (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 #include <string> 8 #include <string>
9 9
10 // Includes the platform independent and platform dependent GL headers. 10 // Includes the platform independent and platform dependent GL headers.
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 // This is from NV_path_rendering, but the Mesa GL header is not up-to-date with 328 // This is from NV_path_rendering, but the Mesa GL header is not up-to-date with
329 // the most recent 329 // the most recent
330 // version of the extension. This definition could be removed once glext.h 330 // version of the extension. This definition could be removed once glext.h
331 // r27498 or later is 331 // r27498 or later is
332 // imported. 332 // imported.
333 #ifndef GL_FRAGMENT_INPUT_NV 333 #ifndef GL_FRAGMENT_INPUT_NV
334 #define GL_FRAGMENT_INPUT_NV 0x936D 334 #define GL_FRAGMENT_INPUT_NV 0x936D
335 #endif 335 #endif
336 336
337 #ifndef GL_EXT_blend_func_extended
338 #define GL_EXT_blend_func_extended 1
339 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
340 #define GL_SRC1_ALPHA_EXT 0x8589 // OpenGL 1.5 token value
341 #define GL_SRC1_COLOR_EXT 0x88F9
342 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
343 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
344 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
345 #endif /* GL_EXT_blend_func_extended */
346
337 #define GL_GLEXT_PROTOTYPES 1 347 #define GL_GLEXT_PROTOTYPES 1
338 348
339 #if defined(OS_WIN) 349 #if defined(OS_WIN)
340 #define GL_BINDING_CALL WINAPI 350 #define GL_BINDING_CALL WINAPI
341 #else 351 #else
342 #define GL_BINDING_CALL 352 #define GL_BINDING_CALL
343 #endif 353 #endif
344 354
345 #define GL_SERVICE_LOG(args) DLOG(INFO) << args; 355 #define GL_SERVICE_LOG(args) DLOG(INFO) << args;
346 #if defined(NDEBUG) 356 #if defined(NDEBUG)
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 #elif defined(OS_ANDROID) 495 #elif defined(OS_ANDROID)
486 496
487 GL_EXPORT extern EGLApi* g_current_egl_context; 497 GL_EXPORT extern EGLApi* g_current_egl_context;
488 GL_EXPORT extern DriverEGL g_driver_egl; 498 GL_EXPORT extern DriverEGL g_driver_egl;
489 499
490 #endif 500 #endif
491 501
492 } // namespace gfx 502 } // namespace gfx
493 503
494 #endif // UI_GL_GL_BINDINGS_H_ 504 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_bindings_api_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698