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

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

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 #ifndef GL_CHROMIUM_texture_filtering_hint 1232 #ifndef GL_CHROMIUM_texture_filtering_hint
1225 #define GL_CHROMIUM_texture_filtering_hint 1 1233 #define GL_CHROMIUM_texture_filtering_hint 1
1226 #define GL_TEXTURE_FILTERING_HINT_CHROMIUM 0x8AF0 1234 #define GL_TEXTURE_FILTERING_HINT_CHROMIUM 0x8AF0
1227 #endif /* GL_CHROMIUM_texture_filtering_hint */ 1235 #endif /* GL_CHROMIUM_texture_filtering_hint */
1228 1236
1229 #ifdef __cplusplus 1237 #ifdef __cplusplus
1230 } 1238 }
1231 #endif 1239 #endif
1232 1240
1233 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1241 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_buffer.txt ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698