aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qt4/qt4-embedded-gles-4.6.2
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-17 19:07:27 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-19 09:49:31 +0200
commit5be3f18db6f7344e500ec42e661b668ef8d4526b (patch)
tree37449f1c03b80a5e3f771c08c35e69f30c54d616 /recipes/qt4/qt4-embedded-gles-4.6.2
parentbdffb75d4b09b554a9f5dfe51ec169182511079d (diff)
downloadopenembedded-5be3f18db6f7344e500ec42e661b668ef8d4526b.tar.gz
qt4-*-gles 4.6.2: small updates
* don't forcefully disable openVG * don't forcefully disable cursor for QT/e, not everything is a touchscreen
Diffstat (limited to 'recipes/qt4/qt4-embedded-gles-4.6.2')
-rw-r--r--recipes/qt4/qt4-embedded-gles-4.6.2/cursor-hack.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-embedded-gles-4.6.2/cursor-hack.diff b/recipes/qt4/qt4-embedded-gles-4.6.2/cursor-hack.diff
new file mode 100644
index 0000000000..e297e520a0
--- /dev/null
+++ b/recipes/qt4/qt4-embedded-gles-4.6.2/cursor-hack.diff
@@ -0,0 +1,34 @@
+Patch originally done by Bin Liu, rediffed by Koen Kooi for Qt 4.6.2
+
+This patch is a first step to get a working cursor when using the powervr driver, it flickers when hovering over a QGLWidget, but still better than no cursor at all
+
+--- /tmp/pvreglscreen.cpp 2010-04-19 09:30:32.000000000 +0200
++++ qt-everywhere-opensource-src-4.6.2/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp 2010-04-19 09:31:30.000000000 +0200
+@@ -85,6 +85,9 @@
+ bool PvrEglScreen::initDevice()
+ {
+ openTty();
++#ifndef QT_NO_QWS_CURSOR
++ QScreenCursor::initSoftwareCursor();
++#endif
+ return true;
+ }
+
+--- /tmp/qwindowsystem_qws.cpp 2010-04-19 09:32:47.000000000 +0200
++++ qt-everywhere-opensource-src-4.6.2/src/gui/embedded/qwindowsystem_qws.cpp 2010-04-19 09:33:30.000000000 +0200
+@@ -3501,7 +3501,6 @@
+ }
+
+ #ifdef QT_QWS_CLIENTBLIT
+-#ifdef QT_NO_QWS_CURSOR
+ // This optimization only really works when there isn't a crazy cursor
+ // wizzing around.
+ QRegion directPaint = (r - transparentRegion); // in gloal coords
+@@ -3513,7 +3512,6 @@
+ QWSRegionEvent::DirectPaint, id);
+ }
+ #endif
+-#endif
+ }
+
+ if (doLock)