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

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 139013008: Implement support for rendering to 32-bit float textures on ES3 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make TexSubImage validation agree with TexImage validation Created 6 years, 10 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 #ifndef GL_CHROMIUM_sync_point 611 #ifndef GL_CHROMIUM_sync_point
612 #define GL_CHROMIUM_sync_point 1 612 #define GL_CHROMIUM_sync_point 1
613 #ifdef GL_GLEXT_PROTOTYPES 613 #ifdef GL_GLEXT_PROTOTYPES
614 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM(); 614 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM();
615 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point); 615 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point);
616 #endif 616 #endif
617 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); 617 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
618 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); 618 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
619 #endif /* GL_CHROMIUM_sync_point */ 619 #endif /* GL_CHROMIUM_sync_point */
620 620
621 #ifndef GL_CHROMIUM_color_buffer_float_rgba
622 #define GL_CHROMIUM_color_buffer_float_rgba 1
623 #ifndef GL_RGBA32F
624 #define GL_RGBA32F 0x8814
625 #endif
626 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
627
628 #ifndef GL_CHROMIUM_color_buffer_float_rgb
629 #define GL_CHROMIUM_color_buffer_float_rgb 1
630 #ifndef GL_RGB32F
631 #define GL_RGB32F 0x8815
632 #endif
633 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
634
621 #ifdef __cplusplus 635 #ifdef __cplusplus
622 } 636 }
623 #endif 637 #endif
624 638
625 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 639 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698