Chromium Code Reviews| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) ( | 64 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) ( |
| 65 GLenum target, const GLbyte* mailbox); | 65 GLenum target, const GLbyte* mailbox); |
| 66 #endif /* GL_CHROMIUM_texture_mailbox */ | 66 #endif /* GL_CHROMIUM_texture_mailbox */ |
| 67 | 67 |
| 68 /* GL_CHROMIUM_pixel_transfer_buffer_object */ | 68 /* GL_CHROMIUM_pixel_transfer_buffer_object */ |
| 69 #ifndef GL_CHROMIUM_pixel_transfer_buffer_object | 69 #ifndef GL_CHROMIUM_pixel_transfer_buffer_object |
| 70 #define GL_CHROMIUM_pixel_transfer_buffer_object 1 | 70 #define GL_CHROMIUM_pixel_transfer_buffer_object 1 |
| 71 | 71 |
| 72 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM | 72 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM |
| 73 // TODO(reveman): Get official numbers for this constants. | 73 // TODO(reveman): Get official numbers for this constants. |
| 74 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x88EC | 74 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC |
|
apatrick_chromium
2013/03/19 18:34:48
The range for dev work is 0x6000 to 0x7FFF so this
hubbe
2013/03/19 22:42:42
Done.
| |
| 75 | 75 |
| 76 #ifdef GL_GLEXT_PROTOTYPES | 76 #ifdef GL_GLEXT_PROTOTYPES |
| 77 GL_APICALL void* GL_APIENTRY glMapBufferCHROMIUM(GLuint target,GLenum access); | 77 GL_APICALL void* GL_APIENTRY glMapBufferCHROMIUM(GLuint target,GLenum access); |
| 78 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferCHROMIUM(GLuint target); | 78 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferCHROMIUM(GLuint target); |
| 79 #endif | 79 #endif |
| 80 typedef void* (GL_APIENTRY PFNGLMAPBUFFERCHROMIUM) ( | 80 typedef void* (GL_APIENTRY PFNGLMAPBUFFERCHROMIUM) ( |
| 81 GLuint target,GLenum access); | 81 GLuint target,GLenum access); |
| 82 typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target); | 82 typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target); |
| 83 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ | 83 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ |
| 84 | 84 |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 571 #endif | 571 #endif |
| 572 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); | 572 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); |
| 573 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); | 573 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); |
| 574 #endif /* GL_CHROMIUM_sync_point */ | 574 #endif /* GL_CHROMIUM_sync_point */ |
| 575 | 575 |
| 576 #ifdef __cplusplus | 576 #ifdef __cplusplus |
| 577 } | 577 } |
| 578 #endif | 578 #endif |
| 579 | 579 |
| 580 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 580 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| 581 | |
| OLD | NEW |