Commit Graph

237 Commits

Author SHA1 Message Date
Kristian Høgsberg
487213defd Damage surface before attaching new buffer
This reverts cde9bfc805.  We need to damage the
area covered by the old surface when attaching a new buffer.  The new surface
area will be damaged by the client.
2011-06-21 15:40:31 -04:00
Kristian Høgsberg
fd94bf0fd0 compositor: Fix region leak 2011-06-21 15:33:18 -04:00
Kristian Høgsberg
e75cb7f64b compositor: Store the output rectangle in a region 2011-06-21 15:32:56 -04:00
Kristian Høgsberg
ef04414f39 compositor: Repaint immediately after pageflip finishes 2011-06-21 15:02:12 -04:00
Benjamin Franzke
6f5fc69b67 compositor: Decrement buffers busy_count in post_release 2011-06-21 19:35:45 +02:00
Kristian Høgsberg
ec138901c1 Merge remote-tracking branch 'bnf/buffer.release-2'
Conflicts:
	compositor/compositor.h
2011-06-21 13:10:01 -04:00
Benjamin Franzke
0628626d55 Implement buffer.release event 2011-06-21 18:41:37 +02:00
Kristian Høgsberg
2468692c9f Merge remote-tracking branch 'bnf/fixes-2' 2011-06-21 11:31:38 -04:00
Kristian Høgsberg
8f0ce05f52 compositor: Send out more detailed output events 2011-06-21 11:16:58 -04:00
Benjamin Franzke
d72037cc78 compositor: Send frame event after redraw 2011-06-21 16:41:20 +02:00
Benjamin Franzke
fb4b5a293a compositor: Do not leak old client buffers 2011-06-21 10:44:37 +02:00
Kristian Høgsberg
40caded030 compositor: Only use GL_LINEAR when surface is transformed 2011-06-20 19:48:16 -04:00
Kristian Høgsberg
cde9bfc805 compositor: Damage after setting surface width and height 2011-06-20 10:45:57 -04:00
Kristian Høgsberg
7c47667921 compositor-wayland: Update to new APIs 2011-06-20 10:45:57 -04:00
Kristian Høgsberg
7a5c979f4c Move map requests to shell 2011-06-20 10:45:24 -04:00
Kristian Høgsberg
83eeacb489 compositor-x11: Support fullscreen mode 2011-06-18 04:20:54 -04:00
Kristian Høgsberg
ff073a6a6b compositor: Don't pass a non-existing varying into the fragment shader 2011-05-19 12:05:51 -04:00
Kristian Høgsberg
52612f113c meego-tablet-shell: Tweak spring constants 2011-05-19 11:55:50 -04:00
Casey Dahlin
9a06f700b5 Update .gitignore 2011-05-19 11:13:03 -04:00
Kristian Høgsberg
2e02d24cb3 compositor: Call wlsc_buffer_attach() after setting es->width
Otherwise we end up with a 0 pitch.
2011-05-16 10:42:06 -04:00
Egbert Eich
e7b8d9055e compositor: Set EGL_PLATFORM env variable for each backend.
I may have missed something, but - since the Wayland compositor
already picks a platform backend, opens a connection and initializes the
backend specific display data structure it doesn't make sense
to let egl pick a platform. If it picks a different one the
display specific data structure will most likely not match.
Thus determine the platform in the Wayland rendering backend by setting
the EGL_PLATFORM env variable.
For the client any other platform than 'wayland' doesn't seem to make
sense.
I'm not sure if I've got the the platform ofr openfwd right.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
2011-05-10 16:42:08 -04:00
Kristian Høgsberg
b79216e7a0 meego-tablet-compositor: Only ask for lockscreen after we get homescreen
This way we don't fade up until the lockscreen is showing.
2011-05-10 14:40:08 -04:00
Benjamin Franzke
b7acce60e2 compositor: Fix warning in load_module 2011-05-06 23:19:22 +02:00
Benjamin Franzke
f2de6c7ba0 compositor-openwfd: Update to tty, cursor and cflags changes 2011-05-06 23:17:11 +02:00
Benjamin Franzke
4721a3c912 Make use of wl_resource.destroy_listener_list for surfaces. 2011-05-06 16:03:33 -04:00
Kristian Høgsberg
d8e181bd3f compositor-drm: Hide hw cursors on vt switch 2011-05-06 15:38:28 -04:00
Kristian Høgsberg
9396fc515b compositor-drm: Fix vt switching
Don't take input or render while switched away, drop and set master correctly.
2011-05-06 15:15:37 -04:00
Kristian Høgsberg
6c709a3e4f Fix warnings and symbol visibility from missing CFLAGS 2011-05-06 14:52:41 -04:00
Kristian Høgsberg
bbefb136d1 Make sure all targets use GCC_CFLAGS 2011-05-06 14:49:06 -04:00
Kristian Høgsberg
e4c40a4734 compositor: Disable hw cursor if we're texturing the cursor 2011-05-06 14:04:21 -04:00
Kristian Høgsberg
4d07a1c213 compositor: Scanout client buffers even if they're not map_fullscreen 2011-05-06 14:03:12 -04:00
Kristian Høgsberg
7981d00a59 compositor-drm: Use EGL_DRM_BUFFER_USE_CURSOR_MESA 2011-05-06 13:23:49 -04:00
Kristian Høgsberg
5fa7f17199 meego-tablet-shell: Destroy tablet_client resource in destroy request 2011-05-05 15:30:40 -04:00
Kristian Høgsberg
bfcf07cd59 meego-tablet-shell: Handle app switcher choices 2011-05-05 15:25:28 -04:00
Benjamin Franzke
f64c66106f compositor-openwfd: Fixup backend split 2011-05-04 16:18:31 -04:00
Kristian Høgsberg
81e8c26176 meego-tablet-shell: Rename tablet_client.poke to activate and add a destructor 2011-05-04 16:17:45 -04:00
Kristian Høgsberg
92fb0e9e39 meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels 2011-05-04 16:16:43 -04:00
Kristian Høgsberg
8050bd217f compositor-drm: Fix modularization breakage 2011-05-04 15:08:04 -04:00
Kristian Høgsberg
1258a4a552 meego-tablet-shell: Track the state of the UI explicitly 2011-05-04 11:35:02 -04:00
Kristian Høgsberg
f77ce46fe5 meego-tablet-shell: Handle meta key with super modifier so we get the release 2011-05-03 13:11:43 -04:00
Kristian Høgsberg
132c65360e meego-tablet-shell: Handle animation surface going away 2011-05-03 12:41:03 -04:00
Kristian Høgsberg
1c5621840b compositor: Split backends into modules 2011-05-02 22:09:20 -04:00
Kristian Høgsberg
9d09777e40 meego-tablet-shell: Use KEY_COMPOSE for the menu key
This is what the Windows menu key maps to in evdev keycodes.
2011-05-02 15:24:11 -04:00
Kristian Høgsberg
269c78286f compositor: Rename tweener to spring
Because it's a spring model, not a tweener.
2011-05-02 14:38:18 -04:00
Kristian Høgsberg
0bc0e24968 compositor: Group matrix and inverse in struct wlsc_transform 2011-05-02 14:35:40 -04:00
Kristian Høgsberg
3a53efe26e meego-tablet-shell: Factor out zoom animation 2011-05-02 14:21:03 -04:00
Kristian Høgsberg
d28b4d7be8 meego-tablet-shell: Match meego-ux-daemon key bindings 2011-05-02 14:11:15 -04:00
Kristian Høgsberg
3d1cad80c2 meego-tablet-shell: Only clear CLOEXEC flag in child 2011-05-02 13:57:38 -04:00
Kristian Høgsberg
d880e14f8a compositor: Export matrix functions 2011-05-02 13:53:45 -04:00
Kristian Høgsberg
a04eecc27b compositor: Drop broken opaque repaint optimization for now 2011-05-02 13:52:00 -04:00