summaryrefslogtreecommitdiff
path: root/clients
AgeCommit message (Collapse)AuthorFilesLines
2012-04-20screenshooter: Grab pixel data directly before buffer swapScott Moreau1-2/+17
2012-04-20Send surface enter/leave eventsCasey Dahlin1-0/+18
These new protocol events allow us to tell which outputs a surface is on, and potentially update where we allocate our buffers from. Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
2012-04-19Install structuring for ping-pong protocolScott Moreau1-0/+8
2012-04-13window.c: Drop the toolkit grab when we start a compositor grabKristian Høgsberg2-0/+3
We do this right for move and resize, but dnd and popups need the same treatment.
2012-04-13window: Send serial number in set_popup requestKristian Høgsberg1-2/+2
2012-04-13window: Initialize redraw_task.link so we can always remove itKristian Høgsberg1-0/+2
2012-04-11Follow wayland change to serial numbersKristian Høgsberg6-70/+89
2012-04-11weston: update .gitignore filesCasey Dahlin1-2/+2
Updates the .gitignore files for clients and tests to reflect a new test and a couple of renamed applications. Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
2012-04-10window: Fix remaining references to the egl image surface typeKristian Høgsberg1-18/+6
Didn't catch these before, was compiling with sw cairo.
2012-04-10window: Drop EGLImage surface typeKristian Høgsberg2-134/+0
2012-04-10window: Only unmap shm surface backing memory if it belongs to surfaceKristian Høgsberg1-4/+6
Memory allocated out of the resize shm pool will be unmapped when the pool is destroyed.
2012-04-10window: Simplify the shm surface managementKristian Høgsberg1-36/+7
We can destroy a shm wl_buffer immediately after sending it to the server.
2012-04-04screenshot.c: Fix up a few stylistic issuesKristian Høgsberg1-20/+8
2012-04-04screenshooter: Properly handle multiple outputs.Scott Moreau1-9/+60
2012-04-03client: tablet-shell: fallback in the lack of lockscreen iconTiago Vignatti1-5/+11
lockscreen, homescreen and shell launchers are falling back okay already and only lockscreen icon was missing some way to keep the shell client running in the absence of images. This patch fix it. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-04-03window: Check load_image result for NULLKristian Høgsberg1-0/+4
2012-04-03Fix `unused-result' warnings.Jonas Ådahl2-2/+6
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-04-03window: Use a persistent, big shm pool during resizeKristian Høgsberg1-8/+44
The biggest performance bottleneck while resizing is the continous setting up and tearing down of mmaps and faulting in pages. This commit introduces a per-window pool that we'll allocate buffers out of if it's available. Then we set initialize it to a big shm pool when we start resizing and free it when resizing is done.
2012-04-03window: Only initialize egl if we have cairo eglKristian Høgsberg1-0/+6
2012-04-03clients: Use new shm interfaceKristian Høgsberg4-33/+54
2012-04-03cairo-util: Use nearest filtering for rendering frameKristian Høgsberg1-0/+2
We don't need bilinear filtering here, the corners aren't scaled and the scaled edges are just stretched along one axis.
2012-03-30Add signedness warning flag and fix falloutKristian Høgsberg8-15/+16
2012-03-28tablet-shell: come back to lifeTiago Vignatti1-78/+144
A couple of fixes were made: Weston tablet-shell needed to use weston_layer, so the compositor could rebuild the surface list correctly when repainting; homescreen and locking are using the widget + window abstration of toytoolkit; and widget_set_redraw_handler are being set for widgets redraw. Also, it was given some basic meaning for lockscreen_button_handler, which was completely disabled before. As a clean up, I updated the global listener mechanism on tablet-shell client, using the regular way of registering a handler instead wl_display_roundtrip -> wl_display_get_global. Switcher still without code to proper work and the same for tablet-shell clients, which are not launched. krh: Edited to not scale down homescreen icons, use new load_cairo_surface() for image loading. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-03-27dnd: Damage surface after attaching new bufferKristian Høgsberg1-0/+7
2012-03-27clients: Fix a couple of warningsKristian Høgsberg2-13/+0
2012-03-26Simplify shm buffer handlingKristian Høgsberg4-32/+2
There was a lot of code here to do a lot of work we didn't need to do. If we damage a surface with a shm buffer attached, all we need to do is to re-upload the damaged region to the texture. As for drm buffers, we don't assume anything changes on attach and only update the regions the client tells us to update in the damage request.
2012-03-26window.c: Do resize work from the repaint idle callbackKristian Høgsberg1-15/+9
This way we always make sure we handle any resizing before we start drawing.
2012-03-25config-parser: consolidate shell files into weston.ini onlyTiago Vignatti2-14/+9
The shell choice happens in the configuration file now. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-03-24window.c; Only redraw once per frameKristian Høgsberg1-1/+22
Based on a patch from Martin Minarik <minarik11@student.fiit.stuba.sk> who tracked down the excessive redraw problem.
2012-03-24Secure screenshooter protocol.Scott Moreau1-4/+5
2012-03-22Hook up axis events.Scott Moreau2-0/+15
2012-03-22window.c: Fix the stretch scaling codeKristian Høgsberg1-8/+8
2012-03-21window.c: Increase drop shadow fluffinessKristian Høgsberg2-16/+16
2012-03-20window.c: Tweak window decoration appearanceKristian Høgsberg1-15/+39
The old orange decorations were starting to look like clown shoes.
2012-03-20weston: Don't ask for EGL depth buffer if not neededBill Spitzak1-1/+0
This makes the compositor and demo clients work on the current nouveau nvfx driver. Obviously does not fix any clients that actually want a depth buffer, but this does allow more people to at least try wayland.
2012-03-20cairo-util: load_cairo_surface returns NULL if loading the file fails.Ustun Ergenoglu1-0/+4
Otherwise a non-existent file in the configuration crashes the desktop shell. Signed-off-by: Ustun Ergenoglu <ego@ustun.fi>
2012-03-12Consolidate image loading code and move to shared/Kristian Høgsberg8-553/+71
2012-03-12Add an option parserKristian Høgsberg16-91/+56
On one hand, getopt (in particular the -o suboption syntax) sucks on the server side, and on the client side we would like to avoid the glib dependency. We can roll out own option parser and solve both problems and save a few lines of code total.
2012-03-12clients/window: fix build issues w/ glesRob Clark1-1/+12
2012-03-05window: Compute frame boundary for all windows except fullscreenKristian Høgsberg1-1/+1
We were only computing it for toplevel type windows, which broke the unlock dialog size allocation and repainting.
2012-03-05desktop-shell: Simplify unlock dialog redraw functionKristian Høgsberg1-10/+6
2012-03-05window: Only set opaque and input regions if they changeKristian Høgsberg1-2/+13
Setting these regions damages the entire window or causes a repick, which we don't want to trigger if we don't need to.
2012-02-29window.c: Drop support for rgb contextsKristian Høgsberg2-60/+7
2012-02-29wscreensaver: Use the argb config, rgb is not compatible with window.cKristian Høgsberg1-1/+1
Fixes the config/surface mismatch, spotted by Scott Moreau.
2012-02-29window: Set opaque region after child widget adjusts sizeKristian Høgsberg1-9/+9
2012-02-29weston: Change path for default terminal launcher to ${prefix}/binRodney Lorrimar2-1/+2
If you don't have anything at ~/.config/weston-desktop-shell.ini and have weston installed somewhere other than /usr, then this patch will help. Cheers, Signed-off-by: Rodney Lorrimar <rodney@rodney.id.au>
2012-02-28clients: Use wl_display_disconnect()Kristian Høgsberg3-3/+3
2012-02-28terminal: Don't queue a resize after setting fullscreenKristian Høgsberg1-1/+0
We end up doing an attach at the non-fullscreen size before resizing to fullscreen, causing the terminal to jump to the center for a frame before we render the fullscreen image.
2012-02-23window: Track and report input and opaque regionsKristian Høgsberg6-17/+59
We just set the input region to the bounding box of the window frame and set the opaque region to be the opaque rectangle inside the window if the child widget is opaque.
2012-02-23simple-touch: Update to enter/leave changesKristian Høgsberg1-4/+21