summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-graphics
diff options
context:
space:
mode:
authorDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>2017-10-09 14:24:48 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-10-11 09:24:40 +0000
commitf970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c (patch)
tree6f32b6b94c8d28ac01d27859c180b24236499ccb /meta-agl/recipes-graphics
parent8967fdebd5b55c177972bb088997b58ead2cc283 (diff)
adding eGalax screen support for demo
Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl/recipes-graphics')
-rw-r--r--meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf4
-rw-r--r--meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc2
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
index eb30a9a96..ec658ce7d 100644
--- a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
+++ b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf
@@ -1,5 +1,9 @@
#Generate a weston.ini file:
+# WARNING Due to a bug in Yocto cache, changes in related bbappand are not detected
+# Work-around:
+# bitbake weston-ini-conf -c clean ; bitbake weston-ini-conf -c cleansstate
+
To generate the weston.ini file:
'''
diff --git a/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
new file mode 100644
index 000000000..4d3649f13
--- /dev/null
+++ b/meta-agl/recipes-graphics/wayland/weston-ini-conf/screen_eGalax.inc
@@ -0,0 +1,2 @@
+SCREEN_eGalax[name] ?= "HDMI-A-1"
+SCREEN_eGalax[transform] ?= "90"
ckground-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*
 * Copyright (C) 2018 Konsulko Group
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef RESPONSEMESSAGE_H
#define RESPONSEMESSAGE_H

#include <QObject>

#include "message.h"

class ResponseMessage : public Message
{
    Q_OBJECT

    public:
        explicit ResponseMessage(QByteArray request = nullptr);

        inline QString requestVerb() const
        {
            return m_request["verb"].toString();
        }

        inline QVariantMap requestParameters() const
        {
            return m_request["parameter"].toMap();
        }
};

#endif // RESPONSEMESSAGE_H