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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 GLenum source_id, | 424 GLenum source_id, |
425 GLenum dest_id, | 425 GLenum dest_id, |
426 GLint xoffset, | 426 GLint xoffset, |
427 GLint yoffset, | 427 GLint yoffset, |
428 GLint x, | 428 GLint x, |
429 GLint y, | 429 GLint y, |
430 GLsizei width, | 430 GLsizei width, |
431 GLsizei height); | 431 GLsizei height); |
432 #endif /* GL_CHROMIUM_copy_texture */ | 432 #endif /* GL_CHROMIUM_copy_texture */ |
433 | 433 |
| 434 /* GL_CHROMIUM_compressed_copy_texture */ |
| 435 #ifndef GL_CHROMIUM_compressed_copy_texture |
| 436 #define GL_CHROMIUM_compressed_copy_texture 1 |
| 437 #ifdef GL_GLEXT_PROTOTYPES |
| 438 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM( |
| 439 GLenum target, GLenum source_id, GLenum dest_id); |
| 440 #endif |
| 441 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)( |
| 442 GLenum target, GLenum source_id, GLenum dest_id); |
| 443 #endif /* GL_CHROMIUM_compressed_copy_texture */ |
| 444 |
434 /* GL_CHROMIUM_lose_context */ | 445 /* GL_CHROMIUM_lose_context */ |
435 #ifndef GL_CHROMIUM_lose_context | 446 #ifndef GL_CHROMIUM_lose_context |
436 #define GL_CHROMIUM_lose_context 1 | 447 #define GL_CHROMIUM_lose_context 1 |
437 #ifdef GL_GLEXT_PROTOTYPES | 448 #ifdef GL_GLEXT_PROTOTYPES |
438 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); | 449 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); |
439 #endif | 450 #endif |
440 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( | 451 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( |
441 GLenum current, GLenum other); | 452 GLenum current, GLenum other); |
442 #endif /* GL_CHROMIUM_lose_context */ | 453 #endif /* GL_CHROMIUM_lose_context */ |
443 | 454 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 802 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
792 GLenum matrixMode); | 803 GLenum matrixMode); |
793 | 804 |
794 #endif /* GL_CHROMIUM_path_rendering */ | 805 #endif /* GL_CHROMIUM_path_rendering */ |
795 | 806 |
796 #ifdef __cplusplus | 807 #ifdef __cplusplus |
797 } | 808 } |
798 #endif | 809 #endif |
799 | 810 |
800 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 811 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |