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