summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jørgen Lind [Mon, 10 Jan 2011 14:48:20 +0000 (15:48 +0100)]
Lighthouse:Wayland Moving some logic into files
Jørgen Lind [Wed, 5 Jan 2011 11:10:28 +0000 (12:10 +0100)]
Fix Wayland plugin to work with Wayland after some interfaces changed
such as
wl_display_create -> wl_display_connect
wl_surface_attach (attributes)
wl_surface_map -> wl_surface_map_toplevel
wl_shell_listener
wl_output_listener
Rolf Offermanns [Thu, 25 Nov 2010 11:13:30 +0000 (12:13 +0100)]
Fix for uninitialized member in QWaylandCursor
Without this patch Qt applications will crash the moment the mouse pointer
enters the window.
Signed-off-by: Rolf Offermanns <roffermanns@sysgo.com>
Benjamin Franzke [Sun, 21 Nov 2010 13:18:51 +0000 (14:18 +0100)]
wayland: use pkgconfig for libdrm in wayland.pro
On this system the IncludePath for drm.h was missing
So maybe pkgconfig should be additionally also used for
libxkbcommon, EGL and GLESv2 to prevent such problems.
but i dont know whether its common to use pkg-config in qmake
Jesse Barnes [Tue, 9 Nov 2010 20:44:18 +0000 (12:44 -0800)]
Wayland: request rbg and premultiplied argb visuals as needed
When creating DRM buffers we should try to match the visual type
requested with the buffer format.
Jesse Barnes [Mon, 8 Nov 2010 21:05:19 +0000 (13:05 -0800)]
Wayland: clamp window resizes to screen size
Jesse Barnes [Mon, 8 Nov 2010 20:24:09 +0000 (12:24 -0800)]
Wayland: split GL code into separate files
For clarity and to prevent merge conflicts etc. in future.
Jesse Barnes [Thu, 28 Oct 2010 23:18:15 +0000 (16:18 -0700)]
Wayland: use correct viewport for swapBuffers and correct coords
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.
Jesse Barnes [Thu, 28 Oct 2010 18:15:04 +0000 (11:15 -0700)]
Wayland: fix geometry of swapBuffers
If the geometry isn't mapped 1:1 we need to divide the bottom by height,
not width, to calculate the texture rectangle.
Jesse Barnes [Thu, 28 Oct 2010 18:13:13 +0000 (11:13 -0700)]
Wayland: clean up swapBuffers code
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.
Jesse Barnes [Wed, 27 Oct 2010 22:01:38 +0000 (15:01 -0700)]
Wayland: add GL widget support
Make sure we copy from the private surface into the parent surface at
swapBuffers time.
Jesse Barnes [Wed, 27 Oct 2010 21:49:16 +0000 (14:49 -0700)]
Wayland: set parent window pointer in setParent()
We'll need this to handle GL widgets.
Jesse Barnes [Wed, 27 Oct 2010 21:44:04 +0000 (14:44 -0700)]
Wayland: render to a texture, not a renderbuffer
This will let us source from offscreen GL widget surfaces and copy into
the parent surface.
Jesse Barnes [Wed, 27 Oct 2010 21:38:03 +0000 (14:38 -0700)]
Wayland: put context & drawing objects into the drm surface
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...
Jesse Barnes [Mon, 25 Oct 2010 18:38:29 +0000 (11:38 -0700)]
Wayland: add partial GL widget support
GL widgets need a platform GL context. Add one to get hellogl_es2
limping along.
Jesse Barnes [Mon, 25 Oct 2010 18:36:45 +0000 (11:36 -0700)]
Wayland: add waylandgl platform type
This will set mUseOpenGL when -platform waylandgl is passed to clients.
Jesse Barnes [Fri, 22 Oct 2010 21:00:08 +0000 (14:00 -0700)]
Wayland: silence unused variable warnings in qwaylandinputdevice.cpp
Jesse Barnes [Fri, 22 Oct 2010 17:31:03 +0000 (10:31 -0700)]
Wayland: add GL drawing support
Works with analogclock, draws upside down, fails to resize, and doesn't
show GL widget with hello_es2.
Jesse Barnes [Fri, 22 Oct 2010 17:30:27 +0000 (10:30 -0700)]
Wayland: misc cleanups
Unused variables, debug output.
Kristian Høgsberg [Fri, 15 Oct 2010 01:25:15 +0000 (21:25 -0400)]
Introduce drm wayland buffer
Kristian Høgsberg [Thu, 14 Oct 2010 19:36:59 +0000 (15:36 -0400)]
Initialize EGL
Kristian Høgsberg [Fri, 8 Oct 2010 20:02:01 +0000 (16:02 -0400)]
Cursors, keyboard support, move/resize
Kristian Høgsberg [Thu, 7 Oct 2010 21:07:59 +0000 (17:07 -0400)]
Use QImage::Format_ARGB32_Premultiplied for the surface
Kristian Høgsberg [Thu, 7 Oct 2010 16:23:14 +0000 (12:23 -0400)]
wayland: Track the QWaylandWindow in the input device instead of the surface
The surface is destroyed when the window is hidden, so we can't use that
for looking up the widget to send events to.
Kristian Høgsberg [Thu, 7 Oct 2010 15:47:08 +0000 (11:47 -0400)]
wayland: Assign a window id to wayland windows
Kristian Høgsberg [Thu, 7 Oct 2010 15:46:13 +0000 (11:46 -0400)]
wayland: Create and destroy surface at show and hide
Kristian Høgsberg [Thu, 7 Oct 2010 14:54:39 +0000 (10:54 -0400)]
wayland: Split input device out to its own file
Kristian Høgsberg [Thu, 7 Oct 2010 01:51:23 +0000 (21:51 -0400)]
Add wayland lighthouse plugin