| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 GLboolean unpack_premultiply_alpha, | 410 GLboolean unpack_premultiply_alpha, |
| 411 GLboolean unpack_unmultiply_alpha); | 411 GLboolean unpack_unmultiply_alpha); |
| 412 #endif /* GL_CHROMIUM_copy_texture */ | 412 #endif /* GL_CHROMIUM_copy_texture */ |
| 413 | 413 |
| 414 /* GL_CHROMIUM_compressed_copy_texture */ | 414 /* GL_CHROMIUM_compressed_copy_texture */ |
| 415 #ifndef GL_CHROMIUM_compressed_copy_texture | 415 #ifndef GL_CHROMIUM_compressed_copy_texture |
| 416 #define GL_CHROMIUM_compressed_copy_texture 1 | 416 #define GL_CHROMIUM_compressed_copy_texture 1 |
| 417 #ifdef GL_GLEXT_PROTOTYPES | 417 #ifdef GL_GLEXT_PROTOTYPES |
| 418 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM( | 418 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM( |
| 419 GLenum target, GLenum source_id, GLenum dest_id); | 419 GLenum target, GLenum source_id, GLenum dest_id); |
| 420 | |
| 421 GL_APICALL void GL_APIENTRY glCompressedCopySubTextureCHROMIUM( | |
| 422 GLenum target, | |
| 423 GLenum source_id, | |
| 424 GLenum dest_id, | |
| 425 GLint xoffset, | |
| 426 GLint yoffset, | |
| 427 GLint x, | |
| 428 GLint y, | |
| 429 GLsizei width, | |
| 430 GLsizei height); | |
| 431 #endif | 420 #endif |
| 432 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)( | 421 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)( |
| 433 GLenum target, GLenum source_id, GLenum dest_id); | 422 GLenum target, GLenum source_id, GLenum dest_id); |
| 434 | |
| 435 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYSUBTEXTURECHROMIUMPROC)( | |
| 436 GLenum target, | |
| 437 GLenum source_id, | |
| 438 GLenum dest_id, | |
| 439 GLint xoffset, | |
| 440 GLint yoffset, | |
| 441 GLint x, | |
| 442 GLint y, | |
| 443 GLsizei width, | |
| 444 GLsizei height); | |
| 445 #endif /* GL_CHROMIUM_compressed_copy_texture */ | 423 #endif /* GL_CHROMIUM_compressed_copy_texture */ |
| 446 | 424 |
| 447 /* GL_CHROMIUM_lose_context */ | 425 /* GL_CHROMIUM_lose_context */ |
| 448 #ifndef GL_CHROMIUM_lose_context | 426 #ifndef GL_CHROMIUM_lose_context |
| 449 #define GL_CHROMIUM_lose_context 1 | 427 #define GL_CHROMIUM_lose_context 1 |
| 450 #ifdef GL_GLEXT_PROTOTYPES | 428 #ifdef GL_GLEXT_PROTOTYPES |
| 451 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); | 429 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); |
| 452 #endif | 430 #endif |
| 453 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( | 431 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( |
| 454 GLenum current, GLenum other); | 432 GLenum current, GLenum other); |
| (...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); | 1225 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1248 #endif | 1226 #endif |
| 1249 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1227 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1250 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1228 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1251 | 1229 |
| 1252 #ifdef __cplusplus | 1230 #ifdef __cplusplus |
| 1253 } | 1231 } |
| 1254 #endif | 1232 #endif |
| 1255 | 1233 |
| 1256 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1234 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |