profile/ivi/qtwayland.git
13 years agofix build
Oswald Buddenhagen [Thu, 21 Jul 2011 09:08:32 +0000 (11:08 +0200)]
fix build

the usage of declarative makes our code use opengl-private even without
opengl itself being used.

13 years agorecognize QT_WAYLAND_GL_CONFIG also as a qmake variable
Oswald Buddenhagen [Wed, 20 Jul 2011 09:07:55 +0000 (11:07 +0200)]
recognize QT_WAYLAND_GL_CONFIG also as a qmake variable

unlike an environment variable set only for the time being, this
actually survives automated rebuilds of makefiles

13 years agoclean up the QT+= stuff in the project files
Oswald Buddenhagen [Tue, 19 Jul 2011 12:39:19 +0000 (14:39 +0200)]
clean up the QT+= stuff in the project files

so that we don't have to inject privates from the outside.
after recent cleanups, only qtcore and qtopengl privates are necessary,
and that only in the compositor api.

13 years agoAdd missing touchEventsEnabled property to WaylandSurfaceItem.
Laszlo Agocs [Tue, 19 Jul 2011 09:19:25 +0000 (12:19 +0300)]
Add missing touchEventsEnabled property to WaylandSurfaceItem.

13 years agoFix compilation of qml example and enable touch handling.
Laszlo Agocs [Tue, 19 Jul 2011 09:06:21 +0000 (12:06 +0300)]
Fix compilation of qml example and enable touch handling.

13 years agoAdd touch event support to WaylandSurfaceItem.
Laszlo Agocs [Tue, 19 Jul 2011 08:45:07 +0000 (11:45 +0300)]
Add touch event support to WaylandSurfaceItem.

13 years agoReduced usage of private headers
Martin Zielinski [Mon, 11 Jul 2011 08:05:21 +0000 (10:05 +0200)]
Reduced usage of private headers

Integration of v8 lead to a lot of v8 headers being included from
private QtDeclarative headers. As v8 headers are not installed, this
broke the compositor build. This change reduces the usage of private
headers to the minimum.

13 years agoCorrect authentication behavior
Martin Zielinski [Mon, 4 Jul 2011 07:54:42 +0000 (09:54 +0200)]
Correct authentication behavior

The authentication of clients via windowmanager-token is now
more robust. This is needed to get the app-booster usecase working
correctly.

13 years agoRemove debug output
Lasse Holmstedt [Tue, 5 Jul 2011 09:35:43 +0000 (11:35 +0200)]
Remove debug output

13 years agoPropagate screen orientation changes through wayland
Lasse Holmstedt [Wed, 29 Jun 2011 09:50:38 +0000 (11:50 +0200)]
Propagate screen orientation changes through wayland

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoAdd touch support to qwidget example compositor.
Laszlo Agocs [Thu, 30 Jun 2011 11:48:48 +0000 (14:48 +0300)]
Add touch support to qwidget example compositor.

13 years agoUpdate wayland sha.
Laszlo Agocs [Thu, 30 Jun 2011 10:40:41 +0000 (13:40 +0300)]
Update wayland sha.

13 years agoAdd touch event support.
Laszlo Agocs [Thu, 30 Jun 2011 08:08:32 +0000 (11:08 +0300)]
Add touch event support.

13 years agoFix MDI compositor after surfaceMapped API change.
Paul Olav Tvete [Mon, 27 Jun 2011 12:20:28 +0000 (14:20 +0200)]
Fix MDI compositor after surfaceMapped API change.

13 years agoAdded transport of on-screen visibility to qt-compositor via wayland
Martin Zielinski [Mon, 27 Jun 2011 06:56:41 +0000 (08:56 +0200)]
Added transport of on-screen visibility to qt-compositor via wayland

qt-compositor now has the ability to inform a client of not being visible on-screen.
This is mainly used to stop rendering and processing on the client-app side if the
window is occluded by another fullscreen window.

