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

Side by Side Diff: gpu/GLES2/gl2extchromium.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: address review comment Created 6 years, 3 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 | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('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 // This file contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 710
711 /* GL_CHROMIUM_sync_query */ 711 /* GL_CHROMIUM_sync_query */
712 #ifndef GL_CHROMIUM_sync_query 712 #ifndef GL_CHROMIUM_sync_query
713 #define GL_CHROMIUM_sync_query 1 713 #define GL_CHROMIUM_sync_query 1
714 714
715 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM 715 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
716 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 716 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
717 #endif 717 #endif
718 #endif /* GL_CHROMIUM_sync_query */ 718 #endif /* GL_CHROMIUM_sync_query */
719 719
720 #ifndef GL_CHROMIUM_path_rendering
721 #define GL_CHROMIUM_path_rendering 1
722
723 #ifdef GL_GLEXT_PROTOTYPES
724 GL_APICALL void GL_APIENTRY
725 glMatrixLoadfCHROMIUM(GLenum mode, const GLfloat* m);
726 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode);
727 #endif
728
729 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode,
730 const GLfloat* m);
731 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
732 GLenum matrixMode);
733
734 #endif /* GL_CHROMIUM_path_rendering */
735
720 #ifdef __cplusplus 736 #ifdef __cplusplus
721 } 737 }
722 #endif 738 #endif
723 739
724 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 740 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698