Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libnvidia-egl-gbm for 
openSUSE:Factory checked in at 2026-02-04 21:10:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnvidia-egl-gbm (Old)
 and      /work/SRC/openSUSE:Factory/.libnvidia-egl-gbm.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnvidia-egl-gbm"

Wed Feb  4 21:10:10 2026 rev:4 rq:1331011 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnvidia-egl-gbm/libnvidia-egl-gbm.changes      
2025-12-30 12:01:42.375867032 +0100
+++ 
/work/SRC/openSUSE:Factory/.libnvidia-egl-gbm.new.1670/libnvidia-egl-gbm.changes
    2026-02-04 21:10:33.983829718 +0100
@@ -1,0 +2,7 @@
+Wed Feb  4 13:10:58 UTC 2026 - Stefan Dirsch <[email protected]>
+
+- Update to version 1.1.3
+  * egl-gbm: add FP16 DRM format
+- supersedes 0001-egl-gbm-add-FP16-DRM-format.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-egl-gbm-add-FP16-DRM-format.patch
  egl-gbm-1.1.2.1.tar.gz

New:
----
  egl-gbm-1.1.3.tar.gz

----------(Old B)----------
  Old:  * egl-gbm: add FP16 DRM format
- supersedes 0001-egl-gbm-add-FP16-DRM-format.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libnvidia-egl-gbm.spec ++++++
--- /var/tmp/diff_new_pack.dM1zfy/_old  2026-02-04 21:10:35.631898738 +0100
+++ /var/tmp/diff_new_pack.dM1zfy/_new  2026-02-04 21:10:35.639899073 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libnvidia-egl-gbm
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define lname libnvidia-egl-gbm%{so_ver}
 %define rname egl-gbm
 Name:           libnvidia-egl-gbm
-Version:        1.1.2.1
+Version:        1.1.3
 Release:        0
 Summary:        The GBM EGL external platform library
 License:        MIT
@@ -28,7 +28,6 @@
 URL:            https://github.com/NVIDIA/egl-gbm
 Source0:        
https://github.com/NVIDIA/egl-gbm/archive/%{version}/%{rname}-%{version}.tar.gz
 Source1:        baselibs.conf
-Patch0:         0001-egl-gbm-add-FP16-DRM-format.patch
 BuildRequires:  gcc-c++
 BuildRequires:  meson
 BuildRequires:  ninja

++++++ egl-gbm-1.1.2.1.tar.gz -> egl-gbm-1.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/egl-gbm-1.1.2.1/meson.build 
new/egl-gbm-1.1.3/meson.build
--- old/egl-gbm-1.1.2.1/meson.build     2024-09-19 21:14:31.000000000 +0200
+++ new/egl-gbm-1.1.3/meson.build       2025-11-25 01:55:00.000000000 +0100
@@ -1,5 +1,5 @@
 project('egl-gbm', 'c',
-        version : '1.1.2',
+        version : '1.1.3',
         default_options : [
           'buildtype=debugoptimized',
           'c_std=gnu99',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/egl-gbm-1.1.2.1/src/gbm-display.c 
new/egl-gbm-1.1.3/src/gbm-display.c
--- old/egl-gbm-1.1.2.1/src/gbm-display.c       2024-09-19 21:14:31.000000000 
+0200
+++ new/egl-gbm-1.1.3/src/gbm-display.c 2025-11-25 01:55:00.000000000 +0100
@@ -378,7 +378,7 @@
 static uint32_t ConfigToDrmFourCC(GbmDisplay* display, EGLConfig config)
 {
     EGLDisplay dpy = display->devDpy;
-    EGLint r, g, b, a;
+    EGLint r, g, b, a, componentType;
     EGLBoolean ret = EGL_TRUE;
 
     ret &= display->data->egl.GetConfigAttrib(dpy,
@@ -397,6 +397,10 @@
                                               config,
                                               EGL_ALPHA_SIZE,
                                               &a);
+    ret &= display->data->egl.GetConfigAttrib(dpy,
+                                              config,
+                                              EGL_COLOR_COMPONENT_TYPE_EXT,
+                                              &componentType);
 
     if (!ret) {
         /*
@@ -414,19 +418,34 @@
 #define PACK_CONFIG(r_, g_, b_, a_) \
     (((r_) << 24ULL) | ((g_) << 16ULL) | ((b_) << 8ULL) | (a_))
 
-    switch (PACK_CONFIG(r, g, b, a)) {
-    case PACK_CONFIG(8, 8, 8, 0):
-        return DRM_FORMAT_XRGB8888;
-    case PACK_CONFIG(8, 8, 8, 8):
-        return DRM_FORMAT_ARGB8888;
-    case PACK_CONFIG(5, 6, 5, 0):
-        return DRM_FORMAT_RGB565;
-    case PACK_CONFIG(10, 10, 10, 0):
-        return DRM_FORMAT_XRGB2101010;
-    case PACK_CONFIG(10, 10, 10, 2):
-        return DRM_FORMAT_ARGB2101010;
-    default:
-        return 0; /* DRM_FORMAT_INVALID */
+    if (componentType == EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT) {
+        switch (PACK_CONFIG(r, g, b, a)) {
+        case PACK_CONFIG(16, 16, 16, 0):
+            return DRM_FORMAT_XBGR16161616F;
+        case PACK_CONFIG(16, 16, 16, 16):
+            return DRM_FORMAT_ABGR16161616F;
+        default:
+            return 0; /* DRM_FORMAT_INVALID */
+        }
+    } else {
+        switch (PACK_CONFIG(r, g, b, a)) {
+        case PACK_CONFIG(8, 8, 8, 0):
+            return DRM_FORMAT_XRGB8888;
+        case PACK_CONFIG(8, 8, 8, 8):
+            return DRM_FORMAT_ARGB8888;
+        case PACK_CONFIG(5, 6, 5, 0):
+            return DRM_FORMAT_RGB565;
+        case PACK_CONFIG(10, 10, 10, 0):
+            return DRM_FORMAT_XRGB2101010;
+        case PACK_CONFIG(10, 10, 10, 2):
+            return DRM_FORMAT_ARGB2101010;
+        case PACK_CONFIG(16, 16, 16, 0):
+            return DRM_FORMAT_XBGR16161616;
+        case PACK_CONFIG(16, 16, 16, 16):
+            return DRM_FORMAT_ABGR16161616;
+        default:
+            return 0; /* DRM_FORMAT_INVALID */
+        }
     }
 }
 

Reply via email to