13 years agoAdd authentication token to public api
Lasse Holmstedt [Thu, 23 Jun 2011 17:05:52 +0000 (19:05 +0200)]
Add authentication token to public api

Reviewed-by: Samuel Rødal
13 years agoMake Wayland EGL integration check if the extension is available.
Samuel Rødal [Thu, 23 Jun 2011 14:39:59 +0000 (16:39 +0200)]
Make Wayland EGL integration check if the extension is available.

Prevents failing when using a software implementation of Mesa.

13 years agoAdded yet another missing remove_global call.
Laszlo Agocs [Thu, 23 Jun 2011 15:57:14 +0000 (17:57 +0200)]
Added yet another missing remove_global call.

13 years agoAvoid post_global() whenever possible.
Laszlo Agocs [Thu, 23 Jun 2011 15:18:14 +0000 (17:18 +0200)]
Avoid post_global() whenever possible.

Calling post_global() multiple times is a bad idea
after selection offers are handled as real globals.

13 years agoHandle selection offers as real globals.
Laszlo Agocs [Fri, 17 Jun 2011 07:41:55 +0000 (09:41 +0200)]
Handle selection offers as real globals.

13 years agoFix broken rpath
Jørgen Lind [Thu, 23 Jun 2011 09:04:48 +0000 (11:04 +0200)]
Fix broken rpath

13 years agoUpdate wayland_sha
Jørgen Lind [Thu, 23 Jun 2011 08:40:45 +0000 (10:40 +0200)]
Update wayland_sha

also, make the surfaceMapped signal give a size and not rect
and use the new visual api

13 years agoFix compilation with nogl config, and silence compiler warning.
Samuel Rødal [Wed, 22 Jun 2011 14:43:56 +0000 (16:43 +0200)]
Fix compilation with nogl config, and silence compiler warning.

13 years agoWe don't strictly need to be informed on each damage / destroy callback.
Samuel Rødal [Wed, 22 Jun 2011 14:41:36 +0000 (16:41 +0200)]
We don't strictly need to be informed on each damage / destroy callback.

13 years agoPrepare client-visibility transport
Martin Zielinski [Wed, 22 Jun 2011 10:12:38 +0000 (12:12 +0200)]
Prepare client-visibility transport

Added clientRenderingEnabled property to WaylandSurfaceItem. This will be used
to inform the client application whether it should render or not.

13 years agochanged to dynamic lib
Martin Zielinski [Tue, 21 Jun 2011 14:17:08 +0000 (16:17 +0200)]
changed to dynamic lib

13 years agoCall update only if the item has the ItemHasContent Flag set
Martin Zielinski [Tue, 21 Jun 2011 11:29:49 +0000 (13:29 +0200)]
Call update only if the item has the ItemHasContent Flag set

13 years agoenable alpha-channel for wayland-windows
Martin Zielinski [Wed, 8 Jun 2011 14:02:45 +0000 (16:02 +0200)]
enable alpha-channel for wayland-windows

13 years agoHandle surfaces with alpha channel in xcomposite_egl
Paul Olav Tvete [Fri, 10 Jun 2011 10:42:36 +0000 (12:42 +0200)]
Handle surfaces with alpha channel in xcomposite_egl

13 years agoDefault to non-inverted Y in xcomposite EGL integration.
Samuel Rødal [Fri, 3 Jun 2011 13:09:32 +0000 (15:09 +0200)]
Default to non-inverted Y in xcomposite EGL integration.

13 years agopro-file for staticlib build of qt-compositor
Martin Zielinski [Tue, 31 May 2011 07:28:40 +0000 (09:28 +0200)]
pro-file for staticlib build of qt-compositor

13 years agoAdd authentication token support for wayland windos
Lasse Holmstedt [Wed, 25 May 2011 10:55:26 +0000 (12:55 +0200)]
Add authentication token support for wayland windos

For compositors that support it, the wayland clients can associate themselves
with an auth token which is transmitted by the windowmanager protocol
extension.

Reviewed-by: Samuel Rødal
13 years agoAdded default background.jpg for qml compositor.
Samuel Rødal [Wed, 25 May 2011 10:41:29 +0000 (12:41 +0200)]
Added default background.jpg for qml compositor.

Used the one from demos/embeddeddialogs in Qt.

13 years agoAdded some options to customize the wayland server socket.
Samuel Rødal [Fri, 20 May 2011 08:42:21 +0000 (10:42 +0200)]
Added some options to customize the wayland server socket.

13 years agoAdd a .qrc file in qml-compositor so it can be run from anywhere.
Samuel Rødal [Fri, 20 May 2011 07:59:52 +0000 (09:59 +0200)]
Add a .qrc file in qml-compositor so it can be run from anywhere.

13 years agoPrevent qmake warnings when not building against Qt 5.
Samuel Rødal [Thu, 19 May 2011 17:04:17 +0000 (19:04 +0200)]
Prevent qmake warnings when not building against Qt 5.

13 years agoDon't create a hardware integration if the compositor is raster based.
Samuel Rødal [Fri, 20 May 2011 07:33:06 +0000 (09:33 +0200)]
Don't create a hardware integration if the compositor is raster based.

13 years agoexamples: new qwidget-compositor-mdi
Corentin Chary [Fri, 20 May 2011 07:46:04 +0000 (09:46 +0200)]
examples: new qwidget-compositor-mdi

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 3
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoqt-compositor/wayland_wrapper: wayland do not set buffer->compositor anymore
Corentin Chary [Fri, 20 May 2011 07:46:04 +0000 (09:46 +0200)]
qt-compositor/wayland_wrapper: wayland do not set buffer->compositor anymore

This is only a temporary workaround since wl_buffer::compositor field
will be removed soon.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 3
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoqt-compositor: frameFinished() is a per-surface thing
Corentin Chary [Fri, 20 May 2011 07:46:04 +0000 (09:46 +0200)]
qt-compositor: frameFinished() is a per-surface thing

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 3
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoPrevent qmake warnings when not building against Qt 5.
Samuel Rødal [Thu, 19 May 2011 17:04:17 +0000 (19:04 +0200)]
Prevent qmake warnings when not building against Qt 5.

13 years agoWindow manager extension for wayland
Lasse Holmstedt [Thu, 19 May 2011 10:21:53 +0000 (12:21 +0200)]
Window manager extension for wayland

maps clients to process id's so that each surface will have
a PID associated to it.

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoqt-compositor: fix build with QT_WAYLAND_GL_CONFIG=nogl
Corentin Chary [Thu, 19 May 2011 08:14:25 +0000 (10:14 +0200)]
qt-compositor: fix build with QT_WAYLAND_GL_CONFIG=nogl

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 2
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoexamples/qwidget-compositor: don't use GL if disabled
Corentin Chary [Thu, 19 May 2011 08:14:25 +0000 (10:14 +0200)]
examples/qwidget-compositor: don't use GL if disabled

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Merge-request: 2
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
13 years agoAdd an optional retained selection mode to the compositor.
Laszlo Agocs [Mon, 16 May 2011 08:03:21 +0000 (10:03 +0200)]
Add an optional retained selection mode to the compositor.

Enabling this feature will cause the server to retrieve all data
for all mime types as soon as a selection is activated. This data
is then used as a backup, to keep the selection and the offer
working even after the app holding the current selection exits.

Reviewed-by: Samuel Rødal
13 years agoBug, we didn't support multiple attaches
Jørgen Lind [Thu, 12 May 2011 13:27:14 +0000 (15:27 +0200)]
Bug, we didn't support multiple attaches

13 years agoFixed missing texture updates.
Samuel Rødal [Thu, 12 May 2011 08:49:10 +0000 (10:49 +0200)]
Fixed missing texture updates.

Make sure we get a new texture id, so that
QSGSimpleTextureNode::setTexture() doesn't return early.

13 years agoRemove Wayland copy, now that we have wayland_sha1.txt
Paul Olav Tvete [Wed, 11 May 2011 12:14:44 +0000 (14:14 +0200)]
Remove Wayland copy, now that we have wayland_sha1.txt

13 years agoUpdated known-good wayland sha.
Laszlo Agocs [Wed, 11 May 2011 12:00:38 +0000 (14:00 +0200)]
Updated known-good wayland sha.

13 years agoFix build break caused by wayland master changes.
Laszlo Agocs [Wed, 11 May 2011 11:57:33 +0000 (13:57 +0200)]
Fix build break caused by wayland master changes.

13 years agoFix support for making compositors in different directory
Jørgen Lind [Tue, 10 May 2011 13:51:03 +0000 (15:51 +0200)]
Fix support for making compositors in different directory

13 years agoAdded clipboard support.
Laszlo Agocs [Fri, 6 May 2011 16:37:10 +0000 (18:37 +0200)]
Added clipboard support.

13 years agoChanged the API for hiding a surface from setHidden to setPaintEnabled.
Samuel Rødal [Mon, 9 May 2011 07:25:23 +0000 (09:25 +0200)]
Changed the API for hiding a surface from setHidden to setPaintEnabled.

This makes it more explicit that setHidden() isn't just the inverse of
setVisible(), but also still handles mouse events.

13 years agoAdd new hidden property in WaylandSurfaceItem to control visibility.
Samuel Rødal [Fri, 6 May 2011 12:57:40 +0000 (14:57 +0200)]
Add new hidden property in WaylandSurfaceItem to control visibility.

This lets us control visibility while still having the mouse events
working. We usually want to hide the surface item if it has a shader
effect item modifying its appearance (since otherwise both the source
and the shader effect items are shown, blended on top of each other).

13 years agoAdd default value to inverted y on glx
Jørgen Lind [Sun, 8 May 2011 15:43:23 +0000 (17:43 +0200)]
Add default value to inverted y on glx

This because glx can just ignore the query, and just pass the value
back.

13 years agoWe still support not having custome shaders
Jørgen Lind [Fri, 6 May 2011 11:50:14 +0000 (13:50 +0200)]
We still support not having custome shaders

13 years agoImplement invertedY in the glx backend
Jørgen Lind [Fri, 6 May 2011 11:26:51 +0000 (13:26 +0200)]
Implement invertedY in the glx backend

Also change flipped to be true as default for texture buffers

13 years agoMake the shadereffect respect the flip property
Jørgen Lind [Fri, 6 May 2011 10:19:18 +0000 (12:19 +0200)]
Make the shadereffect respect the flip property

13 years agoAdd invertedY flag for surface
Jørgen Lind [Fri, 6 May 2011 08:30:15 +0000 (10:30 +0200)]
Add invertedY flag for surface

13 years agoMake qmal compositor resize
Jørgen Lind [Thu, 5 May 2011 09:16:14 +0000 (11:16 +0200)]
Make qmal compositor resize

13 years agoCompilefix
Jørgen Lind [Thu, 5 May 2011 09:15:35 +0000 (11:15 +0200)]
Compilefix

13 years agoQT_COMPOSITOR_WAYLAND_GL defines in wlsurface
Jørgen Lind [Tue, 3 May 2011 15:45:22 +0000 (17:45 +0200)]
QT_COMPOSITOR_WAYLAND_GL defines in wlsurface

13 years agoAdded textfile showing what sha1 in wayland we have tested against
Jørgen Lind [Tue, 3 May 2011 11:04:17 +0000 (13:04 +0200)]
Added textfile showing what sha1 in wayland we have tested against

13 years agoRemove warnings
Jørgen Lind [Tue, 3 May 2011 10:59:50 +0000 (12:59 +0200)]
Remove warnings

13 years agoUpdate 3rd party Wayland
Jørgen Lind [Tue, 3 May 2011 10:44:43 +0000 (12:44 +0200)]
Update 3rd party Wayland

