summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-10-24 20:05:46 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-11-14 10:42:59 +0900
commit9741f298c0a860bb1eadf42d2faad61348f42cdc (patch)
tree1c4bfcd02d58f8bb435ffaf6c853e7873b2e0d98
parentce3146b26250bf0fe8b30b3810eb01d2fc514bfc (diff)
Evas GL: Scan for GL-ES 1.1 extensions
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_api_ext_def.h648
1 files changed, 648 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_api_ext_def.h b/src/modules/evas/engines/gl_common/evas_gl_api_ext_def.h
index f6c77fa7d9..c867226446 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api_ext_def.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_api_ext_def.h
@@ -270,6 +270,16 @@ _EVASGL_EXT_END()
270 270
271_EVASGL_EXT_BEGIN(EXT_multisampled_render_to_texture) 271_EVASGL_EXT_BEGIN(EXT_multisampled_render_to_texture)
272 _EVASGL_EXT_DRVNAME(GL_EXT_multisampled_render_to_texture) 272 _EVASGL_EXT_DRVNAME(GL_EXT_multisampled_render_to_texture)
273
274 /* GLES 1.x extension */
275 _EVASGL_EXT_FUNCTION_BEGIN(void, glRenderbufferStorageMultisampleEXT, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height))
276 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorageMultisample"))
277 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorageMultisampleEXT"))
278 _EVASGL_EXT_FUNCTION_END()
279 _EVASGL_EXT_FUNCTION_BEGIN(void, glFramebufferTexture2DMultisampleEXT, (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples))
280 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferTexture2DMultisample"))
281 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferTexture2DMultisampleEXT"))
282 _EVASGL_EXT_FUNCTION_END()
273_EVASGL_EXT_END() 283_EVASGL_EXT_END()
274 284
275_EVASGL_EXT_BEGIN(multisampled_render_to_texture) 285_EVASGL_EXT_BEGIN(multisampled_render_to_texture)
@@ -431,6 +441,644 @@ _EVASGL_EXT_END()
431 441
432 442
433/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 443///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
444// GLES 1.1 ONLY EXTENSIONS
445///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
446
447_EVASGL_EXT_BEGIN(blend_equation_separate)
448 _EVASGL_EXT_DRVNAME(GL_OES_blend_equation_separate)
449
450 _EVASGL_EXT_FUNCTION_BEGIN(void, glBlendEquationSeparateOES, (GLenum modeRGB, GLenum modeAlpha))
451 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendEquationSeparate"))
452 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendEquationSeparateOES"))
453 _EVASGL_EXT_FUNCTION_END()
454_EVASGL_EXT_END()
455
456
457_EVASGL_EXT_BEGIN(blend_func_separate)
458 _EVASGL_EXT_DRVNAME(GL_OES_blend_func_separate)
459
460 _EVASGL_EXT_FUNCTION_BEGIN(void, glBlendFuncSeparateOES, (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha))
461 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendFuncSeparate"))
462 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendFuncSeparateOES"))
463 _EVASGL_EXT_FUNCTION_END()
464_EVASGL_EXT_END()
465
466
467_EVASGL_EXT_BEGIN(blend_subtract)
468 _EVASGL_EXT_DRVNAME(GL_OES_blend_subtract)
469
470 _EVASGL_EXT_FUNCTION_BEGIN(void, glBlendEquationOES, (GLenum mode))
471 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendEquation"))
472 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBlendEquationOES"))
473 _EVASGL_EXT_FUNCTION_END()
474_EVASGL_EXT_END()
475
476
477_EVASGL_EXT_BEGIN(byte_coordinates)
478 _EVASGL_EXT_DRVNAME(GL_OES_byte_coordinates)
479_EVASGL_EXT_END()
480
481
482_EVASGL_EXT_BEGIN(draw_texture)
483 _EVASGL_EXT_DRVNAME(GL_OES_draw_texture)
484
485 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexsOES, (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height))
486 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexs"))
487 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexsOES"))
488 _EVASGL_EXT_FUNCTION_END()
489 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))
490 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexi"))
491 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexiOES"))
492 _EVASGL_EXT_FUNCTION_END()
493 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexxOES, (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height))
494 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexx"))
495 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexxOES"))
496 _EVASGL_EXT_FUNCTION_END()
497 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexsvOES, (const GLshort *coords))
498 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexsv"))
499 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexsvOES"))
500 _EVASGL_EXT_FUNCTION_END()
501 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexivOES, (const GLint *coords))
502 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexiv"))
503 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexivOES"))
504 _EVASGL_EXT_FUNCTION_END()
505 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexxvOES, (const GLfixed *coords))
506 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexxv"))
507 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexxvOES"))
508 _EVASGL_EXT_FUNCTION_END()
509 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexfOES, (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height))
510 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexf"))
511 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexfOES"))
512 _EVASGL_EXT_FUNCTION_END()
513 _EVASGL_EXT_FUNCTION_BEGIN(void, glDrawTexfvOES, (const GLfloat *coords))
514 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexfv"))
515 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDrawTexfvOES"))
516 _EVASGL_EXT_FUNCTION_END()
517_EVASGL_EXT_END()
518
519
520_EVASGL_EXT_BEGIN(extended_matrix_palette)
521 _EVASGL_EXT_DRVNAME(GL_OES_extended_matrix_palette)
522_EVASGL_EXT_END()
523
524
525_EVASGL_EXT_BEGIN(fixed_point)
526 _EVASGL_EXT_DRVNAME(GL_OES_fixed_point)
527
528 _EVASGL_EXT_FUNCTION_BEGIN(void, glAlphaFuncxOES, (GLenum func, GLclampx ref))
529 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glAlphaFuncx"))
530 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glAlphaFuncxOES"))
531 _EVASGL_EXT_FUNCTION_END()
532 _EVASGL_EXT_FUNCTION_BEGIN(void, glClearColorxOES, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha))
533 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearColorx"))
534 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearColorxOES"))
535 _EVASGL_EXT_FUNCTION_END()
536 _EVASGL_EXT_FUNCTION_BEGIN(void, glClearDepthxOES, (GLclampx depth))
537 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearDepthx"))
538 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearDepthxOES"))
539 _EVASGL_EXT_FUNCTION_END()
540 _EVASGL_EXT_FUNCTION_BEGIN(void, glClipPlanexOES, (GLenum plane, const GLfixed *equation))
541 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanex"))
542 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanexOES"))
543 _EVASGL_EXT_FUNCTION_END()
544 _EVASGL_EXT_FUNCTION_BEGIN(void, glColor4xOES, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha))
545 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glColor4x"))
546 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glColor4xOES"))
547 _EVASGL_EXT_FUNCTION_END()
548 _EVASGL_EXT_FUNCTION_BEGIN(void, glDepthRangexOES, (GLclampx zNear, GLclampx zFar))
549 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDepthRangex"))
550 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDepthRangexOES"))
551 _EVASGL_EXT_FUNCTION_END()
552 _EVASGL_EXT_FUNCTION_BEGIN(void, glFogxOES, (GLenum pname, GLfixed param))
553 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFogx"))
554 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFogxOES"))
555 _EVASGL_EXT_FUNCTION_END()
556 _EVASGL_EXT_FUNCTION_BEGIN(void, glFogxvOES, (GLenum pname, const GLfixed *params))
557 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFogxv"))
558 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFogxvOES"))
559 _EVASGL_EXT_FUNCTION_END()
560 _EVASGL_EXT_FUNCTION_BEGIN(void, glFrustumxOES, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
561 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFrustumx"))
562 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFrustumxOES"))
563 _EVASGL_EXT_FUNCTION_END()
564 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetClipPlanexOES, (GLenum pname, GLfixed eqn[4]))
565 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetClipPlanex"))
566 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetClipPlanexOES"))
567 _EVASGL_EXT_FUNCTION_END()
568 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetFixedvOES, (GLenum pname, GLfixed *params))
569 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetFixedv"))
570 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetFixedvOES"))
571 _EVASGL_EXT_FUNCTION_END()
572 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetLightxvOES, (GLenum light, GLenum pname, GLfixed *params))
573 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetLightxv"))
574 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetLightxvOES"))
575 _EVASGL_EXT_FUNCTION_END()
576 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetMaterialxvOES, (GLenum face, GLenum pname, GLfixed *params))
577 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetMaterialxv"))
578 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetMaterialxvOES"))
579 _EVASGL_EXT_FUNCTION_END()
580 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetTexEnvxvOES, (GLenum env, GLenum pname, GLfixed *params))
581 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexEnvxv"))
582 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexEnvxvOES"))
583 _EVASGL_EXT_FUNCTION_END()
584 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetTexParameterxvOES, (GLenum target, GLenum pname, GLfixed *params))
585 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexParameterxv"))
586 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexParameterxvOES"))
587 _EVASGL_EXT_FUNCTION_END()
588 _EVASGL_EXT_FUNCTION_BEGIN(void, glLightModelxOES, (GLenum pname, GLfixed param))
589 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightModelx"))
590 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightModelxOES"))
591 _EVASGL_EXT_FUNCTION_END()
592 _EVASGL_EXT_FUNCTION_BEGIN(void, glLightModelxvOES, (GLenum pname, const GLfixed *params))
593 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightModelxv"))
594 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightModelxvOES"))
595 _EVASGL_EXT_FUNCTION_END()
596 _EVASGL_EXT_FUNCTION_BEGIN(void, glLightxOES, (GLenum light, GLenum pname, GLfixed param))
597 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightx"))
598 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightxOES"))
599 _EVASGL_EXT_FUNCTION_END()
600 _EVASGL_EXT_FUNCTION_BEGIN(void, glLightxvOES, (GLenum light, GLenum pname, const GLfixed *params))
601 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightxv"))
602 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLightxvOES"))
603 _EVASGL_EXT_FUNCTION_END()
604 _EVASGL_EXT_FUNCTION_BEGIN(void, glLineWidthxOES, (GLfixed width))
605 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLineWidthx"))
606 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLineWidthxOES"))
607 _EVASGL_EXT_FUNCTION_END()
608 _EVASGL_EXT_FUNCTION_BEGIN(void, glLoadMatrixxOES, (const GLfixed *m))
609 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLoadMatrixx"))
610 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLoadMatrixxOES"))
611 _EVASGL_EXT_FUNCTION_END()
612 _EVASGL_EXT_FUNCTION_BEGIN(void, glMaterialxOES, (GLenum face, GLenum pname, GLfixed param))
613 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMaterialx"))
614 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMaterialxOES"))
615 _EVASGL_EXT_FUNCTION_END()
616 _EVASGL_EXT_FUNCTION_BEGIN(void, glMaterialxvOES, (GLenum face, GLenum pname, const GLfixed *params))
617 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMaterialxv"))
618 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMaterialxvOES"))
619 _EVASGL_EXT_FUNCTION_END()
620 _EVASGL_EXT_FUNCTION_BEGIN(void, glMultMatrixxOES, (const GLfixed *m))
621 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMultMatrixx"))
622 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMultMatrixxOES"))
623 _EVASGL_EXT_FUNCTION_END()
624 _EVASGL_EXT_FUNCTION_BEGIN(void, glMultiTexCoord4xOES, (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q))
625 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMultiTexCoord4x"))
626 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMultiTexCoord4xOES"))
627 _EVASGL_EXT_FUNCTION_END()
628 _EVASGL_EXT_FUNCTION_BEGIN(void, glNormal3xOES, (GLfixed nx, GLfixed ny, GLfixed nz))
629 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glNormal3x"))
630 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glNormal3xOES"))
631 _EVASGL_EXT_FUNCTION_END()
632 _EVASGL_EXT_FUNCTION_BEGIN(void, glOrthoxOES, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
633 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glOrthox"))
634 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glOrthoxOES"))
635 _EVASGL_EXT_FUNCTION_END()
636 _EVASGL_EXT_FUNCTION_BEGIN(void, glPointParameterxOES, (GLenum pname, GLfixed param))
637 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointParameterx"))
638 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointParameterxOES"))
639 _EVASGL_EXT_FUNCTION_END()
640 _EVASGL_EXT_FUNCTION_BEGIN(void, glPointParameterxvOES, (GLenum pname, const GLfixed *params))
641 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointParameterxv"))
642 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointParameterxvOES"))
643 _EVASGL_EXT_FUNCTION_END()
644 _EVASGL_EXT_FUNCTION_BEGIN(void, glPointSizexOES, (GLfixed size))
645 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointSizex"))
646 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPointSizexOES"))
647 _EVASGL_EXT_FUNCTION_END()
648 _EVASGL_EXT_FUNCTION_BEGIN(void, glPolygonOffsetxOES, (GLfixed factor, GLfixed units))
649 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPolygonOffsetx"))
650 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glPolygonOffsetxOES"))
651 _EVASGL_EXT_FUNCTION_END()
652 _EVASGL_EXT_FUNCTION_BEGIN(void, glRotatexOES, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z))
653 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRotatex"))
654 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRotatexOES"))
655 _EVASGL_EXT_FUNCTION_END()
656 _EVASGL_EXT_FUNCTION_BEGIN(void, glSampleCoveragexOES, (GLclampx value, GLboolean invert))
657 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glSampleCoveragex"))
658 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glSampleCoveragexOES"))
659 _EVASGL_EXT_FUNCTION_END()
660 _EVASGL_EXT_FUNCTION_BEGIN(void, glScalexOES, (GLfixed x, GLfixed y, GLfixed z))
661 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glScalex"))
662 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glScalexOES"))
663 _EVASGL_EXT_FUNCTION_END()
664 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexEnvxOES, (GLenum target, GLenum pname, GLfixed param))
665 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexEnvx"))
666 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexEnvxOES"))
667 _EVASGL_EXT_FUNCTION_END()
668 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexEnvxvOES, (GLenum target, GLenum pname, const GLfixed *params))
669 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexEnvxv"))
670 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexEnvxvOES"))
671 _EVASGL_EXT_FUNCTION_END()
672 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexParameterxOES, (GLenum target, GLenum pname, GLfixed param))
673 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexParameterx"))
674 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexParameterxOES"))
675 _EVASGL_EXT_FUNCTION_END()
676 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexParameterxvOES, (GLenum target, GLenum pname, const GLfixed *params))
677 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexParameterxv"))
678 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexParameterxvOES"))
679 _EVASGL_EXT_FUNCTION_END()
680 _EVASGL_EXT_FUNCTION_BEGIN(void, glTranslatexOES, (GLfixed x, GLfixed y, GLfixed z))
681 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTranslatex"))
682 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTranslatexOES"))
683 _EVASGL_EXT_FUNCTION_END()
684_EVASGL_EXT_END()
685
686
687_EVASGL_EXT_BEGIN(framebuffer_object)
688 _EVASGL_EXT_DRVNAME(GL_OES_framebuffer_object)
689
690 _EVASGL_EXT_FUNCTION_BEGIN(GLboolean, glIsRenderbufferOES, (GLuint renderbuffer))
691 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsRenderbuffer"))
692 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsRenderbufferOES"))
693 _EVASGL_EXT_FUNCTION_END()
694 _EVASGL_EXT_FUNCTION_BEGIN(void, glBindRenderbufferOES, (GLenum target, GLuint renderbuffer))
695 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindRenderbuffer"))
696 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindRenderbufferOES"))
697 _EVASGL_EXT_FUNCTION_END()
698 _EVASGL_EXT_FUNCTION_BEGIN(void, glDeleteRenderbuffersOES, (GLsizei n, const GLuint* renderbuffers))
699 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteRenderbuffers"))
700 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteRenderbuffersOES"))
701 _EVASGL_EXT_FUNCTION_END()
702 _EVASGL_EXT_FUNCTION_BEGIN(void, glGenRenderbuffersOES, (GLsizei n, GLuint* renderbuffers))
703 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenRenderbuffers"))
704 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenRenderbuffersOES"))
705 _EVASGL_EXT_FUNCTION_END()
706 _EVASGL_EXT_FUNCTION_BEGIN(void, glRenderbufferStorageOES, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height))
707 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorage"))
708 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorageOES"))
709 _EVASGL_EXT_FUNCTION_END()
710 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetRenderbufferParameterivOES, (GLenum target, GLenum pname, GLint* params))
711 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetRenderbufferParameteriv"))
712 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetRenderbufferParameterivOES"))
713 _EVASGL_EXT_FUNCTION_END()
714 _EVASGL_EXT_FUNCTION_BEGIN(GLboolean, glIsFramebufferOES, (GLuint framebuffer))
715 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsFramebuffer"))
716 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsFramebufferOES"))
717 _EVASGL_EXT_FUNCTION_END()
718 _EVASGL_EXT_FUNCTION_BEGIN(void, glBindFramebufferOES, (GLenum target, GLuint framebuffer))
719 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindFramebuffer"))
720 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindFramebufferOES"))
721 _EVASGL_EXT_FUNCTION_END()
722 _EVASGL_EXT_FUNCTION_BEGIN(void, glDeleteFramebuffersOES, (GLsizei n, const GLuint* framebuffers))
723 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteFramebuffers"))
724 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteFramebuffersOES"))
725 _EVASGL_EXT_FUNCTION_END()
726 _EVASGL_EXT_FUNCTION_BEGIN(void, glGenFramebuffersOES, (GLsizei n, GLuint* framebuffers))
727 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenFramebuffers"))
728 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenFramebuffersOES"))
729 _EVASGL_EXT_FUNCTION_END()
730 _EVASGL_EXT_FUNCTION_BEGIN(GLenum, glCheckFramebufferStatusOES, (GLenum target))
731 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCheckFramebufferStatus"))
732 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCheckFramebufferStatusOES"))
733 _EVASGL_EXT_FUNCTION_END()
734 _EVASGL_EXT_FUNCTION_BEGIN(void, glFramebufferRenderbufferOES, (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer))
735 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferRenderbuffer"))
736 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferRenderbufferOES"))
737 _EVASGL_EXT_FUNCTION_END()
738 _EVASGL_EXT_FUNCTION_BEGIN(void, glFramebufferTexture2DOES, (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level))
739 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferTexture2D"))
740 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFramebufferTexture2DOES"))
741 _EVASGL_EXT_FUNCTION_END()
742 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetFramebufferAttachmentParameterivOES, (GLenum target, GLenum attachment, GLenum pname, GLint* params))
743 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetFramebufferAttachmentParameteriv"))
744 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetFramebufferAttachmentParameterivOES"))
745 _EVASGL_EXT_FUNCTION_END()
746 _EVASGL_EXT_FUNCTION_BEGIN(void, glGenerateMipmapOES, (GLenum target))
747 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenerateMipmap"))
748 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenerateMipmapOES"))
749 _EVASGL_EXT_FUNCTION_END()
750_EVASGL_EXT_END()
751
752_EVASGL_EXT_BEGIN(matrix_get)
753 _EVASGL_EXT_DRVNAME(GL_OES_matrix_get)
754_EVASGL_EXT_END()
755
756
757_EVASGL_EXT_BEGIN(matrix_palette)
758 _EVASGL_EXT_DRVNAME(GL_OES_matrix_palette)
759
760 _EVASGL_EXT_FUNCTION_BEGIN(void, glCurrentPaletteMatrixOES, (GLuint matrixpaletteindex))
761 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCurrentPaletteMatrix"))
762 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCurrentPaletteMatrixOES"))
763 _EVASGL_EXT_FUNCTION_END()
764 _EVASGL_EXT_FUNCTION_BEGIN(void, glLoadPaletteFromModelViewMatrixOES, (void))
765 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLoadPaletteFromModelViewMatrix"))
766 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glLoadPaletteFromModelViewMatrixOES"))
767 _EVASGL_EXT_FUNCTION_END()
768 _EVASGL_EXT_FUNCTION_BEGIN(void, glMatrixIndexPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
769 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMatrixIndexPointer"))
770 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMatrixIndexPointerOES"))
771 _EVASGL_EXT_FUNCTION_END()
772 _EVASGL_EXT_FUNCTION_BEGIN(void, glWeightPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
773 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glWeightPointer"))
774 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glWeightPointerOES"))
775 _EVASGL_EXT_FUNCTION_END()
776_EVASGL_EXT_END()
777
778
779_EVASGL_EXT_BEGIN(required_internalformat)
780 _EVASGL_EXT_DRVNAME(GL_OES_required_internalformat)
781_EVASGL_EXT_END()
782
783_EVASGL_EXT_BEGIN(query_matrix)
784 _EVASGL_EXT_DRVNAME(GL_OES_query_matrix)
785
786 _EVASGL_EXT_FUNCTION_BEGIN(GLbitfield, glQueryMatrixxOES, (GLfixed mantissa[16], GLint exponent[16]))
787 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glQueryMatrixx"))
788 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glQueryMatrixxOES"))
789 _EVASGL_EXT_FUNCTION_END()
790_EVASGL_EXT_END()
791
792
793_EVASGL_EXT_BEGIN(single_precision)
794 _EVASGL_EXT_DRVNAME(GL_OES_single_precision)
795
796 _EVASGL_EXT_FUNCTION_BEGIN(void, glDepthRangefOES, (GLclampf zNear, GLclampf zFar))
797 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDepthRangef"))
798 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDepthRangefOES"))
799 _EVASGL_EXT_FUNCTION_END()
800 _EVASGL_EXT_FUNCTION_BEGIN(void, glFrustumfOES, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
801 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFrustumf"))
802 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFrustumfOES"))
803 _EVASGL_EXT_FUNCTION_END()
804 _EVASGL_EXT_FUNCTION_BEGIN(void, glOrthofOES, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
805 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glOrthof"))
806 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glOrthofOES"))
807 _EVASGL_EXT_FUNCTION_END()
808 _EVASGL_EXT_FUNCTION_BEGIN(void, glClipPlanefOES, (GLenum plane, const GLfloat *equation))
809 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanef"))
810 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanefOES"))
811 _EVASGL_EXT_FUNCTION_END()
812 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetClipPlanefOES, (GLenum pname, GLfloat eqn[4]))
813 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetClipPlanef"))
814 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetClipPlanefOES"))
815 _EVASGL_EXT_FUNCTION_END()
816 _EVASGL_EXT_FUNCTION_BEGIN(void, glClearDepthfOES, (GLclampf depth))
817 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearDepthf"))
818 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClearDepthfOES"))
819 _EVASGL_EXT_FUNCTION_END()
820_EVASGL_EXT_END()
821
822
823_EVASGL_EXT_BEGIN(stencil8)
824 _EVASGL_EXT_DRVNAME(GL_OES_stencil8)
825_EVASGL_EXT_END()
826
827
828_EVASGL_EXT_BEGIN(stencil_wrap)
829 _EVASGL_EXT_DRVNAME(GL_OES_stencil_wrap)
830_EVASGL_EXT_END()
831
832
833_EVASGL_EXT_BEGIN(texture_cube_map)
834 _EVASGL_EXT_DRVNAME(GL_OES_texture_cube_map)
835
836 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGenfOES, (GLenum coord, GLenum pname, GLfloat param))
837 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenf"))
838 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenfOES"))
839 _EVASGL_EXT_FUNCTION_END()
840 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGenfvOES, (GLenum coord, GLenum pname, const GLfloat *params))
841 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenfv"))
842 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenfvOES"))
843 _EVASGL_EXT_FUNCTION_END()
844 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGeniOES, (GLenum coord, GLenum pname, GLint param))
845 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGeni"))
846 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGeniOES"))
847 _EVASGL_EXT_FUNCTION_END()
848 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGenivOES, (GLenum coord, GLenum pname, const GLint *params))
849 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGeniv"))
850 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenivOES"))
851 _EVASGL_EXT_FUNCTION_END()
852 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGenxOES, (GLenum coord, GLenum pname, GLfixed param))
853 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenx"))
854 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenxOES"))
855 _EVASGL_EXT_FUNCTION_END()
856 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexGenxvOES, (GLenum coord, GLenum pname, const GLfixed *params))
857 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenxv"))
858 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexGenxvOES"))
859 _EVASGL_EXT_FUNCTION_END()
860 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetTexGenfvOES, (GLenum coord, GLenum pname, GLfloat *params))
861 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGenfv"))
862 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGenfvOES"))
863 _EVASGL_EXT_FUNCTION_END()
864 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetTexGenivOES, (GLenum coord, GLenum pname, GLint *params))
865 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGeniv"))
866 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGenivOES"))
867 _EVASGL_EXT_FUNCTION_END()
868 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetTexGenxvOES, (GLenum coord, GLenum pname, GLfixed *params))
869 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGenxv"))
870 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetTexGenxvOES"))
871 _EVASGL_EXT_FUNCTION_END()
872_EVASGL_EXT_END()
873
874
875_EVASGL_EXT_BEGIN(texture_env_crossbar)
876 _EVASGL_EXT_DRVNAME(GL_OES_texture_env_crossbar)
877_EVASGL_EXT_END()
878
879
880_EVASGL_EXT_BEGIN(texture_mirrored_repeat)
881 _EVASGL_EXT_DRVNAME(GL_OES_texture_mirrored_repeat)
882_EVASGL_EXT_END()
883
884_EVASGL_EXT_BEGIN(vertex_array_object)
885 _EVASGL_EXT_DRVNAME(GL_OES_vertex_array_object)
886
887 _EVASGL_EXT_FUNCTION_BEGIN(void, glBindVertexArrayOES, (GLuint array))
888 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindVertexArray"))
889 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glBindVertexArrayOES"))
890 _EVASGL_EXT_FUNCTION_END()
891 _EVASGL_EXT_FUNCTION_BEGIN(void, glDeleteVertexArraysOES, (GLsizei n, const GLuint *arrays))
892 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteVertexArrays"))
893 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteVertexArraysOES"))
894 _EVASGL_EXT_FUNCTION_END()
895 _EVASGL_EXT_FUNCTION_BEGIN(void, glGenVertexArraysOES, (GLsizei n, GLuint *arrays))
896 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenVertexArrays"))
897 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGenVertexArraysOES"))
898 _EVASGL_EXT_FUNCTION_END()
899 _EVASGL_EXT_FUNCTION_BEGIN(GLboolean, glIsVertexArrayOES, (GLuint array))
900 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsVertexArray"))
901 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsVertexArrayOES"))
902 _EVASGL_EXT_FUNCTION_END()
903_EVASGL_EXT_END()
904
905/* APPLE extension functions */
906_EVASGL_EXT_BEGIN(APPLE_copy_texture_levels)
907 _EVASGL_EXT_DRVNAME(GL_APPLE_copy_texture_levels)
908
909 _EVASGL_EXT_FUNCTION_BEGIN(void, glCopyTextureLevelsAPPLE, (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount))
910 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCopyTextureLevels"))
911 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glCopyTextureLevelsAPPLE"))
912 _EVASGL_EXT_FUNCTION_END()
913_EVASGL_EXT_END()
914
915_EVASGL_EXT_BEGIN(APPLE_framebuffer_multisample)
916 _EVASGL_EXT_DRVNAME(GL_APPLE_framebuffer_multisample)
917
918 _EVASGL_EXT_FUNCTION_BEGIN(void, glRenderbufferStorageMultisampleAPPLE, (GLenum, GLsizei, GLenum, GLsizei, GLsizei))
919 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorageMultisample"))
920 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glRenderbufferStorageMultisampleAPPLE"))
921 _EVASGL_EXT_FUNCTION_END()
922 _EVASGL_EXT_FUNCTION_BEGIN(void, glResolveMultisampleFramebufferAPPLE, (void))
923 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glResolveMultisampleFramebuffer"))
924 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glResolveMultisampleFramebufferAPPLE"))
925 _EVASGL_EXT_FUNCTION_END()
926_EVASGL_EXT_END()
927
928_EVASGL_EXT_BEGIN(APPLE_sync)
929 _EVASGL_EXT_DRVNAME(GL_APPLE_sync)
930
931 _EVASGL_EXT_FUNCTION_BEGIN(GLsync, glFenceSyncAPPLE, (GLenum condition, GLbitfield flags))
932 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFenceSyncAPPLE"))
933 _EVASGL_EXT_FUNCTION_END()
934 _EVASGL_EXT_FUNCTION_BEGIN(GLboolean, glIsSyncAPPLE, (GLsync sync))
935 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glIsSyncAPPLE"))
936 _EVASGL_EXT_FUNCTION_END()
937 _EVASGL_EXT_FUNCTION_BEGIN(void, glDeleteSyncAPPLE, (GLsync sync))
938 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glDeleteSyncAPPLE"))
939 _EVASGL_EXT_FUNCTION_END()
940 _EVASGL_EXT_FUNCTION_BEGIN(GLenum, glClientWaitSyncAPPLE, (GLsync sync, GLbitfield flags, EvasGLuint64 timeout))
941 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClientWaitSyncAPPLE"))
942 _EVASGL_EXT_FUNCTION_END()
943 _EVASGL_EXT_FUNCTION_BEGIN(void, glWaitSyncAPPLE, (GLsync sync, GLbitfield flags, EvasGLuint64 timeout))
944 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glWaitSyncAPPLE"))
945 _EVASGL_EXT_FUNCTION_END()
946 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetInteger64vAPPLE, (GLenum pname, EvasGLint64 *params))
947 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetInteger64vAPPLE"))
948 _EVASGL_EXT_FUNCTION_END()
949 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetSyncivAPPLE, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values))
950 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetSyncivAPPLE"))
951 _EVASGL_EXT_FUNCTION_END()
952_EVASGL_EXT_END()
953
954
955_EVASGL_EXT_BEGIN(APPLE_texture_2D_limited_npot)
956 _EVASGL_EXT_DRVNAME(GL_APPLE_texture_2D_limited_npot)
957_EVASGL_EXT_END()
958
959_EVASGL_EXT_BEGIN(APPLE_texture_format_BGRA8888)
960 _EVASGL_EXT_DRVNAME(GL_APPLE_texture_format_BGRA8888)
961_EVASGL_EXT_END()
962
963_EVASGL_EXT_BEGIN(APPLE_texture_max_level)
964 _EVASGL_EXT_DRVNAME(GL_APPLE_texture_max_level)
965_EVASGL_EXT_END()
966
967/* ARM extension */
968_EVASGL_EXT_BEGIN(ARM_rgba8)
969 _EVASGL_EXT_DRVNAME(GL_ARM_rgba8)
970_EVASGL_EXT_END()
971
972/* EXT extension functions */
973_EVASGL_EXT_BEGIN(map_buffer_range)
974 _EVASGL_EXT_DRVNAME(GL_EXT_map_buffer_range)
975
976 _EVASGL_EXT_FUNCTION_BEGIN(void *, glMapBufferRangeEXT, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access))
977 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMapBufferRange"))
978 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glMapBufferRangeEXT"))
979 _EVASGL_EXT_FUNCTION_END()
980 _EVASGL_EXT_FUNCTION_BEGIN(void, glFlushMappedBufferRangeEXT, (GLenum target, GLintptr offset, GLsizeiptr length))
981 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFlushMappedBufferRange"))
982 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glFlushMappedBufferRangeEXT"))
983 _EVASGL_EXT_FUNCTION_END()
984_EVASGL_EXT_END()
985
986_EVASGL_EXT_BEGIN(robustness)
987 _EVASGL_EXT_DRVNAME(GL_EXT_robustness)
988
989 _EVASGL_EXT_FUNCTION_BEGIN(GLenum, glGetGraphicsResetStatusEXT, (void))
990 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetGraphicsResetStatus"))
991 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetGraphicsResetStatusEXT"))
992 _EVASGL_EXT_FUNCTION_END()
993 _EVASGL_EXT_FUNCTION_BEGIN(void, glReadnPixelsEXT, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data))
994 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glReadnPixels"))
995 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glReadnPixelsEXT"))
996 _EVASGL_EXT_FUNCTION_END()
997 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetnUniformfvEXT, (GLuint program, GLint location, GLsizei bufSize, float *params))
998 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetnUniformfv"))
999 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetnUniformfvEXT"))
1000 _EVASGL_EXT_FUNCTION_END()
1001 _EVASGL_EXT_FUNCTION_BEGIN(void, glGetnUniformivEXT, (GLuint program, GLint location, GLsizei bufSize, GLint *params))
1002 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetnUniformiv"))
1003 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glGetnUniformivEXT"))
1004 _EVASGL_EXT_FUNCTION_END()
1005_EVASGL_EXT_END()
1006
1007_EVASGL_EXT_BEGIN(sRGB)
1008 _EVASGL_EXT_DRVNAME(GL_EXT_sRGB)
1009_EVASGL_EXT_END()
1010
1011_EVASGL_EXT_BEGIN(texture_compression_dxt1)
1012 _EVASGL_EXT_DRVNAME(GL_EXT_texture_compression_dxt1)
1013_EVASGL_EXT_END()
1014
1015_EVASGL_EXT_BEGIN(texture_lod_bias)
1016 _EVASGL_EXT_DRVNAME(GL_EXT_texture_lod_bias)
1017_EVASGL_EXT_END()
1018
1019_EVASGL_EXT_BEGIN(texture_storage)
1020 _EVASGL_EXT_DRVNAME(GL_EXT_texture_storage)
1021
1022 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexStorage1DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width))
1023 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage1D"))
1024 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage1DEXT"))
1025 _EVASGL_EXT_FUNCTION_END()
1026 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexStorage2DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height))
1027 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage2D"))
1028 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage2DEXT"))
1029 _EVASGL_EXT_FUNCTION_END()
1030 _EVASGL_EXT_FUNCTION_BEGIN(void, glTexStorage3DEXT, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth))
1031 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage3D"))
1032 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTexStorage3DEXT"))
1033 _EVASGL_EXT_FUNCTION_END()
1034 _EVASGL_EXT_FUNCTION_BEGIN(void, glTextureStorage1DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width))
1035 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage1D"))
1036 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage1DEXT"))
1037 _EVASGL_EXT_FUNCTION_END()
1038 _EVASGL_EXT_FUNCTION_BEGIN(void, glTextureStorage2DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height))
1039 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage2D"))
1040 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage2DEXT"))
1041 _EVASGL_EXT_FUNCTION_END()
1042 _EVASGL_EXT_FUNCTION_BEGIN(void, glTextureStorage3DEXT, (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth))
1043 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage3D"))
1044 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glTextureStorage3DEXT"))
1045 _EVASGL_EXT_FUNCTION_END()
1046_EVASGL_EXT_END()
1047
1048_EVASGL_EXT_BEGIN(IMG_texture_env_enhanced_fixed_function)
1049 _EVASGL_EXT_DRVNAME(GL_IMG_texture_env_enhanced_fixed_function)
1050_EVASGL_EXT_END()
1051
1052
1053_EVASGL_EXT_BEGIN(IMG_user_clip_plane)
1054 _EVASGL_EXT_DRVNAME(GL_IMG_user_clip_plane)
1055
1056 _EVASGL_EXT_FUNCTION_BEGIN(void, glClipPlanefIMG, (GLenum, const GLfloat *))
1057 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanef"))
1058 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanefIMG"))
1059 _EVASGL_EXT_FUNCTION_END()
1060 _EVASGL_EXT_FUNCTION_BEGIN(void, glClipPlanexIMG, (GLenum, const GLfixed *))
1061 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanex"))
1062 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glClipPlanexIMG"))
1063 _EVASGL_EXT_FUNCTION_END()
1064_EVASGL_EXT_END()
1065
1066_EVASGL_EXT_BEGIN(QCOM_tiled_rendering)
1067 _EVASGL_EXT_DRVNAME(GL_QCOM_tiled_rendering)
1068
1069 _EVASGL_EXT_FUNCTION_BEGIN(void, glStartTilingQCOM, (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask))
1070 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glStartTilingQCOM"))
1071 _EVASGL_EXT_FUNCTION_END()
1072 _EVASGL_EXT_FUNCTION_BEGIN(void, glEndTilingQCOM, (GLbitfield preserveMask))
1073 _EVASGL_EXT_FUNCTION_DRVFUNC(GETPROCADDR("glEndTilingQCOM"))
1074 _EVASGL_EXT_FUNCTION_END()
1075_EVASGL_EXT_END()
1076
1077
1078///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1079
1080
1081///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
434// EGL EXTENSIONS 1082// EGL EXTENSIONS
435/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 1083///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
436#ifdef GL_GLES 1084#ifdef GL_GLES