Add CHROMIUM_ycbcr_422_image extension.
[chromium-blink-merge.git] / gpu / GLES2 / gl2extchromium.h
blob77f0d9fb3180552664b1801241e274ada4cd0979
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
3 // found in the LICENSE file.
5 // This file contains Chromium-specific GLES2 extensions declarations.
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
10 #include <GLES2/gl2.h>
11 #include <GLES2/gl2ext.h>
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 /* GL_CHROMIUM_iosurface */
18 #ifndef GL_CHROMIUM_iosurface
19 #define GL_CHROMIUM_iosurface 1
20 #ifdef GL_GLEXT_PROTOTYPES
21 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM(
22 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId,
23 GLuint plane);
24 #endif
25 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUMPROC) (
26 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId,
27 GLuint plane);
28 #endif /* GL_CHROMIUM_iosurface */
30 /* GL_CHROMIUM_gpu_memory_manager */
31 #ifndef GL_CHROMIUM_gpu_memory_manager
32 #define GL_CHROMIUM_gpu_memory_manager 1
34 #ifndef GL_TEXTURE_POOL_UNMANAGED_CHROMIUM
35 #define GL_TEXTURE_POOL_UNMANAGED_CHROMIUM 0x6002
36 #endif
38 #ifndef GL_TEXTURE_POOL_CHROMIUM
39 #define GL_TEXTURE_POOL_CHROMIUM 0x6000
40 #endif
42 #ifndef GL_TEXTURE_POOL_MANAGED_CHROMIUM
43 #define GL_TEXTURE_POOL_MANAGED_CHROMIUM 0x6001
44 #endif
45 #endif /* GL_CHROMIUM_gpu_memory_manager */
47 /* GL_CHROMIUM_texture_mailbox */
48 #ifndef GL_CHROMIUM_texture_mailbox
49 #define GL_CHROMIUM_texture_mailbox 1
51 #ifndef GL_MAILBOX_SIZE_CHROMIUM
52 #define GL_MAILBOX_SIZE_CHROMIUM 64
53 #endif
54 #ifdef GL_GLEXT_PROTOTYPES
55 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM(GLbyte* mailbox);
56 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM(
57 GLenum target, const GLbyte* mailbox);
58 GL_APICALL void GL_APIENTRY glProduceTextureDirectCHROMIUM(
59 GLuint texture, GLenum target, const GLbyte* mailbox);
60 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM(
61 GLenum target, const GLbyte* mailbox);
62 GL_APICALL GLuint GL_APIENTRY glCreateAndConsumeTextureCHROMIUM(
63 GLenum target, const GLbyte* mailbox);
64 #endif
65 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUMPROC) (GLbyte* mailbox);
66 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUMPROC) (
67 GLenum target, const GLbyte* mailbox);
68 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTUREDIRECTCHROMIUMPROC) (
69 GLuint texture, GLenum target, const GLbyte* mailbox);
70 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) (
71 GLenum target, const GLbyte* mailbox);
72 typedef GLuint (GL_APIENTRYP PFNGLCREATEANDCONSUMETEXTURECHROMIUMPROC) (
73 GLenum target, const GLbyte* mailbox);
74 #endif /* GL_CHROMIUM_texture_mailbox */
76 /* GL_CHROMIUM_pixel_transfer_buffer_object */
77 #ifndef GL_CHROMIUM_pixel_transfer_buffer_object
78 #define GL_CHROMIUM_pixel_transfer_buffer_object 1
80 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM
81 // TODO(reveman): Get official numbers for this constants.
82 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
83 #define GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
85 #ifdef GL_GLEXT_PROTOTYPES
86 GL_APICALL void* GL_APIENTRY glMapBufferCHROMIUM(GLuint target,GLenum access);
87 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferCHROMIUM(GLuint target);
88 #endif
89 typedef void* (GL_APIENTRY PFNGLMAPBUFFERCHROMIUM) (
90 GLuint target,GLenum access);
91 typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target);
92 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */
94 #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM
95 // TODO(reveman): Get official numbers for this constants.
96 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EF
97 #define GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x78EE
98 #endif
100 #ifndef GL_STREAM_READ
101 #define GL_STREAM_READ 0x88E1
102 #endif
103 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */
105 /* GL_CHROMIUM_image */
106 #ifndef GL_CHROMIUM_image
107 #define GL_CHROMIUM_image 1
109 typedef struct _ClientBuffer* ClientBuffer;
111 #ifdef GL_GLEXT_PROTOTYPES
112 GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(ClientBuffer buffer,
113 GLsizei width,
114 GLsizei height,
115 GLenum internalformat);
116 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id);
117 #endif
118 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)(
119 ClientBuffer buffer,
120 GLsizei width,
121 GLsizei height,
122 GLenum internalformat);
123 typedef void (
124 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id);
125 #endif /* GL_CHROMIUM_image */
127 /* GL_CHROMIUM_gpu_memory_buffer_image */
128 #ifndef GL_CHROMIUM_gpu_memory_buffer_image
129 #define GL_CHROMIUM_gpu_memory_buffer_image 1
131 #ifndef GL_MAP_CHROMIUM
132 #define GL_MAP_CHROMIUM 0x78F1
133 #endif
135 #ifndef GL_SCANOUT_CHROMIUM
136 #define GL_SCANOUT_CHROMIUM 0x78F2
137 #endif
139 #ifndef GL_RGB_YUV_420_CHROMIUM
140 #define GL_RGB_YUV_420_CHROMIUM 0x78FA
141 #endif
143 #ifndef GL_RGB_YCBCR_422_CHROMIUM
144 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
145 #endif
147 #ifdef GL_GLEXT_PROTOTYPES
148 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
149 GLsizei width,
150 GLsizei height,
151 GLenum internalformat,
152 GLenum usage);
153 #endif
154 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
155 GLsizei width,
156 GLsizei height,
157 GLenum internalformat,
158 GLenum usage);
159 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */
161 /* GL_CHROMIUM_map_sub */
162 #ifndef GL_CHROMIUM_map_sub
163 #define GL_CHROMIUM_map_sub 1
165 #ifndef GL_READ_ONLY
166 #define GL_READ_ONLY 0x88B8
167 #endif
169 #ifndef GL_WRITE_ONLY
170 #define GL_WRITE_ONLY 0x88B9
171 #endif
172 #ifdef GL_GLEXT_PROTOTYPES
173 GL_APICALL void* GL_APIENTRY glMapBufferSubDataCHROMIUM(
174 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access);
175 GL_APICALL void GL_APIENTRY glUnmapBufferSubDataCHROMIUM(const void* mem);
176 GL_APICALL void* GL_APIENTRY glMapTexSubImage2DCHROMIUM(
177 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
178 GLsizei height, GLenum format, GLenum type, GLenum access);
179 GL_APICALL void GL_APIENTRY glUnmapTexSubImage2DCHROMIUM(const void* mem);
180 #endif
181 typedef void* (GL_APIENTRYP PFNGLMAPBUFFERSUBDATACHROMIUMPROC) (
182 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access);
183 typedef void (
184 GL_APIENTRYP PFNGLUNMAPBUFFERSUBDATACHROMIUMPROC) (const void* mem);
185 typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUMPROC) (
186 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
187 GLsizei height, GLenum format, GLenum type, GLenum access);
188 typedef void (
189 GL_APIENTRYP PFNGLUNMAPTEXSUBIMAGE2DCHROMIUMPROC) (const void* mem);
190 #endif /* GL_CHROMIUM_map_sub */
192 /* GL_CHROMIUM_request_extension */
193 #ifndef GL_CHROMIUM_request_extension
194 #define GL_CHROMIUM_request_extension 1
195 #ifdef GL_GLEXT_PROTOTYPES
196 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM();
197 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM(const char* extension);
198 #endif
199 typedef const GLchar* (GL_APIENTRYP PFNGLGETREQUESTABLEEXTENSIONSCHROMIUMPROC) (
201 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUMPROC) (
202 const char* extension);
203 #endif /* GL_CHROMIUM_request_extension */
205 /* GL_CHROMIUM_get_error_query */
206 #ifndef GL_CHROMIUM_get_error_query
207 #define GL_CHROMIUM_get_error_query 1
209 #ifndef GL_GET_ERROR_QUERY_CHROMIUM
210 // TODO(gman): Get official numbers for this constants.
211 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003
212 #endif
213 #endif /* GL_CHROMIUM_get_error_query */
215 /* GL_CHROMIUM_texture_from_image */
216 #ifndef GL_CHROMIUM_texture_from_image
217 #define GL_CHROMIUM_texture_from_image 1
218 #ifdef GL_GLEXT_PROTOTYPES
219 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM(
220 GLenum target, GLint imageId);
221 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM(
222 GLenum target, GLint imageId);
223 #endif
224 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) (
225 GLenum target, GLint imageId);
226 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) (
227 GLenum target, GLint imageId);
228 #endif /* GL_CHROMIUM_texture_from_image */
230 /* GL_CHROMIUM_rate_limit_offscreen_context */
231 #ifndef GL_CHROMIUM_rate_limit_offscreen_context
232 #define GL_CHROMIUM_rate_limit_offscreen_context 1
233 #ifdef GL_GLEXT_PROTOTYPES
234 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM();
235 #endif
236 typedef void (GL_APIENTRYP PFNGLRATELIMITOFFSCREENCONTEXTCHROMIUMPROC) ();
237 #endif /* GL_CHROMIUM_rate_limit_offscreen_context */
239 /* GL_CHROMIUM_post_sub_buffer */
240 #ifndef GL_CHROMIUM_post_sub_buffer
241 #define GL_CHROMIUM_post_sub_buffer 1
242 #ifdef GL_GLEXT_PROTOTYPES
243 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM(
244 GLint x, GLint y, GLint width, GLint height);
245 #endif
246 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUMPROC) (
247 GLint x, GLint y, GLint width, GLint height);
248 #endif /* GL_CHROMIUM_post_sub_buffer */
250 /* GL_CHROMIUM_bind_uniform_location */
251 #ifndef GL_CHROMIUM_bind_uniform_location
252 #define GL_CHROMIUM_bind_uniform_location 1
253 #ifdef GL_GLEXT_PROTOTYPES
254 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM(
255 GLuint program, GLint location, const char* name);
256 #endif
257 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC) (
258 GLuint program, GLint location, const char* name);
259 #endif /* GL_CHROMIUM_bind_uniform_location */
261 /* GL_CHROMIUM_command_buffer_query */
262 #ifndef GL_CHROMIUM_command_buffer_query
263 #define GL_CHROMIUM_command_buffer_query 1
265 #ifndef GL_COMMANDS_ISSUED_CHROMIUM
266 // TODO(gman): Get official numbers for this constants.
267 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004
268 #endif
269 #endif /* GL_CHROMIUM_command_buffer_query */
271 /* GL_CHROMIUM_framebuffer_multisample */
272 #ifndef GL_CHROMIUM_framebuffer_multisample
273 #define GL_CHROMIUM_framebuffer_multisample 1
275 #ifdef GL_GLEXT_PROTOTYPES
276 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleCHROMIUM (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
277 GL_APICALL void GL_APIENTRY glBlitFramebufferCHROMIUM (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
278 #endif
279 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECHROMIUMPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
280 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERCHROMIUMPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
282 #ifndef GL_FRAMEBUFFER_BINDING_EXT
283 #define GL_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING
284 #endif
286 #ifndef GL_DRAW_FRAMEBUFFER_BINDING_EXT
287 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_DRAW_FRAMEBUFFER_BINDING
288 #endif
290 #ifndef GL_RENDERBUFFER_BINDING_EXT
291 #define GL_RENDERBUFFER_BINDING_EXT GL_RENDERBUFFER_BINDING
292 #endif
294 #ifndef GL_RENDERBUFFER_SAMPLES
295 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
296 #endif
298 #ifndef GL_READ_FRAMEBUFFER_EXT
299 #define GL_READ_FRAMEBUFFER_EXT GL_READ_FRAMEBUFFER
300 #endif
302 #ifndef GL_RENDERBUFFER_SAMPLES_EXT
303 #define GL_RENDERBUFFER_SAMPLES_EXT GL_RENDERBUFFER_SAMPLES
304 #endif
306 #ifndef GL_RENDERBUFFER_BINDING
307 #define GL_RENDERBUFFER_BINDING 0x8CA7
308 #endif
310 #ifndef GL_READ_FRAMEBUFFER_BINDING
311 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
312 #endif
314 #ifndef GL_MAX_SAMPLES
315 #define GL_MAX_SAMPLES 0x8D57
316 #endif
318 #ifndef GL_READ_FRAMEBUFFER_BINDING_EXT
319 #define GL_READ_FRAMEBUFFER_BINDING_EXT GL_READ_FRAMEBUFFER_BINDING
320 #endif
322 #ifndef GL_DRAW_FRAMEBUFFER_BINDING
323 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
324 #endif
326 #ifndef GL_MAX_SAMPLES_EXT
327 #define GL_MAX_SAMPLES_EXT GL_MAX_SAMPLES
328 #endif
330 #ifndef GL_DRAW_FRAMEBUFFER
331 #define GL_DRAW_FRAMEBUFFER 0x8CA9
332 #endif
334 #ifndef GL_READ_FRAMEBUFFER
335 #define GL_READ_FRAMEBUFFER 0x8CA8
336 #endif
338 #ifndef GL_DRAW_FRAMEBUFFER_EXT
339 #define GL_DRAW_FRAMEBUFFER_EXT GL_DRAW_FRAMEBUFFER
340 #endif
342 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
343 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
344 #endif
346 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT
347 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE // NOLINT
348 #endif
350 #ifndef GL_FRAMEBUFFER_BINDING
351 #define GL_FRAMEBUFFER_BINDING 0x8CA6
352 #endif
353 #endif /* GL_CHROMIUM_framebuffer_multisample */
355 /* GL_CHROMIUM_texture_compression_dxt3 */
356 #ifndef GL_CHROMIUM_texture_compression_dxt3
357 #define GL_CHROMIUM_texture_compression_dxt3 1
359 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
360 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
361 #endif
362 #endif /* GL_CHROMIUM_texture_compression_dxt3 */
364 /* GL_CHROMIUM_texture_compression_dxt5 */
365 #ifndef GL_CHROMIUM_texture_compression_dxt5
366 #define GL_CHROMIUM_texture_compression_dxt5 1
368 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
369 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
370 #endif
371 #endif /* GL_CHROMIUM_texture_compression_dxt5 */
373 /* GL_CHROMIUM_async_pixel_transfers */
374 #ifndef GL_CHROMIUM_async_pixel_transfers
375 #define GL_CHROMIUM_async_pixel_transfers 1
377 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM
378 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x6005
379 #endif
380 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM
381 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006
382 #endif
383 #endif /* GL_CHROMIUM_async_pixel_transfers */
385 #ifndef GL_BIND_GENERATES_RESOURCE_CHROMIUM
386 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
387 #endif
389 /* GL_CHROMIUM_copy_texture */
390 #ifndef GL_CHROMIUM_copy_texture
391 #define GL_CHROMIUM_copy_texture 1
393 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
394 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
395 #endif
397 #ifdef GL_GLEXT_PROTOTYPES
398 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
399 GLenum target,
400 GLenum source_id,
401 GLenum dest_id,
402 GLint internalformat,
403 GLenum dest_type,
404 GLboolean unpack_flip_y,
405 GLboolean unpack_premultiply_alpha,
406 GLboolean unpack_unmultiply_alpha);
408 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
409 GLenum target,
410 GLenum source_id,
411 GLenum dest_id,
412 GLint xoffset,
413 GLint yoffset,
414 GLint x,
415 GLint y,
416 GLsizei width,
417 GLsizei height,
418 GLboolean unpack_flip_y,
419 GLboolean unpack_premultiply_alpha,
420 GLboolean unpack_unmultiply_alpha);
421 #endif
422 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
423 GLenum target,
424 GLenum source_id,
425 GLenum dest_id,
426 GLint internalformat,
427 GLenum dest_type,
428 GLboolean unpack_flip_y,
429 GLboolean unpack_premultiply_alpha,
430 GLboolean unpack_unmultiply_alpha);
432 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
433 GLenum target,
434 GLenum source_id,
435 GLenum dest_id,
436 GLint xoffset,
437 GLint yoffset,
438 GLint x,
439 GLint y,
440 GLsizei width,
441 GLsizei height,
442 GLboolean unpack_flip_y,
443 GLboolean unpack_premultiply_alpha,
444 GLboolean unpack_unmultiply_alpha);
445 #endif /* GL_CHROMIUM_copy_texture */
447 /* GL_CHROMIUM_compressed_copy_texture */
448 #ifndef GL_CHROMIUM_compressed_copy_texture
449 #define GL_CHROMIUM_compressed_copy_texture 1
450 #ifdef GL_GLEXT_PROTOTYPES
451 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM(
452 GLenum target, GLenum source_id, GLenum dest_id);
454 GL_APICALL void GL_APIENTRY glCompressedCopySubTextureCHROMIUM(
455 GLenum target,
456 GLenum source_id,
457 GLenum dest_id,
458 GLint xoffset,
459 GLint yoffset,
460 GLint x,
461 GLint y,
462 GLsizei width,
463 GLsizei height);
464 #endif
465 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)(
466 GLenum target, GLenum source_id, GLenum dest_id);
468 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYSUBTEXTURECHROMIUMPROC)(
469 GLenum target,
470 GLenum source_id,
471 GLenum dest_id,
472 GLint xoffset,
473 GLint yoffset,
474 GLint x,
475 GLint y,
476 GLsizei width,
477 GLsizei height);
478 #endif /* GL_CHROMIUM_compressed_copy_texture */
480 /* GL_CHROMIUM_lose_context */
481 #ifndef GL_CHROMIUM_lose_context
482 #define GL_CHROMIUM_lose_context 1
483 #ifdef GL_GLEXT_PROTOTYPES
484 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
485 #endif
486 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (
487 GLenum current, GLenum other);
488 #endif /* GL_CHROMIUM_lose_context */
490 /* GL_ARB_texture_rectangle */
491 #ifndef GL_ARB_texture_rectangle
492 #define GL_ARB_texture_rectangle 1
494 #ifndef GL_SAMPLER_2D_RECT_ARB
495 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
496 #endif
498 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
499 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
500 #endif
502 #ifndef GL_TEXTURE_RECTANGLE_ARB
503 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
504 #endif
505 #endif /* GL_ARB_texture_rectangle */
507 /* GL_CHROMIUM_enable_feature */
508 #ifndef GL_CHROMIUM_enable_feature
509 #define GL_CHROMIUM_enable_feature 1
510 #ifdef GL_GLEXT_PROTOTYPES
511 GL_APICALL GLboolean GL_APIENTRY glEnableFeatureCHROMIUM(const char* feature);
512 #endif
513 typedef GLboolean (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUMPROC) (
514 const char* feature);
515 #endif /* GL_CHROMIUM_enable_feature */
517 /* GL_CHROMIUM_command_buffer_latency_query */
518 #ifndef GL_CHROMIUM_command_buffer_latency_query
519 #define GL_CHROMIUM_command_buffer_latency_query 1
521 #ifndef GL_LATENCY_QUERY_CHROMIUM
522 // TODO(gman): Get official numbers for these constants.
523 #define GL_LATENCY_QUERY_CHROMIUM 0x6007
524 #endif
525 #endif /* GL_CHROMIUM_command_buffer_latency_query */
527 /* GL_ARB_robustness */
528 #ifndef GL_ARB_robustness
529 #define GL_ARB_robustness 1
531 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
532 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
533 #endif
535 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB
536 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
537 #endif
539 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB
540 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
541 #endif
542 #endif /* GL_ARB_robustness */
544 /* GL_EXT_framebuffer_blit */
545 #ifndef GL_EXT_framebuffer_blit
546 #define GL_EXT_framebuffer_blit 1
547 #ifdef GL_GLEXT_PROTOTYPES
548 GL_APICALL void GL_APIENTRY glBlitFramebufferEXT(
549 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
550 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
551 #endif
552 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (
553 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
554 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
555 #endif /* GL_EXT_framebuffer_blit */
557 /* GL_EXT_draw_buffers */
558 #ifndef GL_EXT_draw_buffers
559 #define GL_EXT_draw_buffers 1
561 #ifdef GL_GLEXT_PROTOTYPES
562 GL_APICALL void GL_APIENTRY glDrawBuffersEXT(
563 GLsizei n, const GLenum* bufs);
564 #endif
565 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (
566 GLsizei n, const GLenum* bufs);
568 #ifndef GL_COLOR_ATTACHMENT0_EXT
569 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
570 #endif
571 #ifndef GL_COLOR_ATTACHMENT1_EXT
572 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
573 #endif
574 #ifndef GL_COLOR_ATTACHMENT2_EXT
575 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
576 #endif
577 #ifndef GL_COLOR_ATTACHMENT3_EXT
578 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
579 #endif
580 #ifndef GL_COLOR_ATTACHMENT4_EXT
581 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
582 #endif
583 #ifndef GL_COLOR_ATTACHMENT5_EXT
584 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
585 #endif
586 #ifndef GL_COLOR_ATTACHMENT6_EXT
587 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
588 #endif
589 #ifndef GL_COLOR_ATTACHMENT7_EXT
590 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
591 #endif
592 #ifndef GL_COLOR_ATTACHMENT8_EXT
593 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
594 #endif
595 #ifndef GL_COLOR_ATTACHMENT9_EXT
596 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
597 #endif
598 #ifndef GL_COLOR_ATTACHMENT10_EXT
599 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
600 #endif
601 #ifndef GL_COLOR_ATTACHMENT11_EXT
602 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
603 #endif
604 #ifndef GL_COLOR_ATTACHMENT12_EXT
605 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
606 #endif
607 #ifndef GL_COLOR_ATTACHMENT13_EXT
608 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
609 #endif
610 #ifndef GL_COLOR_ATTACHMENT14_EXT
611 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
612 #endif
613 #ifndef GL_COLOR_ATTACHMENT15_EXT
614 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
615 #endif
617 #ifndef GL_DRAW_BUFFER0_EXT
618 #define GL_DRAW_BUFFER0_EXT 0x8825
619 #endif
620 #ifndef GL_DRAW_BUFFER1_EXT
621 #define GL_DRAW_BUFFER1_EXT 0x8826
622 #endif
623 #ifndef GL_DRAW_BUFFER2_EXT
624 #define GL_DRAW_BUFFER2_EXT 0x8827
625 #endif
626 #ifndef GL_DRAW_BUFFER3_EXT
627 #define GL_DRAW_BUFFER3_EXT 0x8828
628 #endif
629 #ifndef GL_DRAW_BUFFER4_EXT
630 #define GL_DRAW_BUFFER4_EXT 0x8829
631 #endif
632 #ifndef GL_DRAW_BUFFER5_EXT
633 #define GL_DRAW_BUFFER5_EXT 0x882A
634 #endif
635 #ifndef GL_DRAW_BUFFER6_EXT
636 #define GL_DRAW_BUFFER6_EXT 0x882B
637 #endif
638 #ifndef GL_DRAW_BUFFER7_EXT
639 #define GL_DRAW_BUFFER7_EXT 0x882C
640 #endif
641 #ifndef GL_DRAW_BUFFER8_EXT
642 #define GL_DRAW_BUFFER8_EXT 0x882D
643 #endif
644 #ifndef GL_DRAW_BUFFER9_EXT
645 #define GL_DRAW_BUFFER9_EXT 0x882E
646 #endif
647 #ifndef GL_DRAW_BUFFER10_EXT
648 #define GL_DRAW_BUFFER10_EXT 0x882F
649 #endif
650 #ifndef GL_DRAW_BUFFER11_EXT
651 #define GL_DRAW_BUFFER11_EXT 0x8830
652 #endif
653 #ifndef GL_DRAW_BUFFER12_EXT
654 #define GL_DRAW_BUFFER12_EXT 0x8831
655 #endif
656 #ifndef GL_DRAW_BUFFER13_EXT
657 #define GL_DRAW_BUFFER13_EXT 0x8832
658 #endif
659 #ifndef GL_DRAW_BUFFER14_EXT
660 #define GL_DRAW_BUFFER14_EXT 0x8833
661 #endif
662 #ifndef GL_DRAW_BUFFER15_EXT
663 #define GL_DRAW_BUFFER15_EXT 0x8834
664 #endif
666 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
667 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
668 #endif
670 #ifndef GL_MAX_DRAW_BUFFERS_EXT
671 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
672 #endif
674 #endif /* GL_EXT_draw_buffers */
676 /* GL_CHROMIUM_resize */
677 #ifndef GL_CHROMIUM_resize
678 #define GL_CHROMIUM_resize 1
679 #ifdef GL_GLEXT_PROTOTYPES
680 GL_APICALL void GL_APIENTRY glResizeCHROMIUM(
681 GLuint width, GLuint height, GLfloat scale_factor);
682 #endif
683 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) (
684 GLuint width, GLuint height);
685 #endif /* GL_CHROMIUM_resize */
687 /* GL_CHROMIUM_get_multiple */
688 #ifndef GL_CHROMIUM_get_multiple
689 #define GL_CHROMIUM_get_multiple 1
690 #ifdef GL_GLEXT_PROTOTYPES
691 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM(
692 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
693 #endif
694 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUMPROC) (
695 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
696 #endif /* GL_CHROMIUM_get_multiple */
698 /* GL_CHROMIUM_sync_point */
699 #ifndef GL_CHROMIUM_sync_point
700 #define GL_CHROMIUM_sync_point 1
701 #ifdef GL_GLEXT_PROTOTYPES
702 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM();
703 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point);
704 #endif
705 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
706 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
707 #endif /* GL_CHROMIUM_sync_point */
709 #ifndef GL_CHROMIUM_color_buffer_float_rgba
710 #define GL_CHROMIUM_color_buffer_float_rgba 1
711 #ifndef GL_RGBA32F
712 #define GL_RGBA32F 0x8814
713 #endif
714 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
716 #ifndef GL_CHROMIUM_color_buffer_float_rgb
717 #define GL_CHROMIUM_color_buffer_float_rgb 1
718 #ifndef GL_RGB32F
719 #define GL_RGB32F 0x8815
720 #endif
721 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
723 /* GL_CHROMIUM_schedule_overlay_plane */
724 #ifndef GL_CHROMIUM_schedule_overlay_plane
725 #define GL_CHROMIUM_schedule_overlay_plane 1
727 #ifndef GL_OVERLAY_TRANSFORM_NONE_CHROMIUM
728 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
729 #endif
731 #ifndef GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM
732 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
733 #endif
735 #ifndef GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM
736 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
737 #endif
739 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM
740 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
741 #endif
743 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM
744 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
745 #endif
747 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM
748 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
749 #endif
751 /* GL_CHROMIUM_subscribe_uniform */
752 #ifndef GL_CHROMIUM_subscribe_uniform
753 #define GL_CHROMIUM_subscribe_uniform 1
755 #ifndef GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM
756 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B
757 #endif
759 #ifndef GL_MOUSE_POSITION_CHROMIUM
760 #define GL_MOUSE_POSITION_CHROMIUM 0x924C
761 #endif
763 #ifdef GL_GLEXT_PROTOTYPES
764 GL_APICALL void GL_APIENTRY
765 glGenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers);
766 GL_APICALL void GL_APIENTRY
767 glDeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers);
768 GL_APICALL GLboolean GL_APIENTRY glIsValuebufferCHROMIUM(GLuint valuebuffer);
769 GL_APICALL void GL_APIENTRY
770 glBindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer);
771 GL_APICALL void GL_APIENTRY
772 glSubscribeValueCHROMIUM(GLenum target, GLenum subscription);
773 GL_APICALL void GL_APIENTRY glPopulateSubscribedValuesCHROMIUM(GLenum target);
774 GL_APICALL void GL_APIENTRY glUniformValuebufferCHROMIUM(GLint location,
775 GLenum target,
776 GLenum subscription);
777 #endif
778 #endif /* GL_CHROMIUM_subscribe_uniform */
780 #ifdef GL_GLEXT_PROTOTYPES
781 GL_APICALL void GL_APIENTRY
782 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
783 GLenum plane_transform,
784 GLuint overlay_texture_id,
785 GLint bounds_x,
786 GLint bounds_y,
787 GLint bounds_width,
788 GLint bounds_height,
789 GLfloat uv_x,
790 GLfloat uv_y,
791 GLfloat uv_width,
792 GLfloat uv_height);
793 #endif
794 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
795 GLint plane_z_order,
796 GLenum plane_transform,
797 GLuint overlay_texture_id,
798 GLint bounds_x,
799 GLint bounds_y,
800 GLint bounds_width,
801 GLint bounds_height,
802 GLfloat uv_x,
803 GLfloat uv_y,
804 GLfloat uv_width,
805 GLfloat uv_height);
806 #endif /* GL_CHROMIUM_schedule_overlay_plane */
808 /* GL_CHROMIUM_sync_query */
809 #ifndef GL_CHROMIUM_sync_query
810 #define GL_CHROMIUM_sync_query 1
812 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
813 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
814 #endif
815 #endif /* GL_CHROMIUM_sync_query */
817 #ifndef GL_CHROMIUM_path_rendering
818 #define GL_CHROMIUM_path_rendering 1
820 #ifdef GL_GLEXT_PROTOTYPES
821 GL_APICALL void GL_APIENTRY
822 glMatrixLoadfCHROMIUM(GLenum mode, const GLfloat* m);
823 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode);
824 GL_APICALL GLuint GL_APIENTRY glGenPathsCHROMIUM(GLsizei range);
825 GL_APICALL void GL_APIENTRY glDeletePathsCHROMIUM(GLuint path, GLsizei range);
826 GL_APICALL GLboolean GL_APIENTRY glIsPathCHROMIUM(GLuint path);
827 GL_APICALL void GL_APIENTRY glPathCommandsCHROMIUM(GLuint path,
828 GLsizei numCommands,
829 const GLubyte* commands,
830 GLsizei numCoords,
831 GLenum coordType,
832 const void* coords);
833 GL_APICALL void GL_APIENTRY
834 glPathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value);
835 GL_APICALL void GL_APIENTRY
836 glPathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value);
837 GL_APICALL void GL_APIENTRY
838 glPathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask);
839 GL_APICALL void GL_APIENTRY
840 glStencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask);
841 GL_APICALL void GL_APIENTRY
842 glStencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask);
843 GL_APICALL void GL_APIENTRY
844 glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode);
845 GL_APICALL void GL_APIENTRY
846 glCoverStrokePathCHROMIUM(GLuint name, GLenum coverMode);
847 GL_APICALL void GL_APIENTRY
848 glStencilThenCoverFillPathCHROMIUM(GLuint path,
849 GLenum fillMode,
850 GLuint mask,
851 GLenum coverMode);
852 GL_APICALL void GL_APIENTRY
853 glStencilThenCoverStrokePathCHROMIUM(GLuint path,
854 GLint reference,
855 GLuint mask,
856 GLenum coverMode);
858 #endif
860 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode,
861 const GLfloat* m);
862 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
863 GLenum matrixMode);
864 typedef GLuint(GL_APIENTRYP* PFNGLGENPATHSCHROMIUMPROC)(GLsizei range);
865 typedef void(GL_APIENTRYP* PFNGLDELETEPATHSCHROMIUMPROC)(GLuint path,
866 GLsizei range);
867 typedef GLboolean(GL_APIENTRYP* PFNGLISPATHCHROMIUMPROC)(GLuint path);
868 typedef void(GL_APIENTRYP* PFNGLPATHCOMMANDSCHROMIUMPROC)(
869 GLuint path,
870 GLsizei numCommands,
871 const GLubyte* commands,
872 GLsizei numCoords,
873 GLenum coordType,
874 const GLvoid* coords);
875 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERICHROMIUMPROC)(GLuint path,
876 GLenum pname,
877 GLint value);
878 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERFCHROMIUMPROC)(GLuint path,
879 GLenum pname,
880 GLfloat value);
881 typedef void(GL_APIENTRYP* PFNGLPATHSTENCILFUNCCHROMIUMPROC)(GLenum func,
882 GLint ref,
883 GLuint mask);
884 typedef void(GL_APIENTRYP* PFNGLSTENCILFILLPATHCHROMIUMPROC)(GLuint path,
885 GLenum fillMode,
886 GLuint mask);
887 typedef void(GL_APIENTRYP* PFNGLSTENCILSTROKEPATHCHROMIUMPROC)(GLuint path,
888 GLint reference,
889 GLuint mask);
890 typedef void(GL_APIENTRYP* PFNGLCOVERFILLPATHCHROMIUMPROC)(GLuint path,
891 GLenum coverMode);
892 typedef void(GL_APIENTRYP* PFNGLCOVERSTROKEPATHCHROMIUMPROC)(GLuint name,
893 GLenum coverMode);
895 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERFILLPATHCHROMIUMPROC)(
896 GLuint path,
897 GLenum fillMode,
898 GLuint mask,
899 GLenum coverMode);
900 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERSTROKEPATHCHROMIUMPROC)(
901 GLuint path,
902 GLint reference,
903 GLuint mask,
904 GLenum coverMode);
906 #ifndef GL_CLOSE_PATH_CHROMIUM
907 #define GL_CLOSE_PATH_CHROMIUM 0x00
908 #endif
909 #ifndef GL_MOVE_TO_CHROMIUM
910 #define GL_MOVE_TO_CHROMIUM 0x02
911 #endif
912 #ifndef GL_LINE_TO_CHROMIUM
913 #define GL_LINE_TO_CHROMIUM 0x04
914 #endif
915 #ifndef GL_QUADRATIC_CURVE_TO_CHROMIUM
916 #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0x0A
917 #endif
918 #ifndef GL_CUBIC_CURVE_TO_CHROMIUM
919 #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
920 #endif
921 #ifndef GL_CONIC_CURVE_TO_CHROMIUM
922 #define GL_CONIC_CURVE_TO_CHROMIUM 0x1A
923 #endif
924 #ifndef GL_PATH_MODELVIEW_MATRIX_CHROMIUM
925 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
926 #endif
927 #ifndef GL_PATH_PROJECTION_MATRIX_CHROMIUM
928 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
929 #endif
930 #ifndef GL_PATH_MODELVIEW_CHROMIUM
931 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
932 #endif
933 #ifndef GL_PATH_PROJECTION_CHROMIUM
934 #define GL_PATH_PROJECTION_CHROMIUM 0x1701
935 #endif
936 #ifndef GL_FLAT_CHROMIUM
937 #define GL_FLAT_CHROMIUM 0x1D00
938 #endif
939 #ifndef GL_PATH_STROKE_WIDTH_CHROMIUM
940 #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
941 #endif
942 #ifndef GL_PATH_END_CAPS_CHROMIUM
943 #define GL_PATH_END_CAPS_CHROMIUM 0x9076
944 #endif
945 #ifndef GL_PATH_JOIN_STYLE_CHROMIUM
946 #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
947 #endif
948 #ifndef GL_PATH_MITER_LIMIT_CHROMIUM
949 #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
950 #endif
951 #ifndef GL_PATH_STROKE_BOUND_CHROMIUM
952 #define GL_PATH_STROKE_BOUND_CHROMIUM 0x9086
953 #endif
954 #ifndef GL_COUNT_UP_CHROMIUM
955 #define GL_COUNT_UP_CHROMIUM 0x9088
956 #endif
957 #ifndef GL_COUNT_DOWN_CHROMIUM
958 #define GL_COUNT_DOWN_CHROMIUM 0x9089
959 #endif
960 #ifndef GL_CONVEX_HULL_CHROMIUM
961 #define GL_CONVEX_HULL_CHROMIUM 0x908B
962 #endif
963 #ifndef GL_BOUNDING_BOX_CHROMIUM
964 #define GL_BOUNDING_BOX_CHROMIUM 0x908D
965 #endif
966 #ifndef GL_SQUARE_CHROMIUM
967 #define GL_SQUARE_CHROMIUM 0x90a3
968 #endif
969 #ifndef GL_ROUND_CHROMIUM
970 #define GL_ROUND_CHROMIUM 0x90a4
971 #endif
972 #ifndef GL_ROUND_CHROMIUM
973 #define GL_ROUND_CHROMIUM 0x90A4
974 #endif
975 #ifndef GL_BEVEL_CHROMIUM
976 #define GL_BEVEL_CHROMIUM 0x90A6
977 #endif
978 #ifndef GL_MITER_REVERT_CHROMIUM
979 #define GL_MITER_REVERT_CHROMIUM 0x90A7
980 #endif
981 #ifndef GL_PATH_STENCIL_FUNC_CHROMIUM
982 #define GL_PATH_STENCIL_FUNC_CHROMIUM 0x90B7
983 #endif
984 #ifndef GL_PATH_STENCIL_REF_CHROMIUM
985 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8
986 #endif
987 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM
988 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
989 #endif
991 #endif /* GL_CHROMIUM_path_rendering */
993 #ifdef __cplusplus
995 #endif
997 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_