All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5
@ 2019-09-10 18:11 Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 1/9] chromium-ozone-wayland: remove virtual/libgl from DEPENDS list Eric Ruei
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

These patches enable mesa-based EGL1.5 build with chromium-ozone-wayland v75
as an engineering release for early integration of chromium-based user
interface development.

An experimental or  engineering branch should be created for those patches.

Eric Ruei (9):
  chromium-ozone-wayland: remove virtual/libgl from DEPENDS list
  HACK: matrix-gui-machinevision-demos: remove point-cloud-viewer
  HACK: packagegroup-arago-test-addons: remove omapdrmtest
  packagegroup-arago-tisdk-multimedia: rename chromium-wayland
  HACK: weston: undefine HAVE_GBM_MODIFIERS unconditionally
  HACK: qtwebkit: sync up the khrplatform.h under ANGLE/include/KHR with
    the one provided by mesa-egl
  HACK: libepoxy: replace local definitions with khrplatform.h at
    gen_dispatch
  packagegroup-arago-tisdk-graphics: replace chromium-wayland with
    chromium-ozone-wayland
  HACK: ti-sgx-ddk-um: take AM5 binaries from mesa-egl based
    experimental branch

 .../chromium-ozone-wayland_%.bbappend         |  5 ++
 ...atrix-gui-machinevision-demos_2.0.bbappend |  5 ++
 .../packagegroup-arago-test-addons.bbappend   |  6 ++-
 ...packagegroup-arago-tisdk-graphics.bbappend | 18 ++++++-
 ...ckagegroup-arago-tisdk-multimedia.bbappend |  8 +--
 ...h-use-KHR-khrplatform.h-instead-of-l.patch | 50 +++++++++++++++++++
 .../libepoxy/libepoxy_1.5.2.bbappend          |  7 +++
 .../ti-sgx-ddk-um_1.17.4948957.bbappend       | 21 ++++++++
 ...mposito-drm-undef-HAVE_GBM_MODIFIERS.patch | 29 +++++++++++
 .../wayland/weston_5.0.0.bbappend             |  3 +-
 ...atform.h-add-define-MESA_EGL_NO_X11_.patch | 28 +++++++++++
 recipes-qt/qt5/qtwebkit_%.bbappend            | 10 ++++
 12 files changed, 183 insertions(+), 7 deletions(-)
 create mode 100644 recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
 create mode 100644 recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bbappend
 create mode 100644 recipes-graphics/libepoxy/libepoxy/0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch
 create mode 100644 recipes-graphics/libepoxy/libepoxy_1.5.2.bbappend
 create mode 100644 recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bbappend
 create mode 100644 recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
 create mode 100644 recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch
 create mode 100644 recipes-qt/qt5/qtwebkit_%.bbappend

-- 
2.17.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 1/9] chromium-ozone-wayland: remove virtual/libgl from DEPENDS list
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 2/9] HACK: matrix-gui-machinevision-demos: remove point-cloud-viewer Eric Ruei
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

virtual/libgl is not required by the chromium-ozone-wayland for TI Sitara
build options

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 recipes-browser/chromium/chromium-ozone-wayland_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-browser/chromium/chromium-ozone-wayland_%.bbappend

diff --git a/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend b/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
new file mode 100644
index 0000000..6ee504b
--- /dev/null
+++ b/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
@@ -0,0 +1,5 @@
+PR_append = ".tisdk0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+DEPENDS_remove = "virtual/libgl"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 2/9] HACK: matrix-gui-machinevision-demos: remove point-cloud-viewer
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 1/9] chromium-ozone-wayland: remove virtual/libgl from DEPENDS list Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 3/9] HACK: packagegroup-arago-test-addons: remove omapdrmtest Eric Ruei
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

point-cloud-view build failed with mesa-based egl. Remove it tentatively

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../matrix/matrix-gui-machinevision-demos_2.0.bbappend       | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bbappend

