summaryrefslogtreecommitdiffstats
path: root/templates/machine/raspberrypi2/50_local.conf.inc
blob: d864964c99ae5b5031a30ab2e64cb43a90b6820d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MACHINE = "raspberrypi2"

GPU_MEM = "128"

CORE_IMAGE_EXTRA_INSTALL += "wayland weston"

MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
IMAGE_CLASSES += "sdcard_image-rpi-gdp"
IMAGE_FSTYPES += "tar.bz2 ext3 rpi-sdimg"
KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
PREFERRED_VERSION_mesa = "11.%"

PREFERRED_PROVIDER_virtual/egl = "mesa"
PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
PREFERRED_PROVIDER_virtual/libgl = "mesa"
PREFERRED_PROVIDER_virtual/mesa = "mesa"
PREFERRED_PROVIDER_jpeg = "jpeg"

# For libomxil
#LICENSE_FLAGS_WHITELIST = "commercial"
ss or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "qlibwindowmanager.h" #include <unistd.h> int QLibWindowmanager::init(int port, char const *token) { return this->wm->init(port, token); } int QLibWindowmanager::requestSurface(const char *label) { applabel = label; return this->wm->requestSurface(label); } int QLibWindowmanager::activateSurface(const char *label) { return this->wm->activateSurface(label); } int QLibWindowmanager::deactivateSurface(const char *label) { return this->wm->deactivateSurface(label); } int QLibWindowmanager::endDraw(const char *label) { return this->wm->endDraw(label); } void QLibWindowmanager::set_event_handler(enum QEventType et, std::function<void(char const *label)> f) { LibWindowmanager::EventType wet = (LibWindowmanager::EventType)et; return this->wm->set_event_handler(wet, std::move(f)); } void QLibWindowmanager::slotActivateSurface(){ qDebug("%s",__FUNCTION__); this->activateSurface(applabel.c_str()); } QLibWindowmanager::QLibWindowmanager(QObject *parent) :QObject(parent) { wm = new LibWindowmanager(); } QLibWindowmanager::~QLibWindowmanager() { }