and reapplied 55bc1eeb8627632be81c90c9ab61a8a535eb7e4e

13 years agoUpdated the xcomposite extension
Jørgen Lind [Tue, 3 May 2011 06:59:38 +0000 (08:59 +0200)]
Updated the xcomposite extension

13 years agoFollow Wayland API Changes
Jørgen Lind [Fri, 29 Apr 2011 05:52:30 +0000 (07:52 +0200)]
Follow Wayland API Changes

13 years agoSupport for direct rendering (non-composited mode)
Paul Olav Tvete [Thu, 28 Apr 2011 13:11:29 +0000 (15:11 +0200)]
Support for direct rendering (non-composited mode)

Experimental.

13 years agoThe texture node already flips, so we need to flip again
Gunnar Sletta [Tue, 26 Apr 2011 09:54:05 +0000 (11:54 +0200)]
The texture node already flips, so we need to flip again

13 years agoPrevent flipped rendering in QML compositor.
Samuel Rødal [Tue, 19 Apr 2011 13:59:39 +0000 (15:59 +0200)]
Prevent flipped rendering in QML compositor.

13 years agoDont use accept4 && SOCK_CLOEXEC
Jørgen Lind [Tue, 19 Apr 2011 07:03:33 +0000 (09:03 +0200)]
Dont use accept4  && SOCK_CLOEXEC

13 years agoAvoid crash when texture changes.
Paul Olav Tvete [Mon, 18 Apr 2011 11:23:41 +0000 (13:23 +0200)]
Avoid crash when texture changes.

