| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 #endif | 387 #endif |
| 388 | 388 |
| 389 #ifndef GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM | 389 #ifndef GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM |
| 390 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242 | 390 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242 |
| 391 #endif | 391 #endif |
| 392 | 392 |
| 393 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM | 393 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM |
| 394 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 | 394 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 |
| 395 #endif | 395 #endif |
| 396 #ifdef GL_GLEXT_PROTOTYPES | 396 #ifdef GL_GLEXT_PROTOTYPES |
| 397 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLenum target, | 397 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( |
| 398 GLenum source_id, | 398 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
| 399 GLenum dest_id, | 399 GLint internalformat, GLenum dest_type); |
| 400 GLint internalformat, | |
| 401 GLenum dest_type); | |
| 402 | |
| 403 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLenum target, | |
| 404 GLenum source_id, | |
| 405 GLenum dest_id, | |
| 406 GLint xoffset, | |
| 407 GLint yoffset); | |
| 408 #endif | 400 #endif |
| 409 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLenum target, | 401 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC) ( |
| 410 GLenum source_id, | 402 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
| 411 GLenum dest_id, | 403 GLint internalformat, GLenum dest_type); |
| 412 GLint internalformat, | |
| 413 GLenum dest_type); | |
| 414 | |
| 415 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLenum target, | |
| 416 GLenum source_id, | |
| 417 GLenum dest_id, | |
| 418 GLint xoffset, | |
| 419 GLint yoffset); | |
| 420 #endif /* GL_CHROMIUM_copy_texture */ | 404 #endif /* GL_CHROMIUM_copy_texture */ |
| 421 | 405 |
| 422 /* GL_CHROMIUM_lose_context */ | 406 /* GL_CHROMIUM_lose_context */ |
| 423 #ifndef GL_CHROMIUM_lose_context | 407 #ifndef GL_CHROMIUM_lose_context |
| 424 #define GL_CHROMIUM_lose_context 1 | 408 #define GL_CHROMIUM_lose_context 1 |
| 425 #ifdef GL_GLEXT_PROTOTYPES | 409 #ifdef GL_GLEXT_PROTOTYPES |
| 426 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); | 410 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); |
| 427 #endif | 411 #endif |
| 428 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( | 412 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( |
| 429 GLenum current, GLenum other); | 413 GLenum current, GLenum other); |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
| 780 GLenum matrixMode); | 764 GLenum matrixMode); |
| 781 | 765 |
| 782 #endif /* GL_CHROMIUM_path_rendering */ | 766 #endif /* GL_CHROMIUM_path_rendering */ |
| 783 | 767 |
| 784 #ifdef __cplusplus | 768 #ifdef __cplusplus |
| 785 } | 769 } |
| 786 #endif | 770 #endif |
| 787 | 771 |
| 788 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |