Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libepoxy merge and update for libepoxy 1.4.3.
details: https://anonhg.NetBSD.org/xsrc/rev/2affefe763f1
branches: trunk
changeset: 10327:2affefe763f1
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jul 09 22:12:25 2019 +0000
description:
merge and update for libepoxy 1.4.3.
diffstat:
external/mit/libepoxy/dist/src/dispatch_common.h | 23 +-
external/mit/libepoxy/include/config.h | 106 +
external/mit/libepoxy/src/egl_generated.h | 509 +-
external/mit/libepoxy/src/egl_generated_dispatch.c | 4583 +-
external/mit/libepoxy/src/gl_generated.h | 23897 +-
external/mit/libepoxy/src/gl_generated_dispatch.c | 112292 ++++++++++++++---
external/mit/libepoxy/src/glx_generated.h | 265 +-
external/mit/libepoxy/src/glx_generated_dispatch.c | 3889 +-
8 files changed, 108959 insertions(+), 36605 deletions(-)
diffs (truncated from 168621 to 300 lines):
diff -r 58bc9ca41ffb -r 2affefe763f1 external/mit/libepoxy/dist/src/dispatch_common.h
--- a/external/mit/libepoxy/dist/src/dispatch_common.h Tue Jul 09 21:55:21 2019 +0000
+++ b/external/mit/libepoxy/dist/src/dispatch_common.h Tue Jul 09 22:12:25 2019 +0000
@@ -35,22 +35,19 @@
#define PLATFORM_HAS_EGL ENABLE_EGL
#define PLATFORM_HAS_GLX 0
#define PLATFORM_HAS_WGL 0
+#elif defined(__NetBSD__)
+# if defined(PLATFORM_HAS_EGL)
+# if defined(__amd64__) || defined(__i386__) || defined(__aarch64__) // XXX evbarm32
+# define PLATFORM_HAS_EGL 1
+# else
+# define PLATFORM_HAS_EGL ENABLE_EGL
+# endif
+# endif
+# define PLATFORM_HAS_GLX 1
+# define PLATFORM_HAS_WGL 0
#else
-# if 0
-#if defined(__NetBSD__) && !defined(PLATFORM_HAS_EGL)
-# if defined(__amd64__) || defined(__i386__) || defined(__aarch64__) // XXX evbarm32
-# define PLATFORM_HAS_EGL 1
-# else
-# define PLATFORM_HAS_EGL 0
-# endif
-#else
-#define PLATFORM_HAS_EGL 1
-#endif
-#define PLATFORM_HAS_GLX 1
-# else
#define PLATFORM_HAS_EGL ENABLE_EGL
#define PLATFORM_HAS_GLX ENABLE_GLX
-# endif
#define PLATFORM_HAS_WGL 0
#endif
diff -r 58bc9ca41ffb -r 2affefe763f1 external/mit/libepoxy/include/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libepoxy/include/config.h Tue Jul 09 22:12:25 2019 +0000
@@ -0,0 +1,106 @@
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* build APPLE is apple (for testing) */
+/* #undef BUILD_APPLE */
+
+/* build EGL tests */
+/* #undef BUILD_EGL */
+
+/* build GLX tests */
+#define BUILD_GLX 1
+
+/* build WGL tests */
+/* #undef BUILD_WGL */
+
+/* Whether EGL support is enabled */
+/* #undef ENABLE_EGL */
+
+/* Whether GLX support is enabled */
+#define ENABLE_GLX 1
+
+/* defines how to decorate public symbols while building */
+#define EPOXY_PUBLIC __attribute__((visibility("default"))) extern
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have <KHR/khrplatform.h> (used for tests) */
+/* #undef HAVE_KHRPLATFORM_H */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "libepoxy"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "https://github.com/anholt/libepoxy"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "libepoxy"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "libepoxy 1.4.3"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libepoxy"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.4.3"
+
+/* Major version of this package */
+#define PACKAGE_VERSION_MAJOR 1
+
+/* Minor version of this package */
+#define PACKAGE_VERSION_MINOR 4
+
+/* Patch version of this package */
+#define PACKAGE_VERSION_PATCHLEVEL 3
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "1.4.3"
+
+/* Enable large inode numbers on Mac OS X 10.5. */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
diff -r 58bc9ca41ffb -r 2affefe763f1 external/mit/libepoxy/src/egl_generated.h
--- a/external/mit/libepoxy/src/egl_generated.h Tue Jul 09 21:55:21 2019 +0000
+++ b/external/mit/libepoxy/src/egl_generated.h Tue Jul 09 22:12:25 2019 +0000
@@ -6,6 +6,7 @@
#include <inttypes.h>
#include <stddef.h>
+#include "epoxy/common.h"
#include "epoxy/gl.h"
#include "EGL/eglplatform.h"
typedef unsigned int EGLBoolean;
@@ -19,6 +20,8 @@
typedef void *EGLDisplay;
typedef void *EGLImage;
typedef void *EGLImageKHR;
+typedef void *EGLLabelKHR;
+typedef void *EGLObjectKHR;
typedef void *EGLOutputLayerEXT;
typedef void *EGLOutputPortEXT;
typedef void *EGLStreamKHR;
@@ -32,6 +35,7 @@
typedef khronos_utime_nanoseconds_t EGLTimeNV;
typedef khronos_utime_nanoseconds_t EGLuint64NV;
typedef khronos_uint64_t EGLuint64KHR;
+typedef khronos_stime_nanoseconds_t EGLnsecsANDROID;
typedef int EGLNativeFileDescriptorKHR;
typedef khronos_ssize_t EGLsizeiANDROID;
typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
@@ -42,6 +46,14 @@
EGLint iHeight;
EGLint iStride;
};
+typedef void (APIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);
+#if !defined(EGL_CAST)
+#if defined(__cplusplus)
+#define EGL_CAST(type, value) (static_cast<type>(value))
+#else
+#define EGL_CAST(type, value) ((type) (value))
+#endif
+#endif
#define EGL_VERSION_1_0 1
#define EGL_VERSION_1_1 1
@@ -51,46 +63,65 @@
#define EGL_VERSION_1_5 1
#define EGL_ANDROID_blob_cache 1
+#define EGL_ANDROID_create_native_client_buffer 1
#define EGL_ANDROID_framebuffer_target 1
+#define EGL_ANDROID_front_buffer_auto_refresh 1
#define EGL_ANDROID_image_native_buffer 1
#define EGL_ANDROID_native_fence_sync 1
+#define EGL_ANDROID_presentation_time 1
#define EGL_ANDROID_recordable 1
#define EGL_ANGLE_d3d_share_handle_client_buffer 1
#define EGL_ANGLE_device_d3d 1
#define EGL_ANGLE_query_surface_pointer 1
#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
#define EGL_ANGLE_window_fixed_size 1
+#define EGL_ARM_implicit_external_sync 1
#define EGL_ARM_pixmap_multisample_discard 1
#define EGL_EXT_buffer_age 1
#define EGL_EXT_client_extensions 1
+#define EGL_EXT_compositor 1
#define EGL_EXT_create_context_robustness 1
#define EGL_EXT_device_base 1
#define EGL_EXT_device_drm 1
#define EGL_EXT_device_enumeration 1
#define EGL_EXT_device_openwf 1
#define EGL_EXT_device_query 1
+#define EGL_EXT_gl_colorspace_bt2020_linear 1
+#define EGL_EXT_gl_colorspace_bt2020_pq 1
+#define EGL_EXT_gl_colorspace_display_p3 1
+#define EGL_EXT_gl_colorspace_display_p3_linear 1
+#define EGL_EXT_gl_colorspace_scrgb_linear 1
#define EGL_EXT_image_dma_buf_import 1
+#define EGL_EXT_image_dma_buf_import_modifiers 1
#define EGL_EXT_multiview_window 1
#define EGL_EXT_output_base 1
#define EGL_EXT_output_drm 1
#define EGL_EXT_output_openwf 1
+#define EGL_EXT_pixel_format_float 1
#define EGL_EXT_platform_base 1
#define EGL_EXT_platform_device 1
#define EGL_EXT_platform_wayland 1
#define EGL_EXT_platform_x11 1
+#define EGL_EXT_protected_content 1
#define EGL_EXT_protected_surface 1
#define EGL_EXT_stream_consumer_egloutput 1
+#define EGL_EXT_surface_CTA861_3_metadata 1
+#define EGL_EXT_surface_SMPTE2086_metadata 1
#define EGL_EXT_swap_buffers_with_damage 1
#define EGL_EXT_yuv_surface 1
#define EGL_HI_clientpixmap 1
#define EGL_HI_colorformats 1
#define EGL_IMG_context_priority 1
+#define EGL_IMG_image_plane_attribs 1
#define EGL_KHR_cl_event 1
#define EGL_KHR_cl_event2 1
#define EGL_KHR_client_get_all_proc_addresses 1
#define EGL_KHR_config_attribs 1
+#define EGL_KHR_context_flush_control 1
#define EGL_KHR_create_context 1
#define EGL_KHR_create_context_no_error 1
+#define EGL_KHR_debug 1
+#define EGL_KHR_display_reference 1
#define EGL_KHR_fence_sync 1
#define EGL_KHR_get_all_proc_addresses 1
#define EGL_KHR_gl_colorspace 1
@@ -104,6 +135,8 @@
#define EGL_KHR_lock_surface 1
#define EGL_KHR_lock_surface2 1
#define EGL_KHR_lock_surface3 1
+#define EGL_KHR_mutable_render_buffer 1
+#define EGL_KHR_no_config_context 1
#define EGL_KHR_partial_update 1
#define EGL_KHR_platform_android 1
#define EGL_KHR_platform_gbm 1
@@ -111,6 +144,7 @@
#define EGL_KHR_platform_x11 1
#define EGL_KHR_reusable_sync 1
#define EGL_KHR_stream 1
+#define EGL_KHR_stream_attrib 1
#define EGL_KHR_stream_consumer_gltexture 1
#define EGL_KHR_stream_cross_process_fd 1
#define EGL_KHR_stream_fifo 1
@@ -123,6 +157,7 @@
#define EGL_MESA_drm_image 1
#define EGL_MESA_image_dma_buf_export 1
#define EGL_MESA_platform_gbm 1
+#define EGL_MESA_platform_surfaceless 1
#define EGL_NOK_swap_region 1
#define EGL_NOK_swap_region2 1
#define EGL_NOK_texture_from_pixmap 1
@@ -135,40 +170,44 @@
#define EGL_NV_native_query 1
#define EGL_NV_post_convert_rounding 1
#define EGL_NV_post_sub_buffer 1
+#define EGL_NV_robustness_video_memory_purge 1
+#define EGL_NV_stream_consumer_gltexture_yuv 1
+#define EGL_NV_stream_cross_display 1
+#define EGL_NV_stream_cross_object 1
+#define EGL_NV_stream_cross_partition 1
+#define EGL_NV_stream_cross_process 1
+#define EGL_NV_stream_cross_system 1
+#define EGL_NV_stream_fifo_next 1
+#define EGL_NV_stream_fifo_synchronous 1
+#define EGL_NV_stream_frame_limits 1
+#define EGL_NV_stream_metadata 1
+#define EGL_NV_stream_remote 1
+#define EGL_NV_stream_reset 1
+#define EGL_NV_stream_socket 1
+#define EGL_NV_stream_socket_inet 1
+#define EGL_NV_stream_socket_unix 1
Home |
Main Index |
Thread Index |
Old Index