Hash :
3f564fc7
Author :
Date :
2020-11-23T13:59:17
EGL: Generate entry points. This adds two final auto-generated files for the EGL and EXT extension entry points. It adds a new data file that stores a mapping between object types and entry points for associating labeled objects with certain methods. When we generate errors we record the associated object in the debug message output. This places the remainder of the hand-written code in "stub" files. Going forward the work for implementing new extension entry points for EGL will be to update the registry XML files and then implement the corresponding stub methods. Event logging, parameter packing, and validation are all handled by the auto-generated code. Bug: angleproject:2621 Change-Id: I28153432802c37b929ff2ea1e1a3e3ce9de91605 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2562680 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Tim Van Patten <timvp@google.com>
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
{
"description": [
"Copyright 2020 The ANGLE Project Authors. All rights reserved.",
"Use of this source code is governed by a BSD-style license that can be",
"found in the LICENSE file.",
"",
"entry_point_packed_egl_enums.json: Metadata for packing entry point params.",
"",
"Note that all entry points have their suffixes stripped in this file.",
"These enums are used by generate_entry_points.py."
],
"eglChooseConfig": {
"attrib_list": "const AttributeMap &"
},
"eglCreateContext": {
"attrib_list": "const AttributeMap &"
},
"eglCreateImage": {
"attrib_list": "const AttributeMap &"
},
"eglCreateNativeClientBuffer": {
"attrib_list": "const AttributeMap &"
},
"eglCreatePbufferSurface": {
"attrib_list": "const AttributeMap &"
},
"eglCreatePixmapSurface": {
"attrib_list": "const AttributeMap &"
},
"eglCreatePbufferFromClientBuffer": {
"attrib_list": "const AttributeMap &"
},
"eglCreatePlatformPixmapSurface": {
"attrib_list": "const AttributeMap &"
},
"eglCreatePlatformWindowSurface": {
"attrib_list": "const AttributeMap &"
},
"eglCreateStream": {
"attrib_list": "const AttributeMap &"
},
"eglCreateStreamProducerD3DTexture": {
"attrib_list": "const AttributeMap &"
},
"eglCreateSync": {
"attrib_list": "const AttributeMap &"
},
"eglCreateWindowSurface": {
"attrib_list": "const AttributeMap &"
},
"eglDebugMessageControl": {
"attrib_list": "const AttributeMap &"
},
"eglGetCompositorTimingSupported": {
"name": "CompositorTiming"
},
"eglGetFrameTimestampSupported": {
"timestamp": "Timestamp"
},
"eglGetPlatformDisplay": {
"attrib_list": "const AttributeMap &"
},
"eglLabelObject": {
"objectType": "ObjectType"
},
"eglStreamConsumerGLTextureExternalAttribsNV": {
"attrib_list": "const AttributeMap &"
},
"eglStreamPostD3DTexture": {
"attrib_list": "const AttributeMap &"
}
}