projects
/
profile
/
ivi
/
qtwayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03490f
)
Wayland: add waylandgl platform type
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 25 Oct 2010 18:36:45 +0000
(11:36 -0700)
committer
Jørgen Lind
<jorgen.lind@nokia.com>
Tue, 25 Jan 2011 17:57:10 +0000
(18:57 +0100)
This will set mUseOpenGL when -platform waylandgl is passed to clients.
src/plugins/platforms/wayland/main.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/platforms/wayland/main.cpp
b/src/plugins/platforms/wayland/main.cpp
index
056cc64
..
1bca661
100644
(file)
--- a/
src/plugins/platforms/wayland/main.cpp
+++ b/
src/plugins/platforms/wayland/main.cpp
@@
-55,6
+55,7
@@
QStringList QWaylandIntegrationPlugin::keys() const
{
QStringList list;
list << "Wayland";
+ list << "WaylandGL";
return list;
}
@@
-63,6
+64,8
@@
QPlatformIntegration *QWaylandIntegrationPlugin::create(const QString& system, c
Q_UNUSED(paramList);
if (system.toLower() == "wayland")
return new QWaylandIntegration;
+ if (system.toLower() == "waylandgl")
+ return new QWaylandIntegration(true);
return 0;
}