diff --git a/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bbappend b/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bbappend
new file mode 100644
index 0000000..8ce44fa
--- /dev/null
+++ b/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bbappend
@@ -0,0 +1,5 @@
+PR_append = ".tisdk0"
+
+RDEPENDS_matrix-machinevision-demo-dlp3dscanner_remove_dra7xx = " \
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','point-cloud-viewer','',d)} \
+"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 3/9] HACK: packagegroup-arago-test-addons: remove omapdrmtest
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 1/9] chromium-ozone-wayland: remove virtual/libgl from DEPENDS list Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 2/9] HACK: matrix-gui-machinevision-demos: remove point-cloud-viewer Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 4/9] packagegroup-arago-tisdk-multimedia: rename chromium-wayland Eric Ruei
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

omapdrmtest does not build with mesa-based egl, remove it tentatively

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../packagegroups/packagegroup-arago-test-addons.bbappend   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-arago-test-addons.bbappend b/recipes-core/packagegroups/packagegroup-arago-test-addons.bbappend
index 0a8d834..ad03d30 100644
--- a/recipes-core/packagegroups/packagegroup-arago-test-addons.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-test-addons.bbappend
@@ -1,4 +1,4 @@
-PR_append = ".tisdk10"
+PR_append = ".tisdk11"
 
 TEST_ADDONS_TI_append_keystone = " \
     mmap-lld-test \
@@ -26,3 +26,7 @@ TEST_ADDONS_TI_append_am57xx-evm = " \
 TEST_ADDONS_TI_append_am335x-evm  = " icss-emac-lld-test"
 TEST_ADDONS_TI_append_am437x-evm  = " icss-emac-lld-test"
 TEST_ADDONS_TI_append_k2g-evm  = " icss-emac-lld-test"
+
+TEST_ADDONS_TI_remove_omap-a15 = " \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)} \
+    "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 4/9] packagegroup-arago-tisdk-multimedia: rename chromium-wayland
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (2 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 3/9] HACK: packagegroup-arago-test-addons: remove omapdrmtest Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 5/9] HACK: weston: undefine HAVE_GBM_MODIFIERS unconditionally Eric Ruei
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

chromium-wayland has been renamed to chromium-ozone-wayland at new recipes

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../packagegroup-arago-tisdk-multimedia.bbappend          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bbappend
index c48ba85..fe422c5 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bbappend
@@ -1,14 +1,14 @@
-PR_append = ".tisdk3"
+PR_append = ".tisdk4"
 
 MULTIMEDIA_append_omap-a15 = " \
-    ${@['','chromium-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
+    ${@['','chromium-ozone-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
     ${@bb.utils.contains('MACHINE_FEATURES', 'gpu', 'video-graphics-test', '', d)} \
 "
 
 MULTIMEDIA_append_ti43x = " \
-    ${@['','chromium-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
+    ${@['','chromium-ozone-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
 "
 
 MULTIMEDIA_append_ti33x = " \
-    ${@['','chromium-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
+    ${@['','chromium-ozone-wayland'][bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'wayland', True, False, d)]} \
 "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 5/9] HACK: weston: undefine HAVE_GBM_MODIFIERS unconditionally
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (3 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 4/9] packagegroup-arago-tisdk-multimedia: rename chromium-wayland Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 6/9] HACK: qtwebkit: sync up the khrplatform.h under ANGLE/include/KHR with the one provided by mesa-egl Eric Ruei
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

HAVE_GBM_MODIFIERS has not been fully supported by MESA-based egl yet.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 ...mposito-drm-undef-HAVE_GBM_MODIFIERS.patch | 29 +++++++++++++++++++
 .../wayland/weston_5.0.0.bbappend             |  3 +-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch

diff --git a/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch b/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
new file mode 100644
index 0000000..56a78e4
--- /dev/null
+++ b/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
@@ -0,0 +1,29 @@
+From e406b4141c23fb762a14a09d565c363ebaccb5a4 Mon Sep 17 00:00:00 2001
+From: Eric Ruei <e-ruei1@ti.com>
+Date: Sun, 1 Sep 2019 08:28:27 -0400
+Subject: [PATCH] HACK: composito-drm: undef HAVE_GBM_MODIFIERS
+
+HAVE_GBM_MODIFIERS is defined, but not fully supported by the gbm module
+yet.
+
+Signed-off-by: Eric Ruei <e-ruei1@ti.com>
+---
+ libweston/compositor-drm.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
+index d92ecfcd..88f845a8 100644
+--- a/libweston/compositor-drm.c
++++ b/libweston/compositor-drm.c
+@@ -68,6 +68,8 @@
+ #include "linux-dmabuf-unstable-v1-server-protocol.h"
+ #include "linux-explicit-synchronization.h"
+ 
++#undef HAVE_GBM_MODIFIERS
++
+ #ifndef DRM_CLIENT_CAP_ASPECT_RATIO
+ #define DRM_CLIENT_CAP_ASPECT_RATIO	4
+ #endif
+-- 
+2.17.1
+
diff --git a/recipes-graphics/wayland/weston_5.0.0.bbappend b/recipes-graphics/wayland/weston_5.0.0.bbappend
index 379f110..e95f38b 100644
--- a/recipes-graphics/wayland/weston_5.0.0.bbappend
+++ b/recipes-graphics/wayland/weston_5.0.0.bbappend
@@ -1,7 +1,8 @@
-PR_append = ".tisdk0"
+PR_append = ".tisdk1"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += " \
 	file://0001-Add-soc-performance-monitor-utilites.patch \
+	file://0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch \
 "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 6/9] HACK: qtwebkit: sync up the khrplatform.h under ANGLE/include/KHR with the one provided by mesa-egl
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (4 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 5/9] HACK: weston: undefine HAVE_GBM_MODIFIERS unconditionally Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 7/9] HACK: libepoxy: replace local definitions with khrplatform.h at gen_dispatch Eric Ruei
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

