Have GPUTracer process traces during CommandBuffer Idle time.
[chromium-blink-merge.git] / gpu / GLES2 / gl2extchromium.h
blob584d29a267d96737a951a9d45682eb61bd6da913
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 #ifdef GL_GLEXT_PROTOTYPES
144 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
145 GLsizei width,
146 GLsizei height,
147 GLenum internalformat,
148 GLenum usage);
149 #endif
150 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
151 GLsizei width,
152 GLsizei height,
153 GLenum internalformat,
154 GLenum usage);
155 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */
157 /* GL_CHROMIUM_map_sub */
158 #ifndef GL_CHROMIUM_map_sub
159 #define GL_CHROMIUM_map_sub 1
161 #ifndef GL_READ_ONLY
162 #define GL_READ_ONLY 0x88B8
163 #endif
165 #ifndef GL_WRITE_ONLY
166 #define GL_WRITE_ONLY 0x88B9
167 #endif
168 #ifdef GL_GLEXT_PROTOTYPES
169 GL_APICALL void* GL_APIENTRY glMapBufferSubDataCHROMIUM(
170 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access);
171 GL_APICALL void GL_APIENTRY glUnmapBufferSubDataCHROMIUM(const void* mem);
172 GL_APICALL void* GL_APIENTRY glMapTexSubImage2DCHROMIUM(
173 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
174 GLsizei height, GLenum format, GLenum type, GLenum access);
175 GL_APICALL void GL_APIENTRY glUnmapTexSubImage2DCHROMIUM(const void* mem);
176 #endif
177 typedef void* (GL_APIENTRYP PFNGLMAPBUFFERSUBDATACHROMIUMPROC) (
178 GLuint target, GLintptr offset, GLsizeiptr size, GLenum access);
179 typedef void (
180 GL_APIENTRYP PFNGLUNMAPBUFFERSUBDATACHROMIUMPROC) (const void* mem);
181 typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUMPROC) (
182 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
183 GLsizei height, GLenum format, GLenum type, GLenum access);
184 typedef void (
185 GL_APIENTRYP PFNGLUNMAPTEXSUBIMAGE2DCHROMIUMPROC) (const void* mem);
186 #endif /* GL_CHROMIUM_map_sub */
188 /* GL_CHROMIUM_request_extension */
189 #ifndef GL_CHROMIUM_request_extension
190 #define GL_CHROMIUM_request_extension 1
191 #ifdef GL_GLEXT_PROTOTYPES
192 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM();
193 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM(const char* extension);
194 #endif
195 typedef const GLchar* (GL_APIENTRYP PFNGLGETREQUESTABLEEXTENSIONSCHROMIUMPROC) (
197 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUMPROC) (
198 const char* extension);
199 #endif /* GL_CHROMIUM_request_extension */
201 /* GL_CHROMIUM_get_error_query */
202 #ifndef GL_CHROMIUM_get_error_query
203 #define GL_CHROMIUM_get_error_query 1
205 #ifndef GL_GET_ERROR_QUERY_CHROMIUM
206 // TODO(gman): Get official numbers for this constants.
207 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003
208 #endif
209 #endif /* GL_CHROMIUM_get_error_query */
211 /* GL_CHROMIUM_texture_from_image */
212 #ifndef GL_CHROMIUM_texture_from_image
213 #define GL_CHROMIUM_texture_from_image 1
214 #ifdef GL_GLEXT_PROTOTYPES
215 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM(
216 GLenum target, GLint imageId);
217 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM(
218 GLenum target, GLint imageId);
219 #endif
220 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) (
221 GLenum target, GLint imageId);
222 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) (
223 GLenum target, GLint imageId);
224 #endif /* GL_CHROMIUM_texture_from_image */
226 /* GL_CHROMIUM_rate_limit_offscreen_context */
227 #ifndef GL_CHROMIUM_rate_limit_offscreen_context
228 #define GL_CHROMIUM_rate_limit_offscreen_context 1
229 #ifdef GL_GLEXT_PROTOTYPES
230 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM();
231 #endif
232 typedef void (GL_APIENTRYP PFNGLRATELIMITOFFSCREENCONTEXTCHROMIUMPROC) ();
233 #endif /* GL_CHROMIUM_rate_limit_offscreen_context */
235 /* GL_CHROMIUM_post_sub_buffer */
236 #ifndef GL_CHROMIUM_post_sub_buffer
237 #define GL_CHROMIUM_post_sub_buffer 1
238 #ifdef GL_GLEXT_PROTOTYPES
239 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM(
240 GLint x, GLint y, GLint width, GLint height);
241 #endif
242 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUMPROC) (
243 GLint x, GLint y, GLint width, GLint height);
244 #endif /* GL_CHROMIUM_post_sub_buffer */
246 /* GL_CHROMIUM_bind_uniform_location */
247 #ifndef GL_CHROMIUM_bind_uniform_location
248 #define GL_CHROMIUM_bind_uniform_location 1
249 #ifdef GL_GLEXT_PROTOTYPES
250 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM(
251 GLuint program, GLint location, const char* name);
252 #endif
253 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC) (
254 GLuint program, GLint location, const char* name);
255 #endif /* GL_CHROMIUM_bind_uniform_location */
257 /* GL_CHROMIUM_command_buffer_query */
258 #ifndef GL_CHROMIUM_command_buffer_query
259 #define GL_CHROMIUM_command_buffer_query 1
261 #ifndef GL_COMMANDS_ISSUED_CHROMIUM
262 // TODO(gman): Get official numbers for this constants.
263 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004
264 #endif
265 #endif /* GL_CHROMIUM_command_buffer_query */
267 /* GL_CHROMIUM_framebuffer_multisample */
268 #ifndef GL_CHROMIUM_framebuffer_multisample
269 #define GL_CHROMIUM_framebuffer_multisample 1
271 #ifdef GL_GLEXT_PROTOTYPES
272 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleCHROMIUM (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
273 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);
274 #endif
275 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECHROMIUMPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
276 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);
278 #ifndef GL_FRAMEBUFFER_BINDING_EXT
279 #define GL_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING
280 #endif
282 #ifndef GL_DRAW_FRAMEBUFFER_BINDING_EXT
283 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_DRAW_FRAMEBUFFER_BINDING
284 #endif
286 #ifndef GL_RENDERBUFFER_BINDING_EXT
287 #define GL_RENDERBUFFER_BINDING_EXT GL_RENDERBUFFER_BINDING
288 #endif
290 #ifndef GL_RENDERBUFFER_SAMPLES
291 #define GL_RENDERBUFFER_SAMPLES 0x8CAB
292 #endif
294 #ifndef GL_READ_FRAMEBUFFER_EXT
295 #define GL_READ_FRAMEBUFFER_EXT GL_READ_FRAMEBUFFER
296 #endif
298 #ifndef GL_RENDERBUFFER_SAMPLES_EXT
299 #define GL_RENDERBUFFER_SAMPLES_EXT GL_RENDERBUFFER_SAMPLES
300 #endif
302 #ifndef GL_RENDERBUFFER_BINDING
303 #define GL_RENDERBUFFER_BINDING 0x8CA7
304 #endif
306 #ifndef GL_READ_FRAMEBUFFER_BINDING
307 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
308 #endif
310 #ifndef GL_MAX_SAMPLES
311 #define GL_MAX_SAMPLES 0x8D57
312 #endif
314 #ifndef GL_READ_FRAMEBUFFER_BINDING_EXT
315 #define GL_READ_FRAMEBUFFER_BINDING_EXT GL_READ_FRAMEBUFFER_BINDING
316 #endif
318 #ifndef GL_DRAW_FRAMEBUFFER_BINDING
319 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
320 #endif
322 #ifndef GL_MAX_SAMPLES_EXT
323 #define GL_MAX_SAMPLES_EXT GL_MAX_SAMPLES
324 #endif
326 #ifndef GL_DRAW_FRAMEBUFFER
327 #define GL_DRAW_FRAMEBUFFER 0x8CA9
328 #endif
330 #ifndef GL_READ_FRAMEBUFFER
331 #define GL_READ_FRAMEBUFFER 0x8CA8
332 #endif
334 #ifndef GL_DRAW_FRAMEBUFFER_EXT
335 #define GL_DRAW_FRAMEBUFFER_EXT GL_DRAW_FRAMEBUFFER
336 #endif
338 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
339 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
340 #endif
342 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT
343 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE // NOLINT
344 #endif
346 #ifndef GL_FRAMEBUFFER_BINDING
347 #define GL_FRAMEBUFFER_BINDING 0x8CA6
348 #endif
349 #endif /* GL_CHROMIUM_framebuffer_multisample */
351 /* GL_CHROMIUM_texture_compression_dxt3 */
352 #ifndef GL_CHROMIUM_texture_compression_dxt3
353 #define GL_CHROMIUM_texture_compression_dxt3 1
355 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
356 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
357 #endif
358 #endif /* GL_CHROMIUM_texture_compression_dxt3 */
360 /* GL_CHROMIUM_texture_compression_dxt5 */
361 #ifndef GL_CHROMIUM_texture_compression_dxt5
362 #define GL_CHROMIUM_texture_compression_dxt5 1
364 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
365 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
366 #endif
367 #endif /* GL_CHROMIUM_texture_compression_dxt5 */
369 /* GL_CHROMIUM_async_pixel_transfers */
370 #ifndef GL_CHROMIUM_async_pixel_transfers
371 #define GL_CHROMIUM_async_pixel_transfers 1
373 #ifndef GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM
374 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x6005
375 #endif
376 #ifndef GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM
377 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006
378 #endif
379 #endif /* GL_CHROMIUM_async_pixel_transfers */
381 #ifndef GL_BIND_GENERATES_RESOURCE_CHROMIUM
382 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
383 #endif
385 /* GL_CHROMIUM_copy_texture */
386 #ifndef GL_CHROMIUM_copy_texture
387 #define GL_CHROMIUM_copy_texture 1
389 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
390 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
391 #endif
393 #ifdef GL_GLEXT_PROTOTYPES
394 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
395 GLenum target,
396 GLenum source_id,
397 GLenum dest_id,
398 GLint internalformat,
399 GLenum dest_type,
400 GLboolean unpack_flip_y,
401 GLboolean unpack_premultiply_alpha,
402 GLboolean unpack_unmultiply_alpha);
404 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
405 GLenum target,
406 GLenum source_id,
407 GLenum dest_id,
408 GLint xoffset,
409 GLint yoffset,
410 GLint x,
411 GLint y,
412 GLsizei width,
413 GLsizei height,
414 GLboolean unpack_flip_y,
415 GLboolean unpack_premultiply_alpha,
416 GLboolean unpack_unmultiply_alpha);
417 #endif
418 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
419 GLenum target,
420 GLenum source_id,
421 GLenum dest_id,
422 GLint internalformat,
423 GLenum dest_type,
424 GLboolean unpack_flip_y,
425 GLboolean unpack_premultiply_alpha,
426 GLboolean unpack_unmultiply_alpha);
428 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
429 GLenum target,
430 GLenum source_id,
431 GLenum dest_id,
432 GLint xoffset,
433 GLint yoffset,
434 GLint x,
435 GLint y,
436 GLsizei width,
437 GLsizei height,
438 GLboolean unpack_flip_y,
439 GLboolean unpack_premultiply_alpha,
440 GLboolean unpack_unmultiply_alpha);
441 #endif /* GL_CHROMIUM_copy_texture */
443 /* GL_CHROMIUM_compressed_copy_texture */
444 #ifndef GL_CHROMIUM_compressed_copy_texture
445 #define GL_CHROMIUM_compressed_copy_texture 1
446 #ifdef GL_GLEXT_PROTOTYPES
447 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM(
448 GLenum target, GLenum source_id, GLenum dest_id);
450 GL_APICALL void GL_APIENTRY glCompressedCopySubTextureCHROMIUM(
451 GLenum target,
452 GLenum source_id,
453 GLenum dest_id,
454 GLint xoffset,
455 GLint yoffset,
456 GLint x,
457 GLint y,
458 GLsizei width,
459 GLsizei height);
460 #endif
461 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)(
462 GLenum target, GLenum source_id, GLenum dest_id);
464 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYSUBTEXTURECHROMIUMPROC)(
465 GLenum target,
466 GLenum source_id,
467 GLenum dest_id,
468 GLint xoffset,
469 GLint yoffset,
470 GLint x,
471 GLint y,
472 GLsizei width,
473 GLsizei height);
474 #endif /* GL_CHROMIUM_compressed_copy_texture */
476 /* GL_CHROMIUM_lose_context */
477 #ifndef GL_CHROMIUM_lose_context
478 #define GL_CHROMIUM_lose_context 1
479 #ifdef GL_GLEXT_PROTOTYPES
480 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
481 #endif
482 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (
483 GLenum current, GLenum other);
484 #endif /* GL_CHROMIUM_lose_context */
486 /* GL_ARB_texture_rectangle */
487 #ifndef GL_ARB_texture_rectangle
488 #define GL_ARB_texture_rectangle 1
490 #ifndef GL_SAMPLER_2D_RECT_ARB
491 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
492 #endif
494 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
495 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
496 #endif
498 #ifndef GL_TEXTURE_RECTANGLE_ARB
499 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
500 #endif
501 #endif /* GL_ARB_texture_rectangle */
503 /* GL_CHROMIUM_enable_feature */
504 #ifndef GL_CHROMIUM_enable_feature
505 #define GL_CHROMIUM_enable_feature 1
506 #ifdef GL_GLEXT_PROTOTYPES
507 GL_APICALL GLboolean GL_APIENTRY glEnableFeatureCHROMIUM(const char* feature);
508 #endif
509 typedef GLboolean (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUMPROC) (
510 const char* feature);
511 #endif /* GL_CHROMIUM_enable_feature */
513 /* GL_CHROMIUM_command_buffer_latency_query */
514 #ifndef GL_CHROMIUM_command_buffer_latency_query
515 #define GL_CHROMIUM_command_buffer_latency_query 1
517 #ifndef GL_LATENCY_QUERY_CHROMIUM
518 // TODO(gman): Get official numbers for these constants.
519 #define GL_LATENCY_QUERY_CHROMIUM 0x6007
520 #endif
521 #endif /* GL_CHROMIUM_command_buffer_latency_query */
523 /* GL_ARB_robustness */
524 #ifndef GL_ARB_robustness
525 #define GL_ARB_robustness 1
527 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
528 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
529 #endif
531 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB
532 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
533 #endif
535 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB
536 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
537 #endif
538 #endif /* GL_ARB_robustness */
540 /* GL_EXT_framebuffer_blit */
541 #ifndef GL_EXT_framebuffer_blit
542 #define GL_EXT_framebuffer_blit 1
543 #ifdef GL_GLEXT_PROTOTYPES
544 GL_APICALL void GL_APIENTRY glBlitFramebufferEXT(
545 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
546 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
547 #endif
548 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (
549 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
550 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
551 #endif /* GL_EXT_framebuffer_blit */
553 /* GL_EXT_draw_buffers */
554 #ifndef GL_EXT_draw_buffers
555 #define GL_EXT_draw_buffers 1
557 #ifdef GL_GLEXT_PROTOTYPES
558 GL_APICALL void GL_APIENTRY glDrawBuffersEXT(
559 GLsizei n, const GLenum* bufs);
560 #endif
561 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (
562 GLsizei n, const GLenum* bufs);
564 #ifndef GL_COLOR_ATTACHMENT0_EXT
565 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
566 #endif
567 #ifndef GL_COLOR_ATTACHMENT1_EXT
568 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
569 #endif
570 #ifndef GL_COLOR_ATTACHMENT2_EXT
571 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
572 #endif
573 #ifndef GL_COLOR_ATTACHMENT3_EXT
574 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
575 #endif
576 #ifndef GL_COLOR_ATTACHMENT4_EXT
577 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
578 #endif
579 #ifndef GL_COLOR_ATTACHMENT5_EXT
580 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
581 #endif
582 #ifndef GL_COLOR_ATTACHMENT6_EXT
583 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
584 #endif
585 #ifndef GL_COLOR_ATTACHMENT7_EXT
586 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
587 #endif
588 #ifndef GL_COLOR_ATTACHMENT8_EXT
589 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
590 #endif
591 #ifndef GL_COLOR_ATTACHMENT9_EXT
592 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
593 #endif
594 #ifndef GL_COLOR_ATTACHMENT10_EXT
595 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
596 #endif
597 #ifndef GL_COLOR_ATTACHMENT11_EXT
598 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
599 #endif
600 #ifndef GL_COLOR_ATTACHMENT12_EXT
601 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
602 #endif
603 #ifndef GL_COLOR_ATTACHMENT13_EXT
604 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
605 #endif
606 #ifndef GL_COLOR_ATTACHMENT14_EXT
607 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
608 #endif
609 #ifndef GL_COLOR_ATTACHMENT15_EXT
610 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
611 #endif
613 #ifndef GL_DRAW_BUFFER0_EXT
614 #define GL_DRAW_BUFFER0_EXT 0x8825
615 #endif
616 #ifndef GL_DRAW_BUFFER1_EXT
617 #define GL_DRAW_BUFFER1_EXT 0x8826
618 #endif
619 #ifndef GL_DRAW_BUFFER2_EXT
620 #define GL_DRAW_BUFFER2_EXT 0x8827
621 #endif
622 #ifndef GL_DRAW_BUFFER3_EXT
623 #define GL_DRAW_BUFFER3_EXT 0x8828
624 #endif
625 #ifndef GL_DRAW_BUFFER4_EXT
626 #define GL_DRAW_BUFFER4_EXT 0x8829
627 #endif
628 #ifndef GL_DRAW_BUFFER5_EXT
629 #define GL_DRAW_BUFFER5_EXT 0x882A
630 #endif
631 #ifndef GL_DRAW_BUFFER6_EXT
632 #define GL_DRAW_BUFFER6_EXT 0x882B
633 #endif
634 #ifndef GL_DRAW_BUFFER7_EXT
635 #define GL_DRAW_BUFFER7_EXT 0x882C
636 #endif
637 #ifndef GL_DRAW_BUFFER8_EXT
638 #define GL_DRAW_BUFFER8_EXT 0x882D
639 #endif
640 #ifndef GL_DRAW_BUFFER9_EXT
641 #define GL_DRAW_BUFFER9_EXT 0x882E
642 #endif
643 #ifndef GL_DRAW_BUFFER10_EXT
644 #define GL_DRAW_BUFFER10_EXT 0x882F
645 #endif
646 #ifndef GL_DRAW_BUFFER11_EXT
647 #define GL_DRAW_BUFFER11_EXT 0x8830
648 #endif
649 #ifndef GL_DRAW_BUFFER12_EXT
650 #define GL_DRAW_BUFFER12_EXT 0x8831
651 #endif
652 #ifndef GL_DRAW_BUFFER13_EXT
653 #define GL_DRAW_BUFFER13_EXT 0x8832
654 #endif
655 #ifndef GL_DRAW_BUFFER14_EXT
656 #define GL_DRAW_BUFFER14_EXT 0x8833
657 #endif
658 #ifndef GL_DRAW_BUFFER15_EXT
659 #define GL_DRAW_BUFFER15_EXT 0x8834
660 #endif
662 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
663 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
664 #endif
666 #ifndef GL_MAX_DRAW_BUFFERS_EXT
667 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
668 #endif
670 #endif /* GL_EXT_draw_buffers */
672 /* GL_CHROMIUM_resize */
673 #ifndef GL_CHROMIUM_resize
674 #define GL_CHROMIUM_resize 1
675 #ifdef GL_GLEXT_PROTOTYPES
676 GL_APICALL void GL_APIENTRY glResizeCHROMIUM(
677 GLuint width, GLuint height, GLfloat scale_factor);
678 #endif
679 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) (
680 GLuint width, GLuint height);
681 #endif /* GL_CHROMIUM_resize */
683 /* GL_CHROMIUM_get_multiple */
684 #ifndef GL_CHROMIUM_get_multiple
685 #define GL_CHROMIUM_get_multiple 1
686 #ifdef GL_GLEXT_PROTOTYPES
687 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM(
688 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
689 #endif
690 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUMPROC) (
691 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
692 #endif /* GL_CHROMIUM_get_multiple */
694 /* GL_CHROMIUM_sync_point */
695 #ifndef GL_CHROMIUM_sync_point
696 #define GL_CHROMIUM_sync_point 1
697 #ifdef GL_GLEXT_PROTOTYPES
698 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM();
699 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point);
700 #endif
701 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
702 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
703 #endif /* GL_CHROMIUM_sync_point */
705 #ifndef GL_CHROMIUM_color_buffer_float_rgba
706 #define GL_CHROMIUM_color_buffer_float_rgba 1
707 #ifndef GL_RGBA32F
708 #define GL_RGBA32F 0x8814
709 #endif
710 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
712 #ifndef GL_CHROMIUM_color_buffer_float_rgb
713 #define GL_CHROMIUM_color_buffer_float_rgb 1
714 #ifndef GL_RGB32F
715 #define GL_RGB32F 0x8815
716 #endif
717 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
719 /* GL_CHROMIUM_schedule_overlay_plane */
720 #ifndef GL_CHROMIUM_schedule_overlay_plane
721 #define GL_CHROMIUM_schedule_overlay_plane 1
723 #ifndef GL_OVERLAY_TRANSFORM_NONE_CHROMIUM
724 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
725 #endif
727 #ifndef GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM
728 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
729 #endif
731 #ifndef GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM
732 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
733 #endif
735 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM
736 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
737 #endif
739 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM
740 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
741 #endif
743 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM
744 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
745 #endif
747 /* GL_CHROMIUM_subscribe_uniform */
748 #ifndef GL_CHROMIUM_subscribe_uniform
749 #define GL_CHROMIUM_subscribe_uniform 1
751 #ifndef GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM
752 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B
753 #endif
755 #ifndef GL_MOUSE_POSITION_CHROMIUM
756 #define GL_MOUSE_POSITION_CHROMIUM 0x924C
757 #endif
759 #ifdef GL_GLEXT_PROTOTYPES
760 GL_APICALL void GL_APIENTRY
761 glGenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers);
762 GL_APICALL void GL_APIENTRY
763 glDeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers);
764 GL_APICALL GLboolean GL_APIENTRY glIsValuebufferCHROMIUM(GLuint valuebuffer);
765 GL_APICALL void GL_APIENTRY
766 glBindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer);
767 GL_APICALL void GL_APIENTRY
768 glSubscribeValueCHROMIUM(GLenum target, GLenum subscription);
769 GL_APICALL void GL_APIENTRY glPopulateSubscribedValuesCHROMIUM(GLenum target);
770 GL_APICALL void GL_APIENTRY glUniformValuebufferCHROMIUM(GLint location,
771 GLenum target,
772 GLenum subscription);
773 #endif
774 #endif /* GL_CHROMIUM_subscribe_uniform */
776 #ifdef GL_GLEXT_PROTOTYPES
777 GL_APICALL void GL_APIENTRY
778 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
779 GLenum plane_transform,
780 GLuint overlay_texture_id,
781 GLint bounds_x,
782 GLint bounds_y,
783 GLint bounds_width,
784 GLint bounds_height,
785 GLfloat uv_x,
786 GLfloat uv_y,
787 GLfloat uv_width,
788 GLfloat uv_height);
789 #endif
790 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
791 GLint plane_z_order,
792 GLenum plane_transform,
793 GLuint overlay_texture_id,
794 GLint bounds_x,
795 GLint bounds_y,
796 GLint bounds_width,
797 GLint bounds_height,
798 GLfloat uv_x,
799 GLfloat uv_y,
800 GLfloat uv_width,
801 GLfloat uv_height);
802 #endif /* GL_CHROMIUM_schedule_overlay_plane */
804 /* GL_CHROMIUM_sync_query */
805 #ifndef GL_CHROMIUM_sync_query
806 #define GL_CHROMIUM_sync_query 1
808 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
809 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
810 #endif
811 #endif /* GL_CHROMIUM_sync_query */
813 #ifndef GL_CHROMIUM_path_rendering
814 #define GL_CHROMIUM_path_rendering 1
816 #ifdef GL_GLEXT_PROTOTYPES
817 GL_APICALL void GL_APIENTRY
818 glMatrixLoadfCHROMIUM(GLenum mode, const GLfloat* m);
819 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode);
820 GL_APICALL GLuint GL_APIENTRY glGenPathsCHROMIUM(GLsizei range);
821 GL_APICALL void GL_APIENTRY glDeletePathsCHROMIUM(GLuint path, GLsizei range);
822 GL_APICALL GLboolean GL_APIENTRY glIsPathCHROMIUM(GLuint path);
823 GL_APICALL void GL_APIENTRY glPathCommandsCHROMIUM(GLuint path,
824 GLsizei numCommands,
825 const GLubyte* commands,
826 GLsizei numCoords,
827 GLenum coordType,
828 const void* coords);
829 GL_APICALL void GL_APIENTRY
830 glPathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value);
831 GL_APICALL void GL_APIENTRY
832 glPathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value);
833 GL_APICALL void GL_APIENTRY
834 glPathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask);
835 GL_APICALL void GL_APIENTRY
836 glStencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask);
837 GL_APICALL void GL_APIENTRY
838 glStencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask);
839 GL_APICALL void GL_APIENTRY
840 glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode);
841 GL_APICALL void GL_APIENTRY
842 glCoverStrokePathCHROMIUM(GLuint name, GLenum coverMode);
843 GL_APICALL void GL_APIENTRY
844 glStencilThenCoverFillPathCHROMIUM(GLuint path,
845 GLenum fillMode,
846 GLuint mask,
847 GLenum coverMode);
848 GL_APICALL void GL_APIENTRY
849 glStencilThenCoverStrokePathCHROMIUM(GLuint path,
850 GLint reference,
851 GLuint mask,
852 GLenum coverMode);
854 #endif
856 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode,
857 const GLfloat* m);
858 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
859 GLenum matrixMode);
860 typedef GLuint(GL_APIENTRYP* PFNGLGENPATHSCHROMIUMPROC)(GLsizei range);
861 typedef void(GL_APIENTRYP* PFNGLDELETEPATHSCHROMIUMPROC)(GLuint path,
862 GLsizei range);
863 typedef GLboolean(GL_APIENTRYP* PFNGLISPATHCHROMIUMPROC)(GLuint path);
864 typedef void(GL_APIENTRYP* PFNGLPATHCOMMANDSCHROMIUMPROC)(
865 GLuint path,
866 GLsizei numCommands,
867 const GLubyte* commands,
868 GLsizei numCoords,
869 GLenum coordType,
870 const GLvoid* coords);
871 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERICHROMIUMPROC)(GLuint path,
872 GLenum pname,
873 GLint value);
874 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERFCHROMIUMPROC)(GLuint path,
875 GLenum pname,
876 GLfloat value);
877 typedef void(GL_APIENTRYP* PFNGLPATHSTENCILFUNCCHROMIUMPROC)(GLenum func,
878 GLint ref,
879 GLuint mask);
880 typedef void(GL_APIENTRYP* PFNGLSTENCILFILLPATHCHROMIUMPROC)(GLuint path,
881 GLenum fillMode,
882 GLuint mask);
883 typedef void(GL_APIENTRYP* PFNGLSTENCILSTROKEPATHCHROMIUMPROC)(GLuint path,
884 GLint reference,
885 GLuint mask);
886 typedef void(GL_APIENTRYP* PFNGLCOVERFILLPATHCHROMIUMPROC)(GLuint path,
887 GLenum coverMode);
888 typedef void(GL_APIENTRYP* PFNGLCOVERSTROKEPATHCHROMIUMPROC)(GLuint name,
889 GLenum coverMode);
891 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERFILLPATHCHROMIUMPROC)(
892 GLuint path,
893 GLenum fillMode,
894 GLuint mask,
895 GLenum coverMode);
896 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERSTROKEPATHCHROMIUMPROC)(
897 GLuint path,
898 GLint reference,
899 GLuint mask,
900 GLenum coverMode);
902 #ifndef GL_CLOSE_PATH_CHROMIUM
903 #define GL_CLOSE_PATH_CHROMIUM 0x00
904 #endif
905 #ifndef GL_MOVE_TO_CHROMIUM
906 #define GL_MOVE_TO_CHROMIUM 0x02
907 #endif
908 #ifndef GL_LINE_TO_CHROMIUM
909 #define GL_LINE_TO_CHROMIUM 0x04
910 #endif
911 #ifndef GL_QUADRATIC_CURVE_TO_CHROMIUM
912 #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0x0A
913 #endif
914 #ifndef GL_CUBIC_CURVE_TO_CHROMIUM
915 #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
916 #endif
917 #ifndef GL_CONIC_CURVE_TO_CHROMIUM
918 #define GL_CONIC_CURVE_TO_CHROMIUM 0x1A
919 #endif
920 #ifndef GL_PATH_MODELVIEW_MATRIX_CHROMIUM
921 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
922 #endif
923 #ifndef GL_PATH_PROJECTION_MATRIX_CHROMIUM
924 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
925 #endif
926 #ifndef GL_PATH_MODELVIEW_CHROMIUM
927 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
928 #endif
929 #ifndef GL_PATH_PROJECTION_CHROMIUM
930 #define GL_PATH_PROJECTION_CHROMIUM 0x1701
931 #endif
932 #ifndef GL_FLAT_CHROMIUM
933 #define GL_FLAT_CHROMIUM 0x1D00
934 #endif
935 #ifndef GL_PATH_STROKE_WIDTH_CHROMIUM
936 #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
937 #endif
938 #ifndef GL_PATH_END_CAPS_CHROMIUM
939 #define GL_PATH_END_CAPS_CHROMIUM 0x9076
940 #endif
941 #ifndef GL_PATH_JOIN_STYLE_CHROMIUM
942 #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
943 #endif
944 #ifndef GL_PATH_MITER_LIMIT_CHROMIUM
945 #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
946 #endif
947 #ifndef GL_PATH_STROKE_BOUND_CHROMIUM
948 #define GL_PATH_STROKE_BOUND_CHROMIUM 0x9086
949 #endif
950 #ifndef GL_COUNT_UP_CHROMIUM
951 #define GL_COUNT_UP_CHROMIUM 0x9088
952 #endif
953 #ifndef GL_COUNT_DOWN_CHROMIUM
954 #define GL_COUNT_DOWN_CHROMIUM 0x9089
955 #endif
956 #ifndef GL_CONVEX_HULL_CHROMIUM
957 #define GL_CONVEX_HULL_CHROMIUM 0x908B
958 #endif
959 #ifndef GL_BOUNDING_BOX_CHROMIUM
960 #define GL_BOUNDING_BOX_CHROMIUM 0x908D
961 #endif
962 #ifndef GL_SQUARE_CHROMIUM
963 #define GL_SQUARE_CHROMIUM 0x90a3
964 #endif
965 #ifndef GL_ROUND_CHROMIUM
966 #define GL_ROUND_CHROMIUM 0x90a4
967 #endif
968 #ifndef GL_ROUND_CHROMIUM
969 #define GL_ROUND_CHROMIUM 0x90A4
970 #endif
971 #ifndef GL_BEVEL_CHROMIUM
972 #define GL_BEVEL_CHROMIUM 0x90A6
973 #endif
974 #ifndef GL_MITER_REVERT_CHROMIUM
975 #define GL_MITER_REVERT_CHROMIUM 0x90A7
976 #endif
977 #ifndef GL_PATH_STENCIL_FUNC_CHROMIUM
978 #define GL_PATH_STENCIL_FUNC_CHROMIUM 0x90B7
979 #endif
980 #ifndef GL_PATH_STENCIL_REF_CHROMIUM
981 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8
982 #endif
983 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM
984 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
985 #endif
987 #endif /* GL_CHROMIUM_path_rendering */
989 #ifdef __cplusplus
991 #endif
993 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_