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

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: rebase 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 // 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 #endif 629 #endif
630 #endif /* GL_CHROMIUM_color_buffer_float_rgba */ 630 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
631 631
632 #ifndef GL_CHROMIUM_color_buffer_float_rgb 632 #ifndef GL_CHROMIUM_color_buffer_float_rgb
633 #define GL_CHROMIUM_color_buffer_float_rgb 1 633 #define GL_CHROMIUM_color_buffer_float_rgb 1
634 #ifndef GL_RGB32F 634 #ifndef GL_RGB32F
635 #define GL_RGB32F 0x8815 635 #define GL_RGB32F 0x8815
636 #endif 636 #endif
637 #endif /* GL_CHROMIUM_color_buffer_float_rgb */ 637 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
638 638
639 #ifndef GL_CHROMIUM_NV_path_rendering
640 #define GL_CHROMIUM_NV_path_rendering 1
641
642 #ifdef GL_GLEXT_PROTOTYPES
643 GL_APICALL void GL_APIENTRY glMatrixMode(GLenum mode);
644 GL_APICALL void GL_APIENTRY glLoadMatrixf(const GLfloat* m);
645 GL_APICALL void GL_APIENTRY glLoadIdentity();
646 #endif
647
648 typedef void (GL_APIENTRYP PFNGLMATRIXMODEPROC) (GLenum mode);
649 typedef void (GL_APIENTRYP PFNGLLOADMATRIXFPROC) (const GLfloat* m);
650 typedef void (GL_APIENTRYP PFNGLLOADIDENTITYPROC) ();
651
652 #endif /* GL_CHROMIUM_NV_path_rendering */
653
639 #ifdef __cplusplus 654 #ifdef __cplusplus
640 } 655 }
641 #endif 656 #endif
642 657
643 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 658 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698