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 72 73 74 75
{
"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.",
"",
"egl_get_labeled_object_data.json: Associates entry points and labeled objects.",
"",
"If an entry point has no data in this list it is associated with an",
"EGLDisplay if the EGLDisplay is the first parameter the function.",
"Otherise missing entry points have no association.",
"",
"We omit extension suffixes in this file. The generator takes care of that."
],
"Context": [
"DestroyContext",
"MakeCurrent",
"QueryContext",
"WaitClient"
],
"Device": [
"QueryDeviceAttrib",
"QueryDeviceString",
"ReleaseDevice"
],
"Image": [
"DestroyImage"
],
"LabeledObject": [
"LabelObject"
],
"Stream": [
"CreateStreamProducerD3DTexture",
"DestroyStream",
"QueryStream",
"QueryStreamu64",
"StreamAttrib",
"StreamConsumerAcquire",
"StreamConsumerGLTextureExternal",
"StreamConsumerGLTextureExternalAttribsNV",
"StreamConsumerRelease",
"StreamPostD3DTexture"
],
"Surface": [
"BindTexImage",
"CopyBuffers",
"DestroySurface",
"GetCompositorTiming",
"GetCompositorTimingSupported",
"GetFrameTimestamps",
"GetFrameTimestampSupported",
"GetNextFrameId",
"GetMscRate",
"GetSyncValues",
"PresentationTime",
"QuerySuface",
"ReleaseTexImage",
"SurfaceAttrib",
"SwapBuffers",
"SwapBuffersWithDamage"
],
"Sync": [
"ClientWaitSync",
"DupNativeFenceFD",
"GetSyncAttrib",
"SignalSync",
"WaitSync"
],
"Thread": [
"BindAPI",
"CreateDevice",
"GetPlatformDisplay",
"WaitNative"
]
}