| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 #define GL_CHROMIUM_copy_texture 1 | 358 #define GL_CHROMIUM_copy_texture 1 |
| 359 | 359 |
| 360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM | 360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM |
| 361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 | 361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 |
| 362 #endif | 362 #endif |
| 363 | 363 |
| 364 #ifdef GL_GLEXT_PROTOTYPES | 364 #ifdef GL_GLEXT_PROTOTYPES |
| 365 GL_APICALL void GL_APIENTRY | 365 GL_APICALL void GL_APIENTRY |
| 366 glCopyTextureCHROMIUM(GLenum source_id, | 366 glCopyTextureCHROMIUM(GLenum source_id, |
| 367 GLint source_level, | 367 GLint source_level, |
| 368 GLenum dest_target, |
| 368 GLenum dest_id, | 369 GLenum dest_id, |
| 369 GLint dest_level, | 370 GLint dest_level, |
| 370 GLint internalformat, | 371 GLint internalformat, |
| 371 GLenum dest_type, | 372 GLenum dest_type, |
| 372 GLboolean unpack_flip_y, | 373 GLboolean unpack_flip_y, |
| 373 GLboolean unpack_premultiply_alpha, | 374 GLboolean unpack_premultiply_alpha, |
| 374 GLboolean unpack_unmultiply_alpha); | 375 GLboolean unpack_unmultiply_alpha); |
| 375 | 376 |
| 376 GL_APICALL void GL_APIENTRY | 377 GL_APICALL void GL_APIENTRY |
| 377 glCopySubTextureCHROMIUM(GLenum source_id, | 378 glCopySubTextureCHROMIUM(GLenum source_id, |
| 378 GLint source_level, | 379 GLint source_level, |
| 380 GLenum dest_target, |
| 379 GLenum dest_id, | 381 GLenum dest_id, |
| 380 GLint dest_level, | 382 GLint dest_level, |
| 381 GLint xoffset, | 383 GLint xoffset, |
| 382 GLint yoffset, | 384 GLint yoffset, |
| 383 GLint x, | 385 GLint x, |
| 384 GLint y, | 386 GLint y, |
| 385 GLsizei width, | 387 GLsizei width, |
| 386 GLsizei height, | 388 GLsizei height, |
| 387 GLboolean unpack_flip_y, | 389 GLboolean unpack_flip_y, |
| 388 GLboolean unpack_premultiply_alpha, | 390 GLboolean unpack_premultiply_alpha, |
| 389 GLboolean unpack_unmultiply_alpha); | 391 GLboolean unpack_unmultiply_alpha); |
| 390 #endif | 392 #endif |
| 391 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)( | 393 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)( |
| 392 GLenum source_id, | 394 GLenum source_id, |
| 393 GLint source_level, | 395 GLint source_level, |
| 396 GLenum dest_target, |
| 394 GLenum dest_id, | 397 GLenum dest_id, |
| 395 GLint dest_level, | 398 GLint dest_level, |
| 396 GLint internalformat, | 399 GLint internalformat, |
| 397 GLenum dest_type, | 400 GLenum dest_type, |
| 398 GLboolean unpack_flip_y, | 401 GLboolean unpack_flip_y, |
| 399 GLboolean unpack_premultiply_alpha, | 402 GLboolean unpack_premultiply_alpha, |
| 400 GLboolean unpack_unmultiply_alpha); | 403 GLboolean unpack_unmultiply_alpha); |
| 401 | 404 |
| 402 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)( | 405 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)( |
| 403 GLenum source_id, | 406 GLenum source_id, |
| 404 GLint source_level, | 407 GLint source_level, |
| 408 GLenum dest_target, |
| 405 GLenum dest_id, | 409 GLenum dest_id, |
| 406 GLint dest_level, | 410 GLint dest_level, |
| 407 GLint xoffset, | 411 GLint xoffset, |
| 408 GLint yoffset, | 412 GLint yoffset, |
| 409 GLint x, | 413 GLint x, |
| 410 GLint y, | 414 GLint y, |
| 411 GLsizei width, | 415 GLsizei width, |
| 412 GLsizei height, | 416 GLsizei height, |
| 413 GLboolean unpack_flip_y, | 417 GLboolean unpack_flip_y, |
| 414 GLboolean unpack_premultiply_alpha, | 418 GLboolean unpack_premultiply_alpha, |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); | 1213 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); |
| 1210 #endif | 1214 #endif |
| 1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 | 1215 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ | 1216 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 1213 | 1217 |
| 1214 #ifdef __cplusplus | 1218 #ifdef __cplusplus |
| 1215 } | 1219 } |
| 1216 #endif | 1220 #endif |
| 1217 | 1221 |
| 1218 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1222 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |