Hash :
390900a0
        
        Author :
  
        
        Date :
2018-05-18T09:44:59
        
      
Add support for EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE To support ANGLE for Android need a way to tell ANGLE what library to call when using GL backend. Bug: angleproject:2418 Test: test-opengl-gl2_copyTexImage Change-Id: Ie00251b0672a036db4720e1e5b269f66a30a03da Reviewed-on: https://chromium-review.googlesource.com/1066822 Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: Frank Henigman <fjhenigman@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
Name
    ANGLE_platform_angle_opengl
Name Strings
    EGL_ANGLE_platform_angle_opengl
Contributors
    Shannon Woods, Google
    Geoff Lang, Google
    Courtney Goeltzenleuchter, Google
Contacts
    Geoff Lang, Google (geofflang 'at' chromium 'dot' org)
Status
    Draft
Version
    Version 4, 2018-05-17
Number
    EGL Extension XXX
Extension Type
    EGL client extension
Dependencies
    Requires ANGLE_platform_angle.
Overview
    This extension enables selection of OpenGL display types and,
    for OpenGL ES display types, allows the application to pass
    in a handle to the EGL library to use.
New Types
    None
New Procedures and Functions
    None
New Tokens
    Accepted as values for the EGL_PLATFORM_ANGLE_TYPE_ANGLE attribute:
        EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE               0x320D
        EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE             0x320E
    Accepted as an attribute name in the <attrib_list> argument of
    eglGetPlatformDisplayEXT:
        EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE                0x3480
Additions to the EGL Specification
    None.
New Behavior
    To request a display that translates to OpenGL or OpenGL ES, the value of
    EGL_PLATFORM_ANGLE_TYPE_ANGLE should be:
      - EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE for an OpenGL display,
      - EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE for a native OpenGL ES display.
    To request a specific maximum context version to use for the underlying
    API, EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE and
    EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE can be used.
    To pass in a handle to the system EGL library, use the attribute
    EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE. If EGL_PLATFORM_ANGLE_TYPE_ANGLE
    is not equal to EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE, an
    EGL_BAD_ATTRIBUTE is generated. If the handle provided with
    EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE is not a valid EGL handle,
    behaviour is undefined.
Issues
    None
Revision History
    Version 1, 2014-06-05 (Geoff Lang)
      - Initial draft
    Version 2, 2014-10-27 (Geoff Lang)
      - Moved descriptions of platforms and major/minor versions from
        EGL_ANGLE_platform_angle spec to EGL_ANGLE_platform_angle_opengl.
    Version 3, 2014-11-26 (Geoff Lang)
      - Updated enum values.
    Version 4, 2018-05-17 (Courtney Goeltzenleuchter)
      - Add attribute for specifying underlying EGL library.