Kristian Høgsberg
f790c79ec7
Use wl_display_bind() for binding to globals
2011-08-29 17:12:36 -04:00
Kristian Høgsberg
d9551a3377
compositor: drop wl_display_add_object()
2011-08-29 17:12:36 -04:00
Kristian Høgsberg
904055a652
compositor: Make all exported objects wl_resources
2011-08-29 17:12:36 -04:00
Kristian Høgsberg
334182062f
Use the new wl_callback interface
2011-08-29 17:12:36 -04:00
Matt Roper
361d2ade02
Update compositor shutdown code
...
Adds a general wlsc_compositor_shutdown() function that all output
backends call when shutting down. wlsc_compositor_shutdown() will call
a new 'destroy' method of each output to perform backend-specific
cleanup (e.g., turning off the hardware cursor in the DRM compositor).
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
2011-08-29 17:12:27 -04:00
Tiago Vignatti
2cc8b87310
compositor: fix pitch initialization
...
texture_region was getting a trash value for computing. I don't
understand how we couldn't see any artifact on surface output in such
case.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-08-19 10:55:33 -04:00
Kristian Høgsberg
6bded3fd95
Don't pass NULL pointer as user data to signal handler
2011-08-12 14:55:07 -04:00
Tiago Vignatti
2116b89156
compositor: Move signal handler initialization before module loading
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-08-11 15:15:30 -04:00
Kristian Høgsberg
9ffb6b9866
compositor: Only configure surface when it changes geometry
2011-07-21 20:14:57 -07:00
Kristian Høgsberg
4f0df049bb
compositor: Pick output for surface based on amount of overlap
2011-07-21 20:14:52 -07:00
Kristian Høgsberg
3cad436a91
xserver: Clean up X server socket on exit
2011-07-15 21:09:24 -04:00
Kristian Høgsberg
7341e9b6d9
compositor: Fix damage tracking for multi-head compositors
2011-07-01 22:12:11 -04:00
Benjamin Franzke
a8bdeae1b6
compositor: Fix cursor damaging on multi head
...
Removing cursors from the surface list,
for usage as hardware cursor needs lower damaging.
Also damge when re-adding to the surface list.
2011-07-01 15:51:41 -04:00
Kristian Høgsberg
5ec0a93a98
compositor: Add a simple WM to the xserver launcher
2011-07-01 10:46:40 -04:00
Kristian Høgsberg
cd0d10b752
compositor: Damage surface when raising
2011-06-24 08:37:06 -04:00
Kristian Høgsberg
a691aeefd7
compositor: Track opaque region of a surface
2011-06-23 22:48:37 -04:00
Kristian Høgsberg
aee7f84347
compositor: Stop repainting below opaque surfaces
2011-06-23 21:25:20 -04:00
Kristian Høgsberg
53df1d8a6b
compositor: Fix a couple of region leaks
2011-06-23 21:11:19 -04:00
Kristian Høgsberg
b8a983395d
compositor: Add helper to damage surface below
2011-06-23 21:00:04 -04:00
Kristian Høgsberg
8b72f60478
compositor: Clip away obscured damage
2011-06-23 20:46:34 -04:00
Kristian Høgsberg
20300ba112
compositor: Accumulate damage in per-surface regions
2011-06-23 20:29:12 -04:00
Benjamin Franzke
b7c00a4376
Send keyboard_focus only to client surfaces
2011-06-23 23:30:30 +02:00
Kristian Høgsberg
758dd3ea55
compsitor: Put background surface in the big surface list
2011-06-23 15:52:11 -04:00
Kristian Høgsberg
8244b44524
compositor: Put cursor surfaces into the big surface list
2011-06-23 15:52:11 -04:00
Kristian Høgsberg
751b5bcdd2
compositor: Change default background to be a png
2011-06-23 15:52:10 -04:00
Kristian Høgsberg
27da538ab5
compositor: Add socket based activation for X server
2011-06-21 17:32:25 -04:00
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
7a5c979f4c
Move map requests to shell
2011-06-20 10:45:24 -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
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
Benjamin Franzke
b7acce60e2
compositor: Fix warning in load_module
2011-05-06 23:19:22 +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
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
1c5621840b
compositor: Split backends into modules
2011-05-02 22:09:20 -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