Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Wayland: clamp window resizes to screen size | Jesse Barnes | 2011-01-25 | 1 | -3/+13 | |
| | ||||||
* | Wayland: split GL code into separate files | Jesse Barnes | 2011-01-25 | 6 | -290/+374 | |
| | | | | For clarity and to prevent merge conflicts etc. in future. | |||||
* | Wayland: use correct viewport for swapBuffers and correct coords | Jesse Barnes | 2011-01-25 | 1 | -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 swapBuffers | Jesse Barnes | 2011-01-25 | 1 | -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 code | Jesse Barnes | 2011-01-25 | 1 | -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 support | Jesse Barnes | 2011-01-25 | 2 | -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 Barnes | 2011-01-25 | 2 | -2/+3 | |
| | | | | We'll need this to handle GL widgets. | |||||
* | Wayland: render to a texture, not a renderbuffer | Jesse Barnes | 2011-01-25 | 3 | -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 surface | Jesse Barnes | 2011-01-25 | 3 | -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 support | Jesse Barnes | 2011-01-25 | 4 | -46/+56 | |
| | | | | | GL widgets need a platform GL context. Add one to get hellogl_es2 limping along. | |||||
* | Wayland: add waylandgl platform type | Jesse Barnes | 2011-01-25 | 1 | -0/+3 | |
| | | | | This will set mUseOpenGL when -platform waylandgl is passed to clients. | |||||
* | Wayland: silence unused variable warnings in qwaylandinputdevice.cpp | Jesse Barnes | 2011-01-25 | 1 | -0/+7 | |
| | ||||||
* | Wayland: add GL drawing support | Jesse Barnes | 2011-01-25 | 4 | -32/+167 | |
| | | | | | Works with analogclock, draws upside down, fails to resize, and doesn't show GL widget with hello_es2. | |||||
* | Wayland: misc cleanups | Jesse Barnes | 2011-01-25 | 2 | -2/+12 | |
| | | | | Unused variables, debug output. | |||||
* | Introduce drm wayland buffer | Kristian Høgsberg | 2011-01-25 | 4 | -40/+151 | |
| | ||||||
* | Initialize EGL | Kristian Høgsberg | 2011-01-25 | 3 | -31/+142 | |
| | ||||||
* | Cursors, keyboard support, move/resize | Kristian Høgsberg | 2011-01-25 | 7 | -87/+426 | |
| | ||||||
* | Use QImage::Format_ARGB32_Premultiplied for the surface | Kristian Høgsberg | 2011-01-25 | 1 | -1/+1 | |
| | ||||||
* | wayland: Track the QWaylandWindow in the input device instead of the surface | Kristian Høgsberg | 2011-01-25 | 1 | -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 windows | Kristian Høgsberg | 2011-01-25 | 2 | -0/+10 | |
| | ||||||
* | wayland: Create and destroy surface at show and hide | Kristian Høgsberg | 2011-01-25 | 4 | -10/+35 | |
| | ||||||
* | wayland: Split input device out to its own file | Kristian Høgsberg | 2011-01-25 | 4 | -163/+185 | |
| | ||||||
* | Add wayland lighthouse plugin | Kristian Høgsberg | 2011-01-25 | 6 | -0/+848 | |