Note: This khrplatform.h should not be used, but it is for some include
path search. Add "#define MESA_EGL_NO_X11_HEADERS" to be consistent with
the one provided by mesa-egl

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 ...atform.h-add-define-MESA_EGL_NO_X11_.patch | 28 +++++++++++++++++++
 recipes-qt/qt5/qtwebkit_%.bbappend            | 10 +++++++
 2 files changed, 38 insertions(+)
 create mode 100644 recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch
 create mode 100644 recipes-qt/qt5/qtwebkit_%.bbappend

diff --git a/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch b/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch
new file mode 100644
index 0000000..c6022ef
--- /dev/null
+++ b/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch
@@ -0,0 +1,28 @@
+From c969fa7eedb3bce04c8f48caf469a46361437aa7 Mon Sep 17 00:00:00 2001
+From: Eric Ruei <e-ruei1@ti.com>
+Date: Fri, 30 Aug 2019 17:41:13 -0400
+Subject: [PATCH] HACK: ANGLE/khrplatform.h: add #define
+ MESA_EGL_NO_X11_HEADERS
+
+Note: Only the KHR/khrplatform.h at sysroot/usr/include should be used.
+      This patch is a tentative workaround to make both files compatible
+
+Signed-off-by: Eric Ruei <e-ruei1@ti.com>
+---
+ Source/ThirdParty/ANGLE/include/KHR/khrplatform.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h b/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h
+index c9e6f17d3..4e3ff69a8 100644
+--- a/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h
++++ b/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h
+@@ -279,4 +279,6 @@ typedef enum {
+     KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
+ } khronos_boolean_enum_t;
+ 
++#define MESA_EGL_NO_X11_HEADERS
++
+ #endif /* __khrplatform_h_ */
+-- 
+2.17.1
+
diff --git a/recipes-qt/qt5/qtwebkit_%.bbappend b/recipes-qt/qt5/qtwebkit_%.bbappend
new file mode 100644
index 0000000..d51ab64
--- /dev/null
+++ b/recipes-qt/qt5/qtwebkit_%.bbappend
@@ -0,0 +1,10 @@
+PR_append = ".tisdk0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+
+SRC_URI += "\
+    file://0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch \
+"
+
+
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 7/9] HACK: libepoxy: replace local definitions with khrplatform.h at gen_dispatch
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (5 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 6/9] HACK: qtwebkit: sync up the khrplatform.h under ANGLE/include/KHR with the one provided by mesa-egl Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 8/9] packagegroup-arago-tisdk-graphics: replace chromium-wayland with chromium-ozone-wayland Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 9/9] HACK: ti-sgx-ddk-um: take AM5 binaries from mesa-egl based experimental branch Eric Ruei
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

