[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / gpu / GLES2 / gl2extchromium.h
blob157458cd3c4c392454915e723c0fabbc8fb680c4
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_PACK_COMPLETED_CHROMIUM
378 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006
379 #endif
380 #endif /* GL_CHROMIUM_async_pixel_transfers */
382 #ifndef GL_BIND_GENERATES_RESOURCE_CHROMIUM
383 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
384 #endif
386 /* GL_CHROMIUM_copy_texture */
387 #ifndef GL_CHROMIUM_copy_texture
388 #define GL_CHROMIUM_copy_texture 1
390 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
391 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
392 #endif
394 #ifdef GL_GLEXT_PROTOTYPES
395 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
396 GLenum target,
397 GLenum source_id,
398 GLenum dest_id,
399 GLint internalformat,
400 GLenum dest_type,
401 GLboolean unpack_flip_y,
402 GLboolean unpack_premultiply_alpha,
403 GLboolean unpack_unmultiply_alpha);
405 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
406 GLenum target,
407 GLenum source_id,
408 GLenum dest_id,
409 GLint xoffset,
410 GLint yoffset,
411 GLint x,
412 GLint y,
413 GLsizei width,
414 GLsizei height,
415 GLboolean unpack_flip_y,
416 GLboolean unpack_premultiply_alpha,
417 GLboolean unpack_unmultiply_alpha);
418 #endif
419 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
420 GLenum target,
421 GLenum source_id,
422 GLenum dest_id,
423 GLint internalformat,
424 GLenum dest_type,
425 GLboolean unpack_flip_y,
426 GLboolean unpack_premultiply_alpha,
427 GLboolean unpack_unmultiply_alpha);
429 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
430 GLenum target,
431 GLenum source_id,
432 GLenum dest_id,
433 GLint xoffset,
434 GLint yoffset,
435 GLint x,
436 GLint y,
437 GLsizei width,
438 GLsizei height,
439 GLboolean unpack_flip_y,
440 GLboolean unpack_premultiply_alpha,
441 GLboolean unpack_unmultiply_alpha);
442 #endif /* GL_CHROMIUM_copy_texture */
444 /* GL_CHROMIUM_compressed_copy_texture */
445 #ifndef GL_CHROMIUM_compressed_copy_texture
446 #define GL_CHROMIUM_compressed_copy_texture 1
447 #ifdef GL_GLEXT_PROTOTYPES
448 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM(
449 GLenum target, GLenum source_id, GLenum dest_id);
451 GL_APICALL void GL_APIENTRY glCompressedCopySubTextureCHROMIUM(
452 GLenum target,
453 GLenum source_id,
454 GLenum dest_id,
455 GLint xoffset,
456 GLint yoffset,
457 GLint x,
458 GLint y,
459 GLsizei width,
460 GLsizei height);
461 #endif
462 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)(
463 GLenum target, GLenum source_id, GLenum dest_id);
465 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYSUBTEXTURECHROMIUMPROC)(
466 GLenum target,
467 GLenum source_id,
468 GLenum dest_id,
469 GLint xoffset,
470 GLint yoffset,
471 GLint x,
472 GLint y,
473 GLsizei width,
474 GLsizei height);
475 #endif /* GL_CHROMIUM_compressed_copy_texture */
477 /* GL_CHROMIUM_lose_context */
478 #ifndef GL_CHROMIUM_lose_context
479 #define GL_CHROMIUM_lose_context 1
480 #ifdef GL_GLEXT_PROTOTYPES
481 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
482 #endif
483 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (
484 GLenum current, GLenum other);
485 #endif /* GL_CHROMIUM_lose_context */
487 /* GL_ARB_texture_rectangle */
488 #ifndef GL_ARB_texture_rectangle
489 #define GL_ARB_texture_rectangle 1
491 #ifndef GL_SAMPLER_2D_RECT_ARB
492 #define GL_SAMPLER_2D_RECT_ARB 0x8B63
493 #endif
495 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
496 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
497 #endif
499 #ifndef GL_TEXTURE_RECTANGLE_ARB
500 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
501 #endif
502 #endif /* GL_ARB_texture_rectangle */
504 /* GL_CHROMIUM_enable_feature */
505 #ifndef GL_CHROMIUM_enable_feature
506 #define GL_CHROMIUM_enable_feature 1
507 #ifdef GL_GLEXT_PROTOTYPES
508 GL_APICALL GLboolean GL_APIENTRY glEnableFeatureCHROMIUM(const char* feature);
509 #endif
510 typedef GLboolean (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUMPROC) (
511 const char* feature);
512 #endif /* GL_CHROMIUM_enable_feature */
514 /* GL_CHROMIUM_command_buffer_latency_query */
515 #ifndef GL_CHROMIUM_command_buffer_latency_query
516 #define GL_CHROMIUM_command_buffer_latency_query 1
518 #ifndef GL_LATENCY_QUERY_CHROMIUM
519 // TODO(gman): Get official numbers for these constants.
520 #define GL_LATENCY_QUERY_CHROMIUM 0x6007
521 #endif
522 #endif /* GL_CHROMIUM_command_buffer_latency_query */
524 /* GL_ARB_robustness */
525 #ifndef GL_ARB_robustness
526 #define GL_ARB_robustness 1
528 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
529 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
530 #endif
532 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB
533 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
534 #endif
536 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB
537 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
538 #endif
539 #endif /* GL_ARB_robustness */
541 /* GL_EXT_framebuffer_blit */
542 #ifndef GL_EXT_framebuffer_blit
543 #define GL_EXT_framebuffer_blit 1
544 #ifdef GL_GLEXT_PROTOTYPES
545 GL_APICALL void GL_APIENTRY glBlitFramebufferEXT(
546 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
547 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
548 #endif
549 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (
550 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
551 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
552 #endif /* GL_EXT_framebuffer_blit */
554 /* GL_EXT_draw_buffers */
555 #ifndef GL_EXT_draw_buffers
556 #define GL_EXT_draw_buffers 1
558 #ifdef GL_GLEXT_PROTOTYPES
559 GL_APICALL void GL_APIENTRY glDrawBuffersEXT(
560 GLsizei n, const GLenum* bufs);
561 #endif
562 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (
563 GLsizei n, const GLenum* bufs);
565 #ifndef GL_COLOR_ATTACHMENT0_EXT
566 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
567 #endif
568 #ifndef GL_COLOR_ATTACHMENT1_EXT
569 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
570 #endif
571 #ifndef GL_COLOR_ATTACHMENT2_EXT
572 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
573 #endif
574 #ifndef GL_COLOR_ATTACHMENT3_EXT
575 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
576 #endif
577 #ifndef GL_COLOR_ATTACHMENT4_EXT
578 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
579 #endif
580 #ifndef GL_COLOR_ATTACHMENT5_EXT
581 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
582 #endif
583 #ifndef GL_COLOR_ATTACHMENT6_EXT
584 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
585 #endif
586 #ifndef GL_COLOR_ATTACHMENT7_EXT
587 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
588 #endif
589 #ifndef GL_COLOR_ATTACHMENT8_EXT
590 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
591 #endif
592 #ifndef GL_COLOR_ATTACHMENT9_EXT
593 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
594 #endif
595 #ifndef GL_COLOR_ATTACHMENT10_EXT
596 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
597 #endif
598 #ifndef GL_COLOR_ATTACHMENT11_EXT
599 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
600 #endif
601 #ifndef GL_COLOR_ATTACHMENT12_EXT
602 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
603 #endif
604 #ifndef GL_COLOR_ATTACHMENT13_EXT
605 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
606 #endif
607 #ifndef GL_COLOR_ATTACHMENT14_EXT
608 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
609 #endif
610 #ifndef GL_COLOR_ATTACHMENT15_EXT
611 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
612 #endif
614 #ifndef GL_DRAW_BUFFER0_EXT
615 #define GL_DRAW_BUFFER0_EXT 0x8825
616 #endif
617 #ifndef GL_DRAW_BUFFER1_EXT
618 #define GL_DRAW_BUFFER1_EXT 0x8826
619 #endif
620 #ifndef GL_DRAW_BUFFER2_EXT
621 #define GL_DRAW_BUFFER2_EXT 0x8827
622 #endif
623 #ifndef GL_DRAW_BUFFER3_EXT
624 #define GL_DRAW_BUFFER3_EXT 0x8828
625 #endif
626 #ifndef GL_DRAW_BUFFER4_EXT
627 #define GL_DRAW_BUFFER4_EXT 0x8829
628 #endif
629 #ifndef GL_DRAW_BUFFER5_EXT
630 #define GL_DRAW_BUFFER5_EXT 0x882A
631 #endif
632 #ifndef GL_DRAW_BUFFER6_EXT
633 #define GL_DRAW_BUFFER6_EXT 0x882B
634 #endif
635 #ifndef GL_DRAW_BUFFER7_EXT
636 #define GL_DRAW_BUFFER7_EXT 0x882C
637 #endif
638 #ifndef GL_DRAW_BUFFER8_EXT
639 #define GL_DRAW_BUFFER8_EXT 0x882D
640 #endif
641 #ifndef GL_DRAW_BUFFER9_EXT
642 #define GL_DRAW_BUFFER9_EXT 0x882E
643 #endif
644 #ifndef GL_DRAW_BUFFER10_EXT
645 #define GL_DRAW_BUFFER10_EXT 0x882F
646 #endif
647 #ifndef GL_DRAW_BUFFER11_EXT
648 #define GL_DRAW_BUFFER11_EXT 0x8830
649 #endif
650 #ifndef GL_DRAW_BUFFER12_EXT
651 #define GL_DRAW_BUFFER12_EXT 0x8831
652 #endif
653 #ifndef GL_DRAW_BUFFER13_EXT
654 #define GL_DRAW_BUFFER13_EXT 0x8832
655 #endif
656 #ifndef GL_DRAW_BUFFER14_EXT
657 #define GL_DRAW_BUFFER14_EXT 0x8833
658 #endif
659 #ifndef GL_DRAW_BUFFER15_EXT
660 #define GL_DRAW_BUFFER15_EXT 0x8834
661 #endif
663 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
664 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
665 #endif
667 #ifndef GL_MAX_DRAW_BUFFERS_EXT
668 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
669 #endif
671 #endif /* GL_EXT_draw_buffers */
673 /* GL_CHROMIUM_resize */
674 #ifndef GL_CHROMIUM_resize
675 #define GL_CHROMIUM_resize 1
676 #ifdef GL_GLEXT_PROTOTYPES
677 GL_APICALL void GL_APIENTRY glResizeCHROMIUM(
678 GLuint width, GLuint height, GLfloat scale_factor);
679 #endif
680 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUMPROC) (
681 GLuint width, GLuint height);
682 #endif /* GL_CHROMIUM_resize */
684 /* GL_CHROMIUM_get_multiple */
685 #ifndef GL_CHROMIUM_get_multiple
686 #define GL_CHROMIUM_get_multiple 1
687 #ifdef GL_GLEXT_PROTOTYPES
688 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM(
689 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
690 #endif
691 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUMPROC) (
692 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
693 #endif /* GL_CHROMIUM_get_multiple */
695 /* GL_CHROMIUM_sync_point */
696 #ifndef GL_CHROMIUM_sync_point
697 #define GL_CHROMIUM_sync_point 1
698 #ifdef GL_GLEXT_PROTOTYPES
699 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM();
700 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point);
701 #endif
702 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
703 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
704 #endif /* GL_CHROMIUM_sync_point */
706 #ifndef GL_CHROMIUM_color_buffer_float_rgba
707 #define GL_CHROMIUM_color_buffer_float_rgba 1
708 #ifndef GL_RGBA32F
709 #define GL_RGBA32F 0x8814
710 #endif
711 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
713 #ifndef GL_CHROMIUM_color_buffer_float_rgb
714 #define GL_CHROMIUM_color_buffer_float_rgb 1
715 #ifndef GL_RGB32F
716 #define GL_RGB32F 0x8815
717 #endif
718 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
720 /* GL_CHROMIUM_schedule_overlay_plane */
721 #ifndef GL_CHROMIUM_schedule_overlay_plane
722 #define GL_CHROMIUM_schedule_overlay_plane 1
724 #ifndef GL_OVERLAY_TRANSFORM_NONE_CHROMIUM
725 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
726 #endif
728 #ifndef GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM
729 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
730 #endif
732 #ifndef GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM
733 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
734 #endif
736 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM
737 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
738 #endif
740 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM
741 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
742 #endif
744 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM
745 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
746 #endif
748 /* GL_CHROMIUM_subscribe_uniform */
749 #ifndef GL_CHROMIUM_subscribe_uniform
750 #define GL_CHROMIUM_subscribe_uniform 1
752 #ifndef GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM
753 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B
754 #endif
756 #ifndef GL_MOUSE_POSITION_CHROMIUM
757 #define GL_MOUSE_POSITION_CHROMIUM 0x924C
758 #endif
760 #ifdef GL_GLEXT_PROTOTYPES
761 GL_APICALL void GL_APIENTRY
762 glGenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers);
763 GL_APICALL void GL_APIENTRY
764 glDeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers);
765 GL_APICALL GLboolean GL_APIENTRY glIsValuebufferCHROMIUM(GLuint valuebuffer);
766 GL_APICALL void GL_APIENTRY
767 glBindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer);
768 GL_APICALL void GL_APIENTRY
769 glSubscribeValueCHROMIUM(GLenum target, GLenum subscription);
770 GL_APICALL void GL_APIENTRY glPopulateSubscribedValuesCHROMIUM(GLenum target);
771 GL_APICALL void GL_APIENTRY glUniformValuebufferCHROMIUM(GLint location,
772 GLenum target,
773 GLenum subscription);
774 #endif
775 #endif /* GL_CHROMIUM_subscribe_uniform */
777 #ifdef GL_GLEXT_PROTOTYPES
778 GL_APICALL void GL_APIENTRY
779 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
780 GLenum plane_transform,
781 GLuint overlay_texture_id,
782 GLint bounds_x,
783 GLint bounds_y,
784 GLint bounds_width,
785 GLint bounds_height,
786 GLfloat uv_x,
787 GLfloat uv_y,
788 GLfloat uv_width,
789 GLfloat uv_height);
790 #endif
791 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
792 GLint plane_z_order,
793 GLenum plane_transform,
794 GLuint overlay_texture_id,
795 GLint bounds_x,
796 GLint bounds_y,
797 GLint bounds_width,
798 GLint bounds_height,
799 GLfloat uv_x,
800 GLfloat uv_y,
801 GLfloat uv_width,
802 GLfloat uv_height);
803 #endif /* GL_CHROMIUM_schedule_overlay_plane */
805 /* GL_CHROMIUM_sync_query */
806 #ifndef GL_CHROMIUM_sync_query
807 #define GL_CHROMIUM_sync_query 1
809 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
810 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
811 #endif
812 #endif /* GL_CHROMIUM_sync_query */
814 #ifndef GL_CHROMIUM_path_rendering
815 #define GL_CHROMIUM_path_rendering 1
817 #ifdef GL_GLEXT_PROTOTYPES
818 GL_APICALL void GL_APIENTRY
819 glMatrixLoadfCHROMIUM(GLenum mode, const GLfloat* m);
820 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode);
821 GL_APICALL GLuint GL_APIENTRY glGenPathsCHROMIUM(GLsizei range);
822 GL_APICALL void GL_APIENTRY glDeletePathsCHROMIUM(GLuint path, GLsizei range);
823 GL_APICALL GLboolean GL_APIENTRY glIsPathCHROMIUM(GLuint path);
824 GL_APICALL void GL_APIENTRY glPathCommandsCHROMIUM(GLuint path,
825 GLsizei numCommands,
826 const GLubyte* commands,
827 GLsizei numCoords,
828 GLenum coordType,
829 const void* coords);
830 GL_APICALL void GL_APIENTRY
831 glPathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value);
832 GL_APICALL void GL_APIENTRY
833 glPathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value);
834 GL_APICALL void GL_APIENTRY
835 glPathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask);
836 GL_APICALL void GL_APIENTRY
837 glStencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask);
838 GL_APICALL void GL_APIENTRY
839 glStencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask);
840 GL_APICALL void GL_APIENTRY
841 glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode);
842 GL_APICALL void GL_APIENTRY
843 glCoverStrokePathCHROMIUM(GLuint name, GLenum coverMode);
844 GL_APICALL void GL_APIENTRY
845 glStencilThenCoverFillPathCHROMIUM(GLuint path,
846 GLenum fillMode,
847 GLuint mask,
848 GLenum coverMode);
849 GL_APICALL void GL_APIENTRY
850 glStencilThenCoverStrokePathCHROMIUM(GLuint path,
851 GLint reference,
852 GLuint mask,
853 GLenum coverMode);
855 #endif
857 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode,
858 const GLfloat* m);
859 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
860 GLenum matrixMode);
861 typedef GLuint(GL_APIENTRYP* PFNGLGENPATHSCHROMIUMPROC)(GLsizei range);
862 typedef void(GL_APIENTRYP* PFNGLDELETEPATHSCHROMIUMPROC)(GLuint path,
863 GLsizei range);
864 typedef GLboolean(GL_APIENTRYP* PFNGLISPATHCHROMIUMPROC)(GLuint path);
865 typedef void(GL_APIENTRYP* PFNGLPATHCOMMANDSCHROMIUMPROC)(
866 GLuint path,
867 GLsizei numCommands,
868 const GLubyte* commands,
869 GLsizei numCoords,
870 GLenum coordType,
871 const GLvoid* coords);
872 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERICHROMIUMPROC)(GLuint path,
873 GLenum pname,
874 GLint value);
875 typedef void(GL_APIENTRYP* PFNGLPATHPARAMETERFCHROMIUMPROC)(GLuint path,
876 GLenum pname,
877 GLfloat value);
878 typedef void(GL_APIENTRYP* PFNGLPATHSTENCILFUNCCHROMIUMPROC)(GLenum func,
879 GLint ref,
880 GLuint mask);
881 typedef void(GL_APIENTRYP* PFNGLSTENCILFILLPATHCHROMIUMPROC)(GLuint path,
882 GLenum fillMode,
883 GLuint mask);
884 typedef void(GL_APIENTRYP* PFNGLSTENCILSTROKEPATHCHROMIUMPROC)(GLuint path,
885 GLint reference,
886 GLuint mask);
887 typedef void(GL_APIENTRYP* PFNGLCOVERFILLPATHCHROMIUMPROC)(GLuint path,
888 GLenum coverMode);
889 typedef void(GL_APIENTRYP* PFNGLCOVERSTROKEPATHCHROMIUMPROC)(GLuint name,
890 GLenum coverMode);
892 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERFILLPATHCHROMIUMPROC)(
893 GLuint path,
894 GLenum fillMode,
895 GLuint mask,
896 GLenum coverMode);
897 typedef void(GL_APIENTRYP* PFNGLSTENCILTHENCOVERSTROKEPATHCHROMIUMPROC)(
898 GLuint path,
899 GLint reference,
900 GLuint mask,
901 GLenum coverMode);
903 #ifndef GL_CLOSE_PATH_CHROMIUM
904 #define GL_CLOSE_PATH_CHROMIUM 0x00
905 #endif
906 #ifndef GL_MOVE_TO_CHROMIUM
907 #define GL_MOVE_TO_CHROMIUM 0x02
908 #endif
909 #ifndef GL_LINE_TO_CHROMIUM
910 #define GL_LINE_TO_CHROMIUM 0x04
911 #endif
912 #ifndef GL_QUADRATIC_CURVE_TO_CHROMIUM
913 #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0x0A
914 #endif
915 #ifndef GL_CUBIC_CURVE_TO_CHROMIUM
916 #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
917 #endif
918 #ifndef GL_CONIC_CURVE_TO_CHROMIUM
919 #define GL_CONIC_CURVE_TO_CHROMIUM 0x1A
920 #endif
921 #ifndef GL_PATH_MODELVIEW_MATRIX_CHROMIUM
922 #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
923 #endif
924 #ifndef GL_PATH_PROJECTION_MATRIX_CHROMIUM
925 #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
926 #endif
927 #ifndef GL_PATH_MODELVIEW_CHROMIUM
928 #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
929 #endif
930 #ifndef GL_PATH_PROJECTION_CHROMIUM
931 #define GL_PATH_PROJECTION_CHROMIUM 0x1701
932 #endif
933 #ifndef GL_FLAT_CHROMIUM
934 #define GL_FLAT_CHROMIUM 0x1D00
935 #endif
936 #ifndef GL_PATH_STROKE_WIDTH_CHROMIUM
937 #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
938 #endif
939 #ifndef GL_PATH_END_CAPS_CHROMIUM
940 #define GL_PATH_END_CAPS_CHROMIUM 0x9076
941 #endif
942 #ifndef GL_PATH_JOIN_STYLE_CHROMIUM
943 #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
944 #endif
945 #ifndef GL_PATH_MITER_LIMIT_CHROMIUM
946 #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
947 #endif
948 #ifndef GL_PATH_STROKE_BOUND_CHROMIUM
949 #define GL_PATH_STROKE_BOUND_CHROMIUM 0x9086
950 #endif
951 #ifndef GL_COUNT_UP_CHROMIUM
952 #define GL_COUNT_UP_CHROMIUM 0x9088
953 #endif
954 #ifndef GL_COUNT_DOWN_CHROMIUM
955 #define GL_COUNT_DOWN_CHROMIUM 0x9089
956 #endif
957 #ifndef GL_CONVEX_HULL_CHROMIUM
958 #define GL_CONVEX_HULL_CHROMIUM 0x908B
959 #endif
960 #ifndef GL_BOUNDING_BOX_CHROMIUM
961 #define GL_BOUNDING_BOX_CHROMIUM 0x908D
962 #endif
963 #ifndef GL_SQUARE_CHROMIUM
964 #define GL_SQUARE_CHROMIUM 0x90a3
965 #endif
966 #ifndef GL_ROUND_CHROMIUM
967 #define GL_ROUND_CHROMIUM 0x90a4
968 #endif
969 #ifndef GL_ROUND_CHROMIUM
970 #define GL_ROUND_CHROMIUM 0x90A4
971 #endif
972 #ifndef GL_BEVEL_CHROMIUM
973 #define GL_BEVEL_CHROMIUM 0x90A6
974 #endif
975 #ifndef GL_MITER_REVERT_CHROMIUM
976 #define GL_MITER_REVERT_CHROMIUM 0x90A7
977 #endif
978 #ifndef GL_PATH_STENCIL_FUNC_CHROMIUM
979 #define GL_PATH_STENCIL_FUNC_CHROMIUM 0x90B7
980 #endif
981 #ifndef GL_PATH_STENCIL_REF_CHROMIUM
982 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8
983 #endif
984 #ifndef GL_PATH_STENCIL_VALUE_MASK_CHROMIUM
985 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
986 #endif
988 #endif /* GL_CHROMIUM_path_rendering */
990 #ifdef __cplusplus
992 #endif
994 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_