!32 添加fangtian 宏
From: @yanansong Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
1c678ad5cc
28
export_fangtian_extra_ext_header.patch
Normal file
28
export_fangtian_extra_ext_header.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
|
||||||
|
index 94dd038..a3a4e3c 100644
|
||||||
|
--- a/include/EGL/eglext.h
|
||||||
|
+++ b/include/EGL/eglext.h
|
||||||
|
@@ -276,6 +276,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface
|
||||||
|
#define EGL_PLATFORM_GBM_KHR 0x31D7
|
||||||
|
#endif /* EGL_KHR_platform_gbm */
|
||||||
|
|
||||||
|
+#ifndef EGL_KHR_platform_ohos
|
||||||
|
+#define EGL_KHR_platform_ohos 1
|
||||||
|
+#define EGL_PLATFORM_OHOS_KHR 0x34E0
|
||||||
|
+#endif /* EGL_KHR_platform_ohos */
|
||||||
|
+
|
||||||
|
#ifndef EGL_KHR_platform_wayland
|
||||||
|
#define EGL_KHR_platform_wayland 1
|
||||||
|
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
||||||
|
@@ -1402,6 +1407,11 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
|
||||||
|
#define EGL_TRIPLE_BUFFER_NV 0x3230
|
||||||
|
#endif /* EGL_NV_triple_buffer */
|
||||||
|
|
||||||
|
+#ifndef EGL_OHOS_image_native_buffer
|
||||||
|
+#define EGL_OHOS_image_native_buffer 1
|
||||||
|
+#define EGL_NATIVE_BUFFER_OHOS 0x34E1
|
||||||
|
+#endif /* EGL_OHOS_image_native_buffer */
|
||||||
|
+
|
||||||
|
#ifndef EGL_TIZEN_image_native_buffer
|
||||||
|
#define EGL_TIZEN_image_native_buffer 1
|
||||||
|
#define EGL_NATIVE_BUFFER_TIZEN 0x32A0
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libglvnd
|
Name: libglvnd
|
||||||
Version: 1.3.4
|
Version: 1.3.4
|
||||||
Release: 3
|
Release: 4
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: The GL Vendor-Neutral Dispatch library
|
Summary: The GL Vendor-Neutral Dispatch library
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -9,6 +9,7 @@ Source0: https://github.com/NVIDIA/libglvnd/archive/v%{version}/%{name}-%
|
|||||||
|
|
||||||
Patch6000: backport-libglvnd-python3.patch
|
Patch6000: backport-libglvnd-python3.patch
|
||||||
Patch6001: backport-0001-glx-Add-another-fallback-library-name.patch
|
Patch6001: backport-0001-glx-Add-another-fallback-library-name.patch
|
||||||
|
Patch6002: export_fangtian_extra_ext_header.patch
|
||||||
|
|
||||||
BuildRequires: libtool xorg-x11-server-Xvfb pkgconfig(xext) pkgconfig(x11)
|
BuildRequires: libtool xorg-x11-server-Xvfb pkgconfig(xext) pkgconfig(x11)
|
||||||
BuildRequires: gcc python3-rpm-macros python3-libxml2 pkgconfig(glproto) make
|
BuildRequires: gcc python3-rpm-macros python3-libxml2 pkgconfig(glproto) make
|
||||||
@ -170,6 +171,9 @@ xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || (cat `find . -name test-
|
|||||||
%{_libdir}/pkgconfig/opengl.pc
|
%{_libdir}/pkgconfig/opengl.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 30 2023 yanansong <songyanan5@huawei.com> - 1:1.3.4-4
|
||||||
|
- export fangtian macro
|
||||||
|
|
||||||
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 1:1.3.4-3
|
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 1:1.3.4-3
|
||||||
- rebuild for next release
|
- rebuild for next release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user