The local definitions are not consistent with khrplatform.h. Replace them
with #include <KHR/khrplatform.h"

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 ...h-use-KHR-khrplatform.h-instead-of-l.patch | 50 +++++++++++++++++++
 .../libepoxy/libepoxy_1.5.2.bbappend          |  7 +++
 2 files changed, 57 insertions(+)
 create mode 100644 recipes-graphics/libepoxy/libepoxy/0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch
 create mode 100644 recipes-graphics/libepoxy/libepoxy_1.5.2.bbappend

diff --git a/recipes-graphics/libepoxy/libepoxy/0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch b/recipes-graphics/libepoxy/libepoxy/0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch
new file mode 100644
index 0000000..08709b7
--- /dev/null
+++ b/recipes-graphics/libepoxy/libepoxy/0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch
@@ -0,0 +1,50 @@
+From 5f478733715e1a09b5040fe423e9238085875e8a Mon Sep 17 00:00:00 2001
+From: Eric Ruei <e-ruei1@ti.com>
+Date: Fri, 30 Aug 2019 18:06:15 -0400
+Subject: [PATCH] HACK: gen_dispatch: use <KHR/khrplatform.h> instead of local
+ definitions
+
+The common <KHR/khrplatform.h> should be used instead of local definitions
+
+Signed-off-by: Eric Ruei <e-ruei1@ti.com>
+---
+ src/gen_dispatch.py | 13 +------------
+ 1 file changed, 1 insertion(+), 12 deletions(-)
+
+diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py
+index 28dad2b..5458414 100755
+--- a/src/gen_dispatch.py
++++ b/src/gen_dispatch.py
+@@ -506,28 +506,17 @@ class Generator(object):
+             # don't directly include khrplatform.h because it's not
+             # present on many systems, and coming up with #ifdefs to
+             # decide when it's not present would be hard.
+-            self.outln('#define __khrplatform_h_ 1')
+             self.outln('typedef int8_t khronos_int8_t;')
+             self.outln('typedef int16_t khronos_int16_t;')
+-            self.outln('typedef int32_t khronos_int32_t;')
+-            self.outln('typedef int64_t khronos_int64_t;')
+             self.outln('typedef uint8_t khronos_uint8_t;')
+             self.outln('typedef uint16_t khronos_uint16_t;')
+-            self.outln('typedef uint32_t khronos_uint32_t;')
+-            self.outln('typedef uint64_t khronos_uint64_t;')
+             self.outln('typedef float khronos_float_t;')
+             self.outln('typedef long khronos_intptr_t;')
+             self.outln('typedef long khronos_ssize_t;')
+             self.outln('typedef unsigned long khronos_usize_t;')
+             self.outln('typedef uint64_t khronos_utime_nanoseconds_t;')
+             self.outln('typedef int64_t khronos_stime_nanoseconds_t;')
+-            self.outln('#define KHRONOS_MAX_ENUM 0x7FFFFFFF')
+-            self.outln('typedef enum {')
+-            self.outln('    KHRONOS_FALSE = 0,')
+-            self.outln('    KHRONOS_TRUE  = 1,')
+-            self.outln('    KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM')
+-            self.outln('} khronos_boolean_enum_t;')
+-            self.outln('typedef uintptr_t khronos_uintptr_t;')
++            self.outln('#include <KHR/khrplatform.h>')
+ 
+         if self.target == "glx":
+             self.outln('#include <X11/Xlib.h>')
+-- 
+2.17.1
+
diff --git a/recipes-graphics/libepoxy/libepoxy_1.5.2.bbappend b/recipes-graphics/libepoxy/libepoxy_1.5.2.bbappend
new file mode 100644
index 0000000..c4b82dc
--- /dev/null
+++ b/recipes-graphics/libepoxy/libepoxy_1.5.2.bbappend
@@ -0,0 +1,7 @@
+PR_append = ".tisdk0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += " \
+	file://0001-HACK-gen_dispatch-use-KHR-khrplatform.h-instead-of-l.patch \
+"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 8/9] packagegroup-arago-tisdk-graphics: replace chromium-wayland with chromium-ozone-wayland
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (6 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 7/9] HACK: libepoxy: replace local definitions with khrplatform.h at gen_dispatch Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 9/9] HACK: ti-sgx-ddk-um: take AM5 binaries from mesa-egl based experimental branch Eric Ruei
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

