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

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

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: add test Created 3 years, 6 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #endif 115 #endif
116 116
117 #ifndef GL_RGB_YCBCR_422_CHROMIUM 117 #ifndef GL_RGB_YCBCR_422_CHROMIUM
118 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 118 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
119 #endif 119 #endif
120 120
121 #ifndef GL_RGB_YCBCR_420V_CHROMIUM 121 #ifndef GL_RGB_YCBCR_420V_CHROMIUM
122 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC 122 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
123 #endif 123 #endif
124 124
125 #ifndef GL_TEXTURE_BUFFER_USAGE_CHROMIUM
126 #define GL_TEXTURE_BUFFER_USAGE_CHROMIUM 0x78FD
127 #endif
128
129 #ifndef GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM
130 #define GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM 0x78FE
131 #endif
132
125 /* GL_CHROMIUM_deschedule */ 133 /* GL_CHROMIUM_deschedule */
126 #ifndef GL_CHROMIUM_deschedule 134 #ifndef GL_CHROMIUM_deschedule
127 #define GL_CHROMIUM_deschedule 1 135 #define GL_CHROMIUM_deschedule 1
128 #ifdef GL_GLEXT_PROTOTYPES 136 #ifdef GL_GLEXT_PROTOTYPES
129 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM(); 137 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM();
130 #endif 138 #endif
131 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)(); 139 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)();
132 #endif /* GL_CHROMIUM_deschedule */ 140 #endif /* GL_CHROMIUM_deschedule */
133 141
134 /* GL_CHROMIUM_map_sub */ 142 /* GL_CHROMIUM_map_sub */
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 #ifndef GL_ARB_occlusion_query 1205 #ifndef GL_ARB_occlusion_query
1198 #define GL_ARB_occlusion_query 1 1206 #define GL_ARB_occlusion_query 1
1199 #define GL_SAMPLES_PASSED_ARB 0x8914 1207 #define GL_SAMPLES_PASSED_ARB 0x8914
1200 #endif /* GL_ARB_occlusion_query */ 1208 #endif /* GL_ARB_occlusion_query */
1201 1209
1202 #ifdef __cplusplus 1210 #ifdef __cplusplus
1203 } 1211 }
1204 #endif 1212 #endif
1205 1213
1206 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1214 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698