Skip to content

Commit

Permalink
Add EGL bindings in hopes of one day creating an EGL windowing backend (
Browse files Browse the repository at this point in the history
#127)

* Add EGL and fix some trimming issues

* These are EGL bindings.

* Update build.json

* This is EGL.
  • Loading branch information
Perksey authored Feb 18, 2020
1 parent efd074c commit ad2e271
Show file tree
Hide file tree
Showing 32 changed files with 27,014 additions and 25 deletions.
201 changes: 201 additions & 0 deletions Silk.NET.sln

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions build/binder_bakery_info/EGL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"Name": "EGL",
"Implements": [
"egl",
"egl-1.0",
"egl-1.1",
"egl-1.2",
"egl-1.3",
"egl-1.4",
"egl-1.5"
],
"Namespace": "Silk.NET.EGL",
"ExtensionsNamespace": "Silk.NET.EGL.Extensions",
"OutputFolder": "Windowing/EGL",
"NameContainer": {
"Linux": "libEGL.so.1",
"Windows": "libEGL.dll",
"MacOS": "/System/Library/Frameworks/EGL.framework/EGL",
"Android": "libEGL.so.1",
"IOS": "/System/Library/Frameworks/EGL.framework/EGL",
"ClassName": "EGLLibraryNameContainer"
},
"FunctionPrefix": "egl",
"ClassName": "EGL",
"SymbolLoader": "Ultz.SuperInvoke.Loader.LibraryLoader.GetPlatformDefaultLoader()"
}
]
2 changes: 1 addition & 1 deletion build/binder_scripts/build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"Task": "bind",
"Args": ["-i", "../binder_specifications/OpenGL.json", "../binder_specifications/OpenCL.json", "../binder_specifications/GLES.json", "../binder_specifications/OpenGL (Compatibility Profile).json", "../binder_specifications/Vulkan.json", "-o", "../../src", "-l", "../LICENSE_HEADER.txt", "-p", "../props/bindings.props"]
"Args": ["-i", "../binder_specifications/Vulkan.json", "../binder_specifications/OpenGL.json", "../binder_specifications/OpenCL.json", "../binder_specifications/OpenGL (Compatibility Profile).json", "../binder_specifications/GLES.json", "../binder_specifications/EGL.json", "-o", "../../src", "-l", "../LICENSE_HEADER.txt", "-p", "../props/bindings.props"]
}
]
10 changes: 9 additions & 1 deletion build/binder_scripts/fullrun.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"Task": "bake",
"Args": ["-d", "../docs.gl", "-b", "../binder_bakery_info/GL-All.json", "-f", "../binder_specifications", "-p"]
},
{
"Task": "convert",
"Args": ["-p", "egl", "-o", "../binder_specifications", "-i", "https://github.com/KhronosGroup/EGL-Registry/raw/master/api/egl.xml", "-f", "-t", "../binder_typemaps/egl.json", "../binder_typemaps/csharp.json", "../binder_typemaps/aftermap.json", "-r", "gl", "-c", "gl"]
},
{
"Task": "bake",
"Args": ["-b", "../binder_bakery_info/EGL.json", "-f", "../binder_specifications", "-p"]
},
{
"Task": "convert",
"Args": ["-p", "vk", "-o", "../binder_specifications", "-i", "https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/master/xml/vk.xml", "-f", "-t", "../binder_typemaps/vk.json", "../binder_typemaps/csharp.json", "../binder_typemaps/aftermap.json", "-x", "-r", "vk", "-c", "vk"]
Expand All @@ -25,6 +33,6 @@
},
{
"Task": "bind",
"Args": ["-i", "../binder_specifications/Vulkan.json", "../binder_specifications/OpenGL.json", "../binder_specifications/OpenCL.json", "../binder_specifications/OpenGL (Compatibility Profile).json", "../binder_specifications/GLES.json", "-o", "../../src", "-l", "../LICENSE_HEADER.txt", "-p", "../props/bindings.props"]
"Args": ["-i", "../binder_specifications/Vulkan.json", "../binder_specifications/OpenGL.json", "../binder_specifications/OpenCL.json", "../binder_specifications/OpenGL (Compatibility Profile).json", "../binder_specifications/GLES.json", "../binder_specifications/EGL.json", "-o", "../../src", "-l", "../LICENSE_HEADER.txt", "-p", "../props/bindings.props"]
}
]
Loading

0 comments on commit ad2e271

Please sign in to comment.