chromium-wayland has been renamed to chromium-ozone-wayland at the latest
meta-browser

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../packagegroup-arago-tisdk-graphics.bbappend | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bbappend
index ac1f1f5..288233a 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bbappend
@@ -1,10 +1,26 @@
-PR_append = ".tisdk10"
+PR_append = ".tisdk11"
 
 GRAPHICS_DEMO = ""
 GRAPHICS_DEMO_omap-a15 = "\
     kmscube \
 "
 
+GRAPHICS_WAYLAND_remove_omap-a15 = "\
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','chromium-wayland','',d)} \
+"
+
+GRAPHICS_WAYLAND_remove_k3 = "\
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','chromium-wayland','',d)} \
+"
+
+GRAPHICS_WAYLAND_append_omap-a15 = "\
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','chromium-ozone-wayland','',d)} \
+"
+
+GRAPHICS_WAYLAND_append_k3 = "\
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','chromium-ozone-wayland','',d)} \
+"
+
 GRAPHICS_RDEPENDS_remove = "\
     ${@bb.utils.contains('MACHINE_FEATURES', 'gpu', '', 'ti-sgx-ddk-km', d)} \
 "
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-processor-sdk][PATCH 9/9] HACK: ti-sgx-ddk-um: take AM5 binaries from mesa-egl based experimental branch
  2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
                   ` (7 preceding siblings ...)
  2019-09-10 18:11 ` [meta-processor-sdk][PATCH 8/9] packagegroup-arago-tisdk-graphics: replace chromium-wayland with chromium-ozone-wayland Eric Ruei
@ 2019-09-10 18:11 ` Eric Ruei
  8 siblings, 0 replies; 10+ messages in thread
From: Eric Ruei @ 2019-09-10 18:11 UTC (permalink / raw)
  To: meta-arago

Take AM5 binaries from mesa-egl based experimental branch for early
engineering integration.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../ti-sgx-ddk-um_1.17.4948957.bbappend       | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bbappend

diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bbappend b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bbappend
new file mode 100644
index 0000000..313f9c4
--- /dev/null
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bbappend
@@ -0,0 +1,21 @@
+PR_append = ".tisdk1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+BRANCH = "dev/thud/${PV}-egl-experimental"
+SRCREV = "0f76ac03750a4f6c09290abf6b9fced696ca192d"
+
+RPROVIDES_${PN} += "libGLES_CM.so.1"
+
+S = "${WORKDIR}/git"
+
+do_install_append () {
+    ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so.1
+    ln -sf libGLESv1_CM.so ${D}${libdir}/libGLES_CM.so.1
+    ln -sf libGLESv1_CM.so ${D}${libdir}/libGLES_CM.so
+
+    rm -rf ${D}${includedir}/GL
+}
+
+FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
+
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-10 18:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 18:11 [meta-processor-sdk][PATCH 0/9] Enable build with mesa-based EGL1.5 Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 1/9] chromium-ozone-wayland: remove virtual/libgl from DEPENDS list Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 2/9] HACK: matrix-gui-machinevision-demos: remove point-cloud-viewer Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 3/9] HACK: packagegroup-arago-test-addons: remove omapdrmtest Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 4/9] packagegroup-arago-tisdk-multimedia: rename chromium-wayland Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 5/9] HACK: weston: undefine HAVE_GBM_MODIFIERS unconditionally Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 6/9] HACK: qtwebkit: sync up the khrplatform.h under ANGLE/include/KHR with the one provided by mesa-egl Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 7/9] HACK: libepoxy: replace local definitions with khrplatform.h at gen_dispatch Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 8/9] packagegroup-arago-tisdk-graphics: replace chromium-wayland with chromium-ozone-wayland Eric Ruei
2019-09-10 18:11 ` [meta-processor-sdk][PATCH 9/9] HACK: ti-sgx-ddk-um: take AM5 binaries from mesa-egl based experimental branch Eric Ruei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.