OLD | NEW |
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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 GLboolean unpack_premultiply_alpha, | 439 GLboolean unpack_premultiply_alpha, |
440 GLboolean unpack_unmultiply_alpha); | 440 GLboolean unpack_unmultiply_alpha); |
441 #endif /* GL_CHROMIUM_copy_texture */ | 441 #endif /* GL_CHROMIUM_copy_texture */ |
442 | 442 |
443 /* GL_CHROMIUM_compressed_copy_texture */ | 443 /* GL_CHROMIUM_compressed_copy_texture */ |
444 #ifndef GL_CHROMIUM_compressed_copy_texture | 444 #ifndef GL_CHROMIUM_compressed_copy_texture |
445 #define GL_CHROMIUM_compressed_copy_texture 1 | 445 #define GL_CHROMIUM_compressed_copy_texture 1 |
446 #ifdef GL_GLEXT_PROTOTYPES | 446 #ifdef GL_GLEXT_PROTOTYPES |
447 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM( | 447 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM( |
448 GLenum target, GLenum source_id, GLenum dest_id); | 448 GLenum target, GLenum source_id, GLenum dest_id); |
| 449 |
| 450 GL_APICALL void GL_APIENTRY glCompressedCopySubTextureCHROMIUM( |
| 451 GLenum target, |
| 452 GLenum source_id, |
| 453 GLenum dest_id, |
| 454 GLint xoffset, |
| 455 GLint yoffset, |
| 456 GLint x, |
| 457 GLint y, |
| 458 GLsizei width, |
| 459 GLsizei height); |
449 #endif | 460 #endif |
450 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)( | 461 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)( |
451 GLenum target, GLenum source_id, GLenum dest_id); | 462 GLenum target, GLenum source_id, GLenum dest_id); |
| 463 |
| 464 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYSUBTEXTURECHROMIUMPROC)( |
| 465 GLenum target, |
| 466 GLenum source_id, |
| 467 GLenum dest_id, |
| 468 GLint xoffset, |
| 469 GLint yoffset, |
| 470 GLint x, |
| 471 GLint y, |
| 472 GLsizei width, |
| 473 GLsizei height); |
452 #endif /* GL_CHROMIUM_compressed_copy_texture */ | 474 #endif /* GL_CHROMIUM_compressed_copy_texture */ |
453 | 475 |
454 /* GL_CHROMIUM_lose_context */ | 476 /* GL_CHROMIUM_lose_context */ |
455 #ifndef GL_CHROMIUM_lose_context | 477 #ifndef GL_CHROMIUM_lose_context |
456 #define GL_CHROMIUM_lose_context 1 | 478 #define GL_CHROMIUM_lose_context 1 |
457 #ifdef GL_GLEXT_PROTOTYPES | 479 #ifdef GL_GLEXT_PROTOTYPES |
458 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); | 480 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); |
459 #endif | 481 #endif |
460 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( | 482 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( |
461 GLenum current, GLenum other); | 483 GLenum current, GLenum other); |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 | 984 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 |
963 #endif | 985 #endif |
964 | 986 |
965 #endif /* GL_CHROMIUM_path_rendering */ | 987 #endif /* GL_CHROMIUM_path_rendering */ |
966 | 988 |
967 #ifdef __cplusplus | 989 #ifdef __cplusplus |
968 } | 990 } |
969 #endif | 991 #endif |
970 | 992 |
971 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 993 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |