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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « cc/trees/thread_proxy.cc ('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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUMPROC) ( 193 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUMPROC) (
194 const char* extension); 194 const char* extension);
195 #endif /* GL_CHROMIUM_request_extension */ 195 #endif /* GL_CHROMIUM_request_extension */
196 196
197 /* GL_CHROMIUM_get_error_query */ 197 /* GL_CHROMIUM_get_error_query */
198 #ifndef GL_CHROMIUM_get_error_query 198 #ifndef GL_CHROMIUM_get_error_query
199 #define GL_CHROMIUM_get_error_query 1 199 #define GL_CHROMIUM_get_error_query 1
200 200
201 #ifndef GL_GET_ERROR_QUERY_CHROMIUM 201 #ifndef GL_GET_ERROR_QUERY_CHROMIUM
202 // TODO(gman): Get official numbers for this constants. 202 // TODO(gman): Get official numbers for this constants.
203 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 203 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003
204 #endif 204 #endif
205 #endif /* GL_CHROMIUM_get_error_query */ 205 #endif /* GL_CHROMIUM_get_error_query */
206 206
207 /* GL_CHROMIUM_texture_from_image */ 207 /* GL_CHROMIUM_texture_from_image */
208 #ifndef GL_CHROMIUM_texture_from_image 208 #ifndef GL_CHROMIUM_texture_from_image
209 #define GL_CHROMIUM_texture_from_image 1 209 #define GL_CHROMIUM_texture_from_image 1
210 #ifdef GL_GLEXT_PROTOTYPES 210 #ifdef GL_GLEXT_PROTOTYPES
211 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM( 211 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM(
212 GLenum target, GLint imageId); 212 GLenum target, GLint imageId);
213 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM( 213 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC) ( 249 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC) (
250 GLuint program, GLint location, const char* name); 250 GLuint program, GLint location, const char* name);
251 #endif /* GL_CHROMIUM_bind_uniform_location */ 251 #endif /* GL_CHROMIUM_bind_uniform_location */
252 252
253 /* GL_CHROMIUM_command_buffer_query */ 253 /* GL_CHROMIUM_command_buffer_query */
254 #ifndef GL_CHROMIUM_command_buffer_query 254 #ifndef GL_CHROMIUM_command_buffer_query
255 #define GL_CHROMIUM_command_buffer_query 1 255 #define GL_CHROMIUM_command_buffer_query 1
256 256
257 #ifndef GL_COMMANDS_ISSUED_CHROMIUM 257 #ifndef GL_COMMANDS_ISSUED_CHROMIUM
258 // TODO(gman): Get official numbers for this constants. 258 // TODO(gman): Get official numbers for this constants.
259 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 259 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004
260 #endif 260 #endif
261 #endif /* GL_CHROMIUM_command_buffer_query */ 261 #endif /* GL_CHROMIUM_command_buffer_query */
262 262
263 /* GL_CHROMIUM_framebuffer_multisample */ 263 /* GL_CHROMIUM_framebuffer_multisample */
264 #ifndef GL_CHROMIUM_framebuffer_multisample 264 #ifndef GL_CHROMIUM_framebuffer_multisample
265 #define GL_CHROMIUM_framebuffer_multisample 1 265 #define GL_CHROMIUM_framebuffer_multisample 1
266 266
267 #ifdef GL_GLEXT_PROTOTYPES 267 #ifdef GL_GLEXT_PROTOTYPES
268 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleCHROMIUM (GLenum, GL sizei, GLenum, GLsizei, GLsizei); 268 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleCHROMIUM (GLenum, GL sizei, GLenum, GLsizei, GLsizei);
269 GL_APICALL void GL_APIENTRY glBlitFramebufferCHROMIUM (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, G Lbitfield mask, GLenum filter); 269 GL_APICALL void GL_APIENTRY glBlitFramebufferCHROMIUM (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, G Lbitfield mask, GLenum filter);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 360 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
361 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 361 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
362 #endif 362 #endif
363 #endif /* GL_CHROMIUM_texture_compression_dxt5 */ 363 #endif /* GL_CHROMIUM_texture_compression_dxt5 */
364 364
365 /* GL_CHROMIUM_async_pixel_transfers */ 365 /* GL_CHROMIUM_async_pixel_transfers */
366 #ifndef GL_CHROMIUM_async_pixel_transfers 366 #ifndef GL_CHROMIUM_async_pixel_transfers
367 #define GL_CHROMIUM_async_pixel_transfers 1 367 #define GL_CHROMIUM_async_pixel_transfers 1
368 368
369 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 369 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM
370 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 370 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x6005
371 #endif 371 #endif
372 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 372 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM
373 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 373 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006
374 #endif 374 #endif
375 #endif /* GL_CHROMIUM_async_pixel_transfers */ 375 #endif /* GL_CHROMIUM_async_pixel_transfers */
376 376
377 #ifndef GL_BIND_GENERATES_RESOURCE_CHROMIUM 377 #ifndef GL_BIND_GENERATES_RESOURCE_CHROMIUM
378 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244 378 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
379 #endif 379 #endif
380 380
381 /* GL_CHROMIUM_copy_texture */ 381 /* GL_CHROMIUM_copy_texture */
382 #ifndef GL_CHROMIUM_copy_texture 382 #ifndef GL_CHROMIUM_copy_texture
383 #define GL_CHROMIUM_copy_texture 1 383 #define GL_CHROMIUM_copy_texture 1
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 typedef GLboolean (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUMPROC) ( 448 typedef GLboolean (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUMPROC) (
449 const char* feature); 449 const char* feature);
450 #endif /* GL_CHROMIUM_enable_feature */ 450 #endif /* GL_CHROMIUM_enable_feature */
451 451
452 /* GL_CHROMIUM_command_buffer_latency_query */ 452 /* GL_CHROMIUM_command_buffer_latency_query */
453 #ifndef GL_CHROMIUM_command_buffer_latency_query 453 #ifndef GL_CHROMIUM_command_buffer_latency_query
454 #define GL_CHROMIUM_command_buffer_latency_query 1 454 #define GL_CHROMIUM_command_buffer_latency_query 1
455 455
456 #ifndef GL_LATENCY_QUERY_CHROMIUM 456 #ifndef GL_LATENCY_QUERY_CHROMIUM
457 // TODO(gman): Get official numbers for these constants. 457 // TODO(gman): Get official numbers for these constants.
458 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 458 #define GL_LATENCY_QUERY_CHROMIUM 0x6007
459 #endif 459 #endif
460 #endif /* GL_CHROMIUM_command_buffer_latency_query */ 460 #endif /* GL_CHROMIUM_command_buffer_latency_query */
461 461
462 /* GL_ARB_robustness */ 462 /* GL_ARB_robustness */
463 #ifndef GL_ARB_robustness 463 #ifndef GL_ARB_robustness
464 #define GL_ARB_robustness 1 464 #define GL_ARB_robustness 1
465 465
466 #ifndef GL_GUILTY_CONTEXT_RESET_ARB 466 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
467 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 467 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
468 #endif 468 #endif
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( 763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
764 GLenum matrixMode); 764 GLenum matrixMode);
765 765
766 #endif /* GL_CHROMIUM_path_rendering */ 766 #endif /* GL_CHROMIUM_path_rendering */
767 767
768 #ifdef __cplusplus 768 #ifdef __cplusplus
769 } 769 }
770 #endif 770 #endif
771 771
772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698