summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland
Commit message (Collapse)AuthorAgeFilesLines
...
* Wayland: clamp window resizes to screen sizeJesse Barnes2011-01-251-3/+13
|
* Wayland: split GL code into separate filesJesse Barnes2011-01-256-290/+374
| | | | For clarity and to prevent merge conflicts etc. in future.
* Wayland: use correct viewport for swapBuffers and correct coordsJesse Barnes2011-01-251-15/+28
| | | | | | | We're drawing into the parent, so we need to use the parent's geometry for the GL viewport, or we may not be able to draw it. We also need to use the parent width & height when checking whether to normalize to 1.0 or -1.0 in the coord transform calculations.
* Wayland: fix geometry of swapBuffersJesse Barnes2011-01-251-1/+2
| | | | | If the geometry isn't mapped 1:1 we need to divide the bottom by height, not width, to calculate the texture rectangle.
* Wayland: clean up swapBuffers codeJesse Barnes2011-01-251-13/+25
| | | | | | Pull the swap fbo and rbo into the context and make sure to destroy them when the context goes away. Add unfortunate lazy allocation of the fbo and rbo because we need them to be part of the right context.
* Wayland: add GL widget supportJesse Barnes2011-01-252-4/+96
| | | | | Make sure we copy from the private surface into the parent surface at swapBuffers time.
* Wayland: set parent window pointer in setParent()Jesse Barnes2011-01-252-2/+3
| | | | We'll need this to handle GL widgets.
* Wayland: render to a texture, not a renderbufferJesse Barnes2011-01-253-7/+5
| | | | | This will let us source from offscreen GL widget surfaces and copy into the parent surface.
* 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-256-0/+848