Now that we delete and re-create the texture in surfaceDamaged(), we have
to tell the node about the texture each time, and not only at creation.

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline
Gunnar Sletta [Fri, 15 Apr 2011 14:16:59 +0000 (16:16 +0200)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline

13 years agoMake compositor work with scenegraph items again
Gunnar Sletta [Fri, 15 Apr 2011 14:15:56 +0000 (16:15 +0200)]
Make compositor work with scenegraph items again

13 years agoFix missing X11 dependency
Jørgen Lind [Fri, 15 Apr 2011 11:38:03 +0000 (13:38 +0200)]
Fix missing X11 dependency

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline
Gunnar Sletta [Fri, 15 Apr 2011 05:12:56 +0000 (07:12 +0200)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline

13 years agoUpdate to the new texture API in scenegraph
Gunnar Sletta [Thu, 14 Apr 2011 13:00:48 +0000 (15:00 +0200)]
Update to the new texture API in scenegraph

13 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline
Gunnar Sletta [Thu, 14 Apr 2011 12:49:06 +0000 (14:49 +0200)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt-compositor/mainline

13 years agoSet the correct filtering when the texture is used as a shader source
Gunnar Sletta [Thu, 14 Apr 2011 12:33:45 +0000 (14:33 +0200)]
Set the correct filtering when the texture is used as a shader source

13 years agoNo more source rect in the texture item
Gunnar Sletta [Thu, 14 Apr 2011 12:18:35 +0000 (14:18 +0200)]
No more source rect in the texture item

13 years agowork
Gunnar Sletta [Thu, 14 Apr 2011 12:18:20 +0000 (14:18 +0200)]
work

13 years agoUse pixel coordinates
Gunnar Sletta [Thu, 14 Apr 2011 11:24:27 +0000 (13:24 +0200)]
Use pixel coordinates

13 years agoUpdating src/3rdparty/wayland to head of Wayland master
Jørgen Lind [Thu, 14 Apr 2011 08:04:50 +0000 (10:04 +0200)]
Updating src/3rdparty/wayland to head of Wayland master

In git://anongit.freedesktop.org/wayland/wayland its sha
f04e05ad76cd6af890b7b741a9e0f5181bd0ac10

13 years agoMake Qt-Compositor conform to Wayland api changes
Jørgen Lind [Thu, 14 Apr 2011 06:57:36 +0000 (08:57 +0200)]
Make Qt-Compositor conform to Wayland api changes

Frame callback needs a surface

13 years agoCompile after scene graph changes
Gunnar Sletta [Wed, 13 Apr 2011 21:11:04 +0000 (23:11 +0200)]
Compile after scene graph changes

13 years agoAdjust the README
Jørgen Lind [Mon, 11 Apr 2011 14:21:45 +0000 (16:21 +0200)]
Adjust the README

13 years agoUpdate readme with mac specifics
Jørgen Lind [Mon, 11 Apr 2011 13:41:57 +0000 (15:41 +0200)]
Update readme with mac specifics

13 years agoMake it possible to build Qt-Compositor without gl support
Jørgen Lind [Mon, 11 Apr 2011 13:37:36 +0000 (15:37 +0200)]
Make it possible to build Qt-Compositor without gl support

even when Qt is built with QtOpenGL

13 years agoAdd a custom rule for hardware_integration
Jørgen Lind [Mon, 11 Apr 2011 12:50:47 +0000 (14:50 +0200)]
Add a custom rule for hardware_integration

This enables the compositor pro file to include another pri file which
implements the hardware integration

13 years agoMake Qt-Compositor build the xcomposite backend as default
Jørgen Lind [Mon, 11 Apr 2011 12:00:15 +0000 (14:00 +0200)]
Make Qt-Compositor build the xcomposite backend as default

when Qt is built with opengl. Other plugins can be set by defining the
environment variable: QT_WAYLAND_GL_CONFIG

13 years agoPrevent accessing destroyed WaylandSurface in WaylandSurfaceItem.
Samuel Rødal [Fri, 8 Apr 2011 11:05:03 +0000 (13:05 +0200)]
Prevent accessing destroyed WaylandSurface in WaylandSurfaceItem.

13 years agoAdd the egl xcomposite extension
Jørgen Lind [Thu, 7 Apr 2011 16:05:02 +0000 (18:05 +0200)]
Add the egl xcomposite extension

13 years agoadd missing \n in debug output
Harald Fernengel [Wed, 6 Apr 2011 12:13:11 +0000 (14:13 +0200)]
add missing \n in debug output

13 years agoRemove glesv2 pkg-config config. We should pick this up
Jørgen Lind [Wed, 6 Apr 2011 10:55:29 +0000 (12:55 +0200)]
Remove glesv2 pkg-config config. We should pick this up

with QtOpenGL

13 years agoFixup to 35e6608ce14d05973c6ceee4c2ee046d10af4aaf
Jørgen Lind [Wed, 6 Apr 2011 10:54:52 +0000 (12:54 +0200)]
Fixup to 35e6608ce14d05973c6ceee4c2ee046d10af4aaf

13 years agoSet the rpath
Harald Fernengel [Wed, 6 Apr 2011 10:53:58 +0000 (12:53 +0200)]
Set the rpath

Wayland is currently instaled in non-standard dirs, so set the rpath if
the system supports rpath.

Reviewed-By: Jørgen Lind
13 years agoAdd XComposite extension to wayland
Jørgen Lind [Wed, 6 Apr 2011 08:10:12 +0000 (10:10 +0200)]
Add XComposite extension to wayland

13 years agoUpdate according to latest changes to QSGTextureProvider.
Samuel Rødal [Tue, 5 Apr 2011 13:57:44 +0000 (15:57 +0200)]
Update according to latest changes to QSGTextureProvider.

13 years agoDo a delayed map in Wayland::Surface if needed.
Samuel Rødal [Tue, 5 Apr 2011 13:48:15 +0000 (15:48 +0200)]
Do a delayed map in Wayland::Surface if needed.

13 years agoDon't emit mapped until the surface is actually mapped.
Samuel Rødal [Tue, 5 Apr 2011 08:12:00 +0000 (10:12 +0200)]
Don't emit mapped until the surface is actually mapped.

Buffers might be attached without the surface ever being mapped.