summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb
Commit message (Collapse)AuthorAgeFilesLines
* qpa: extend drawPixmap capabilitiesJulien Brianceau2012-09-122-33/+48
| | | | | | | | | | Extend drawPixmap capabilities for qpa through new OpacityPixmapCapability QBlittable flag and add related implementation in DirectFB platform. cherry-picked from qt5/qtbase 4ae829c1dbd0e8a72b82ab4c6cddb0a4ffe009f6 Change-Id: I8abdb0fa72bc030d769190d7cba40561007e7b46 Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
* qpa: add non-opaque fill supportJulien Brianceau2012-09-122-12/+54
| | | | | | | | | | | Add non-opaque fill support for qpa through new QBlittable flag "AlphaFillRectCapability" and add related implementation in DirectFB qpa platform. cherry-picked from qt5/qtbase aab15782e21bf0aaea7f2211278e9aa9fc78c6d7 Change-Id: Ia1c74c2926d2e244290dcb62cbd3b6848ba95707 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-0119-38/+38
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* directfb: Use QPlatformPixmap::fromFile for Qt resourcesHolger Hans Peter Freyther2012-04-191-8/+2
| | | | | | | | | | | | | | Move to fromFile to load Qt resources for two reasons. The first is that ::fromData creates a QBuffer on our raw data and is passing that to the QImageReaders. Right now we there is a QFile -> QByteArray -> QBuffer transition that wastes cycles. The other reason is that QPlatformPixmap::fromData did/does not check if the decoded image is null and might cause a crash because of that. Change-Id: I800bfe4cd9b5d6a0d3531ed33f4228770703e94f Original-Id: I7cb92d84874323e7205ab28883cc0fe9ecca1e27 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-1119-19/+19
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* directfb: Backport the work from QtBase to Qt 4.8Holger Hans Peter Freyther2011-12-1319-282/+653
| | | | | | | | This is copying the files (minus the API changes) to Qt 4.8. It fixes memory leaks, adds DirectFB based image decoding, prepares EGL integration/ Merge-request: 1492 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* [blitter] Work on tst_QPixmap::clear()Holger Hans Peter Freyther2011-12-132-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | By default QPixmap may not hasAlphaChannel(), only if setMask() or fill() with a transparent color is called a QPixmap will hasAlphaChannel(). Make the QBlittablePlatformPixmap remember if there is an alpha channel, pass this as parameter in createBlittable to make it clear that this is required and not optional. Update the DirectFB plugin to handle this parameter to create a RGB32 or ARGB Surface depending on the alpha value, also only use PreMultiplied alpha when using ARGB. Separate the two constructors for the QDirectFbBlitter to either adopt a DirectFB Surface or to create one. Cherry-picked-from: qtbase:ab50b60f5cc237d5620f3ff3b2eb44c857f8f60b Change-Id: I8abf82408ecd2d075fc6f241ace8be2a34ac56e7 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com> Merge-request: 1492 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* directfb: Include directfbgl.h directlyHolger Hans Peter Freyther2011-08-121-1/+1
| | | | | | | | | | | directfb.h is included directly in all other files, include directfbgl.h without the directfb/ prefix as well. $ pkg-config --cflags directfb -D_REENTRANT -I/home/foo/install/directfb/include/directfb Merge-request: 2643 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Properly quit the input event thread in the directfb platform plugin.Samuel Rødal2011-07-141-0/+2
| | | | Reviewed-by: Girish Ramakrishnan
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-1317-290/+290
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Lighthouse: Make directfb conform with ligthhouse gl context apiJørgen Lind2011-04-151-0/+2
|
* Fixup license headers in Lighthouse pluginsJørgen Lind2011-03-171-1/+1
|
* Update copyright year to 2011.Rohan McGovern2011-03-1016-16/+16
| | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* Fix the license in files for LighthouseJørgen Lind2010-10-2816-10/+421
|
* Lighthouse: fix QDirectFbScreen::depth to not be fixed to 32Jørgen Lind2010-09-161-1/+1
|
* Lighthouse, DFb don't show windows that Qt::WA_DontShowOnScreenJørgen Lind2010-09-081-7/+11
|
* Lighthouse: fix reparenting from topLevel to child widgetJørgen Lind2010-09-072-1/+9
| | | | also fix Directfb with a hack so that moving windows works
* Lighthouse: Added QDirectFbGlContextJørgen Lind2010-09-035-3/+115
| | | | | This is untested since I have no HW to test on, but its in the public api, so that we have something to build on.
* Initial pluggable fontdatabaseJørgen Lind2010-09-023-3/+10
| | | | | | | | | | | | | QPlatformFontDatabase added. QPlatformIntegration now has a new virtual function: QPlatformDatabase::fontDatabase() const. Most unix platform plugins wants to follow the pattern implemented in directfb, linuxfb, vnc etc. In the pro file do: include(../fontdatabases/genericunix/genericunix.pri) In the QPlatformIntegration class do: and instansiate a QGenericFontDatabase in the constructor and return it in the getter function.
* Removed createBlittable factory function from PlatformIntegrationJørgen Lind2010-07-223-2/+8
| | | | | | | | | | and moved it onto QBlittablePixmap making the class abstract. The creator function was seen as to spesialised to be part of the PlatformIntegration class, and belonged to the QBlittablePixmap class anyway since that was the PixmapData type you would need to return to use the blitter api. Also removed the cross platform examples as they are more confusing than anything else. For usage of QBlittable look in the directfb platform integration plugin.
* Cleanup directfb input handling in lighthouseJørgen Lind2010-07-206-108/+74
|
* Refactored QGraphicsSystemCursor -> QPlatformCursorJørgen Lind2010-06-242-5/+5
|
* add parameter support for platform integration pluginsJeremy Katz2010-05-041-2/+3
|
* Renamed createWindowSurfaceForWindowJørgen Lind2010-04-212-2/+2
| | | | | | to createWindowSurface. Gave also a default dpi when there is no platform integration, ie. it has not been initialised yet or is being initialised.
* Refactored directfb pluginJørgen Lind2010-04-1410-18/+16
|
* Small optimalisation in DirectfbBlitterJørgen Lind2010-04-121-2/+8
|
* Cleaned up Blitter Paint engine and fixed a couple of bugsJørgen Lind2010-04-121-3/+2
|
* Add the DirectFbWindow to the pro fileJørgen Lind2010-04-081-2/+4
|
* QPlatformWindow refactoringJørgen Lind2010-04-088-127/+263
| | | | and ported the directfb plugin to use QPlatformWindow
* Make directfb plugin work with QPlatformIntegrationJørgen Lind2010-03-3114-0/+1483