summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
Commit message (Collapse)AuthorAgeFilesLines
* Wayland: put context & drawing objects into the drm surfaceJesse Barnes2011-01-253-28/+27
| | | | | | | Even GL widgets will allocate window surfaces, so share everything there. This still leaves a hole when we mix GL widgets and the raster back end (the created platform GL context won't have a DRM buffer to use for its objects & context), but that won't work right now anyway...
* Wayland: add partial GL widget supportJesse Barnes2011-01-254-46/+56
| | | | | GL widgets need a platform GL context. Add one to get hellogl_es2 limping along.
* Wayland: add waylandgl platform typeJesse Barnes2011-01-251-0/+3
| | | | This will set mUseOpenGL when -platform waylandgl is passed to clients.
* Wayland: silence unused variable warnings in qwaylandinputdevice.cppJesse Barnes2011-01-251-0/+7
|
* Wayland: add GL drawing supportJesse Barnes2011-01-254-32/+167
| | | | | Works with analogclock, draws upside down, fails to resize, and doesn't show GL widget with hello_es2.
* Wayland: misc cleanupsJesse Barnes2011-01-252-2/+12
| | | | Unused variables, debug output.
* Introduce drm wayland bufferKristian Høgsberg2011-01-254-40/+151
|
* Initialize EGLKristian Høgsberg2011-01-253-31/+142
|
* Cursors, keyboard support, move/resizeKristian Høgsberg2011-01-257-87/+426
|
* Use QImage::Format_ARGB32_Premultiplied for the surfaceKristian Høgsberg2011-01-251-1/+1
|
* wayland: Track the QWaylandWindow in the input device instead of the surfaceKristian Høgsberg2011-01-251-12/+17
| | | | | The surface is destroyed when the window is hidden, so we can't use that for looking up the widget to send events to.
* wayland: Assign a window id to wayland windowsKristian Høgsberg2011-01-252-0/+10
|
* wayland: Create and destroy surface at show and hideKristian Høgsberg2011-01-254-10/+35
|
* wayland: Split input device out to its own fileKristian Høgsberg2011-01-254-163/+185
|
* Add wayland lighthouse pluginKristian Høgsberg2011-01-257-0/+852
|
* Lighthouse: Fix keyboard on testliteJørgen Lind2011-01-072-18/+7
| | | | Remove code which was wrong
* Lighthouse: Fix keyboard modifier handlingJørgen Lind2011-01-072-10/+20
| | | | QApplication allready knows the modifiers
* Lighthouse: Support external plugins.Morten Johan Sørvig2011-01-071-0/+29
| | | | | | | | | | | | | | | | | | Add -platformpluginpath command line option that spesifies an additional directory to scan for plugins. Also read QT_QPA_PLATFORM_PLUGIN_PATH. QlatformIntegrationFacgtory::create() now tries to load the plugin from the external path first. Similarly, keys() returns the keys from the extra path in addition to the "internal" keys API changes: QPlatformIntegration::create() and keys() now take an optional const QString &platformPluginPath. New file: externalplugin.pri, contains instructions and a base setup for building external plugins.
* Lighthouse: Adding support for EGL to testliteJørgen Lind2011-01-058-32/+287
| | | | | | | | There is really no good way of detecting if to use EGL instead of GLX using qmake. So this is the behavior for now: if QtOpenGL is compiled with "desktop gl" then use GLX if its compiled with OpenGLES2 then use EGL.
* Lighthouse: Make testlite compile on systems where QtOpenGL is ES2Jørgen Lind2011-01-054-6/+14
| | | | | compatible. Ie. it does not have glx. Haven't made the egl integration yet for testlite
* Build on Mac OS X.Morten Johan Sørvig2011-01-051-0/+4
|
* Add styleHint to fallback api for fontdatabases in LighthouseJørgen Lind2011-01-042-2/+27
|
* Create clearer sepperation between TestLiteMime and QTestliteClipboardJørgen Lind2011-01-044-161/+181
|
* Renamed variable name in TestLite event handlingJørgen Lind2011-01-041-20/+20
|
* Renamed QTestLiteStaticInfo to QTestLiteStaticJørgen Lind2011-01-046-67/+121
|
* Copy/Paste in testlite and also added QTestLiteStaticInfoJørgen Lind2011-01-0412-76/+1899
| | | | which is a class to resolve atoms etc.
* Fix keyboard when using modifiers for testliteJørgen Lind2011-01-041-1/+18
|
* Lighthouse: fix keyboard problem in testliteJørgen Lind2011-01-041-3/+3
|
* Make TestLite show windows in correct positionJørgen Lind2011-01-042-3/+27
|
* Refactored the keyboard event handling in testliteJørgen Lind2011-01-047-331/+997
|
* Remove current cursor optimizationJørgen Lind2011-01-042-3/+1
| | | | It was broken since it didn't take care of the initial cursor.
* Fix nativechild widget position in LighthouseJørgen Lind2011-01-042-8/+6
|
* Refactoring of testlite to conform with Lighthouse structureJørgen Lind2011-01-0413-996/+1005
|
* Added window focus handling to lighthouseJørgen Lind2011-01-042-0/+25
| | | | | | The idea is that QPlatformWindows can request focus handling. And when actual focus shifting is done by windowsystem callbacks/events which are sent to QWindowSystemInterface
* Propegate fullscreen screen size back to toplevel widgetsGunnar Sletta2010-12-061-0/+3
| | | | Reviewed by: Jørgen Lind
* Fix spelling mistake in QEGLPlatformcontextJørgen Lind2010-12-014-4/+4
| | | | | | Autocompletion and a hint of dyslexia made me not see this before :) Reviewed-by: paul
* Make the openKODE use the new eventloopintegration api.Jørgen Lind2010-11-264-14/+24
| | | | And also make it work with the new GL functionality in Lighthouse
* Make QtOpenGL use shared contextexts on LighthouseJørgen Lind2010-11-261-1/+3
|
* Lighthouse: Fix QGLContext::currentContext for systems with limitedJørgen Lind2010-11-248-32/+72
| | | | | | | | | | | | resources. The example plugins EGLFS uses only 1 native context. Make sure that we only use this 1 context, and that we dont wrap it in many different QPlatformGLContexts or QGLContexts instanses. This change also removes the QPlatformWindow link which was made in the initial QPlatformGLContext change. Lighthouse has to support situations where a context isnt bound to a QPlatformWindow. Reviewed-by: gunnar
* Make EglFS plugin compile after changes to QPlatformEGLContextGunnar Sletta2010-11-231-1/+1
| | | | Reviewed-by: Jørgen Lind
* Lighthouse: move the currentContext functionality to QPlatformGLContextJørgen Lind2010-11-225-11/+15
| | | | | | | | | This means the threading functionality has been delegated down to QPlatformGLContext. However, it is still possible to use QGLContext::currentContext to retrieve the QGLContext. This so that QGLFunctions, QGLShaderProgram etc can be used without a QGLWidget. Reviewed-by: paul
* Lighthouse: Make sure that we call QPlatformWindow::setVisibleJørgen Lind2010-11-221-1/+0
| | | | | | on native child widgets. Reviewed-by: paul
* Lighthouse: using QFont enums when possible in QPlatformFontdatabaseJørgen Lind2010-11-222-7/+13
| | | | | | | also, make it possible to register fonts in QPlatformDatabases with a null handle Reviewed-by: paul
* Lighthouse: eventloop integration rework.Jørgen Lind2010-10-284-83/+52
| | | | | | For cocoa we really need to be able to run the cocoa eventloop [NSApplicatyion run]. Also it makes sense for openKODE without nvidia extensions.
* Fix the license in files for LighthouseJørgen Lind2010-10-2850-271/+1223
|
* Fix typos found by the spellchecking autotestPaul Olav Tvete2010-10-281-2/+2
|
* Merge remote branch 'lighthouse/4.7' into lighthouse-masterPaul Olav Tvete2010-10-2216-0/+1425
|\
| * Lighthouse: initial COCOA pluginJørgen Lind2010-10-2016-0/+1425
| |
* | actually set egl swap intervalGunnar Sletta2010-10-151-1/+1
| |
* | Make it possible to choose some EGLFS configuration options via envvarsGunnar Sletta2010-10-071-6/+30
| |