Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Khronos EGL bindings #546

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gl_generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gl_generator"
version = "0.14.1"
version = "0.14.0"
authors = [
"Brendan Zabarauskas <[email protected]>",
"Corey Richardson",
Expand Down
2 changes: 2 additions & 0 deletions gl_generator/registry/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
//"Bool" => "types::Bool",
"EGLBoolean" => "types::EGLBoolean",
"EGLenum" => "types::EGLenum",
"EGLenum *" => "*mut types::EGLenum",
"EGLAttribKHR" => "types::EGLAttribKHR",
"EGLAttrib" => "types::EGLAttrib",
"EGLAttrib *" => "*mut types::EGLAttrib",
Expand All @@ -1048,6 +1049,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
},
"EGLImageKHR" => "types::EGLImageKHR",
"EGLImage" => "types::EGLImage",
"EGLImage *" => "*mut types::EGLImage",
"EGLOutputLayerEXT" => "types::EGLOutputLayerEXT",
"EGLOutputPortEXT" => "types::EGLOutputPortEXT",
"EGLSyncKHR" => "types::EGLSyncKHR",
Expand Down
2 changes: 1 addition & 1 deletion khronos_api/api_egl
Submodule api_egl updated 52 files
+10 −0 CODE_OF_CONDUCT.adoc
+0 −1 CODE_OF_CONDUCT.md
+7 −8 README.md
+3 −0 api/1.0/EGL/egl.h
+4 −34 api/1.1/EGL/egl.h
+4 −0 api/1.2/EGL/egl.h
+4 −23 api/EGL/egl.h
+135 −23 api/EGL/eglext.h
+24 −31 api/EGL/eglplatform.h
+25 −4 api/KHR/khrplatform.h
+2 −13 api/Makefile
+257 −30 api/egl.xml
+5 −0 api/egltest.c
+4 −34 api/genheaders.py
+6 −17 api/reg.py
+2 −20 api/registry.rnc
+68 −0 extensions/ANDROID/EGL_ANDROID_telemetry_hint.txt
+99 −0 extensions/ANGLE/EGL_ANGLE_sync_control_rate.txt
+3 −1 extensions/EXT/EGL_EXT_buffer_age.txt
+114 −0 extensions/EXT/EGL_EXT_config_select_group.txt
+106 −0 extensions/EXT/EGL_EXT_device_drm_render_node.txt
+202 −0 extensions/EXT/EGL_EXT_device_persistent_id.txt
+104 −0 extensions/EXT/EGL_EXT_device_query_name.txt
+193 −0 extensions/EXT/EGL_EXT_display_alloc.txt
+136 −0 extensions/EXT/EGL_EXT_explicit_device.txt
+27 −1 extensions/EXT/EGL_EXT_gl_colorspace_bt2020_linear.txt
+1 −1 extensions/EXT/EGL_EXT_platform_device.txt
+382 −0 extensions/EXT/EGL_EXT_platform_xcb.txt
+118 −0 extensions/EXT/EGL_EXT_present_opaque.txt
+16 −2 extensions/EXT/EGL_EXT_protected_content.txt
+79 −0 extensions/EXT/EGL_EXT_query_reset_notification_strategy.txt
+289 −0 extensions/EXT/EGL_EXT_surface_compression.txt
+1 −1 extensions/EXT/EGL_EXT_yuv_surface.txt
+1 −1 extensions/KHR/EGL_KHR_debug.txt
+12 −0 extensions/KHR/EGL_KHR_platform_wayland.txt
+367 −0 extensions/NV/EGL_NV_stream_consumer_eglimage.txt
+93 −0 extensions/NV/EGL_NV_stream_consumer_eglimage_use_scanout_attrib.txt
+98 −0 extensions/QNX/EGL_QNX_image_native_buffer.txt
+89 −0 extensions/QNX/EGL_QNX_platform_screen.txt
+31 −8 index.php
+94 −10 registry.tcl
+1 −3 sdk/docs/man/eglCreateContext.xml
+1 −1 sdk/docs/man/eglCreatePbufferSurface.xml
+4 −11 sdk/docs/man/eglCreatePlatformPixmapSurface.xml
+3 −11 sdk/docs/man/eglCreatePlatformWindowSurface.xml
+1 −1 sdk/docs/man/eglQueryAPI.xml
+2 −4 sdk/docs/man/html/eglCreateContext.xhtml
+2 −2 sdk/docs/man/html/eglCreatePbufferSurface.xhtml
+5 −12 sdk/docs/man/html/eglCreatePlatformPixmapSurface.xhtml
+4 −12 sdk/docs/man/html/eglCreatePlatformWindowSurface.xhtml
+2 −2 sdk/docs/man/html/eglQueryAPI.xhtml
+1 −1 sdk/docs/man/html/start.html