From 5933205cfcd73481cb0645fa6183103063fe3e0d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 26 May 2012 11:52:06 -0700 Subject: eglfs: implement hardware cursor for the raspberry-pi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cursor is rendered on a dispmanx layer and moved around. This approach saves us from having to update the underlying window each time the cursor moves. Dispmanx layers cannot be moved to negative coords. As a result, currently it is not possible to move to a location less than the hostpot. A future commit will fix this problem. Change-Id: Ida5ee961d03a6929860c515e503482756a4913ed Reviewed-by: Johannes Zellner Reviewed-by: Andy Nichols Reviewed-by: Samuel Rødal --- src/plugins/platforms/eglfs/qeglfsbackingstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.cpp') diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp index 539e4be331..d39a08c895 100644 --- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp +++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp @@ -182,7 +182,7 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion ®ion, const QPo // draw the cursor if (QEglFSCursor *cursor = static_cast(window->screen()->handle()->cursor())) - cursor->render(); + cursor->paintOnScreen(); m_context->swapBuffers(window); -- cgit v1.2.3