| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 #ifndef GL_MAX_DRAW_BUFFERS_EXT | 568 #ifndef GL_MAX_DRAW_BUFFERS_EXT |
| 569 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | 569 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 |
| 570 #endif | 570 #endif |
| 571 | 571 |
| 572 #endif /* GL_EXT_draw_buffers */ | 572 #endif /* GL_EXT_draw_buffers */ |
| 573 | 573 |
| 574 /* GL_CHROMIUM_resize */ | 574 /* GL_CHROMIUM_resize */ |
| 575 #ifndef GL_CHROMIUM_resize | 575 #ifndef GL_CHROMIUM_resize |
| 576 #define GL_CHROMIUM_resize 1 | 576 #define GL_CHROMIUM_resize 1 |
| 577 #ifdef GL_GLEXT_PROTOTYPES | 577 #ifdef GL_GLEXT_PROTOTYPES |
| 578 GL_APICALL void GL_APIENTRY glResizeCHROMIUM(GLuint width, GLuint height); | 578 GL_APICALL void GL_APIENTRY glResizeCHROMIUM( |
| 579 GLuint width, GLuint height, GLfloat scale_factor); |
| 579 #endif | 580 #endif |
| 580 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) ( | 581 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) ( |
| 581 GLuint width, GLuint height); | 582 GLuint width, GLuint height); |
| 582 #endif /* GL_CHROMIUM_resize */ | 583 #endif /* GL_CHROMIUM_resize */ |
| 583 | 584 |
| 584 /* GL_CHROMIUM_get_multiple */ | 585 /* GL_CHROMIUM_get_multiple */ |
| 585 #ifndef GL_CHROMIUM_get_multiple | 586 #ifndef GL_CHROMIUM_get_multiple |
| 586 #define GL_CHROMIUM_get_multiple 1 | 587 #define GL_CHROMIUM_get_multiple 1 |
| 587 #ifdef GL_GLEXT_PROTOTYPES | 588 #ifdef GL_GLEXT_PROTOTYPES |
| 588 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM( | 589 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM( |
| (...skipping 21 matching lines...) Expand all Loading... |
| 610 #endif | 611 #endif |
| 611 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); | 612 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); |
| 612 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); | 613 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); |
| 613 #endif /* GL_CHROMIUM_sync_point */ | 614 #endif /* GL_CHROMIUM_sync_point */ |
| 614 | 615 |
| 615 #ifdef __cplusplus | 616 #ifdef __cplusplus |
| 616 } | 617 } |
| 617 #endif | 618 #endif |
| 618 | 619 |
| 619 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 620 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |