added my Recipes
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
From beb3456d5c78db39ffa0b5530ab25d901a8f70da Mon Sep 17 00:00:00 2001
|
||||
From: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
|
||||
Date: Thu, 28 Apr 2022 09:34:30 +0200
|
||||
Subject: [PATCH] remove gpu_vivante test
|
||||
|
||||
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
|
||||
---
|
||||
config.tests/gpu_vivante/gpu_vivante.pro | 1 -
|
||||
config.tests/gpu_vivante/main.cpp | 37 ------------------------
|
||||
2 files changed, 38 deletions(-)
|
||||
delete mode 100644 config.tests/gpu_vivante/gpu_vivante.pro
|
||||
delete mode 100644 config.tests/gpu_vivante/main.cpp
|
||||
|
||||
diff --git a/config.tests/gpu_vivante/gpu_vivante.pro b/config.tests/gpu_vivante/gpu_vivante.pro
|
||||
deleted file mode 100644
|
||||
index 28dcadcbf..000000000
|
||||
--- a/config.tests/gpu_vivante/gpu_vivante.pro
|
||||
+++ /dev/null
|
||||
@@ -1 +0,0 @@
|
||||
-SOURCES += main.cpp
|
||||
diff --git a/config.tests/gpu_vivante/main.cpp b/config.tests/gpu_vivante/main.cpp
|
||||
deleted file mode 100644
|
||||
index 589fca084..000000000
|
||||
--- a/config.tests/gpu_vivante/main.cpp
|
||||
+++ /dev/null
|
||||
@@ -1,37 +0,0 @@
|
||||
-/****************************************************************************
|
||||
-**
|
||||
-** Copyright (C) 2016 The Qt Company Ltd.
|
||||
-** Contact: https://www.qt.io/licensing/
|
||||
-**
|
||||
-** This file is part of the Qt Toolkit
|
||||
-**
|
||||
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
|
||||
-** Commercial License Usage
|
||||
-** Licensees holding valid commercial Qt licenses may use this file in
|
||||
-** accordance with the commercial license agreement provided with the
|
||||
-** Software or, alternatively, in accordance with the terms contained in
|
||||
-** a written agreement between you and The Qt Company. For licensing terms
|
||||
-** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
-** information use the contact form at https://www.qt.io/contact-us.
|
||||
-**
|
||||
-** GNU General Public License Usage
|
||||
-** Alternatively, this file may be used under the terms of the GNU
|
||||
-** General Public License version 3 as published by the Free Software
|
||||
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
||||
-** included in the packaging of this file. Please review the following
|
||||
-** information to ensure the GNU General Public License requirements will
|
||||
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
-**
|
||||
-** $QT_END_LICENSE$
|
||||
-**
|
||||
-****************************************************************************/
|
||||
-
|
||||
-#include <GLES2/gl2.h>
|
||||
-#include <GLES2/gl2ext.h>
|
||||
-
|
||||
-const int format = GL_VIV_YV12;
|
||||
-
|
||||
-int main(int argc, char** argv)
|
||||
-{
|
||||
- return 0;
|
||||
-}
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"device": "/dev/dri/card0",
|
||||
"outputs": [
|
||||
{ "name": "HDMI1", "mode": "1280x720", "size": "1280x720" }
|
||||
],
|
||||
"hwcursor": false
|
||||
}
|
||||
|
||||
29
meta-st/meta-st-openstlinux/recipes-qt/qt5/files/qt-eglfs.sh
Normal file
29
meta-st/meta-st-openstlinux/recipes-qt/qt5/files/qt-eglfs.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh -
|
||||
|
||||
export QT_QPA_PLATFORM=eglfs
|
||||
if [ -e /usr/share/qt5/cursor.json ];
|
||||
then
|
||||
export QT_QPA_EGLFS_KMS_CONFIG=/usr/share/qt5/cursor.json
|
||||
fi
|
||||
# force to keep the MODE SETTING set
|
||||
export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
|
||||
#force to use KMS ATOMIC
|
||||
export QT_QPA_EGLFS_KMS_ATOMIC=1
|
||||
|
||||
# EGLFS environment variables accessible for qt 5.12
|
||||
# Documentation: https://doc.qt.io/qt-5/embedded-linux.html
|
||||
##
|
||||
# * QT_QPA_EGLFS_ROTATION
|
||||
# Specifies the rotation applied to software-rendered content in QWidget-based applications
|
||||
#
|
||||
# * QT_QPA_EGLFS_KMS_ATOMIC
|
||||
# enable the DRM atomic
|
||||
#
|
||||
# * QT_QPA_EGLFS_HIDECURSOR
|
||||
# The mouse cursor shows up whenever this variable is not set
|
||||
#
|
||||
# * QT_QPA_EGLFS_ALWAYS_SET_MODE
|
||||
# Due to the fact that modesetting is done only when the desired mode is actually
|
||||
# different from the active one (unless forced via the QT_QPA_EGLFS_ALWAYS_SET_MODE
|
||||
# environment variable), this value is useful to keep the current mode and any content
|
||||
# in the planes not touched by Qt.
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -
|
||||
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
Reference in New Issue
Block a user