a4b7e20392 
								
							
								 
							
						 
						
							
							
								
								drm: Only add an output once we've successfully initialized it  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								53e79898a4 
								
							
								 
							
						 
						
							
							
								
								drm: Remove unneccesary drm_output_prepare_render() call  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								9c46ff1a1e 
								
							
								 
							
						 
						
							
							
								
								drm: Specify depth as 24 when creating the KMS FB  
							
							... 
							
							
 
							
							At least intel kms rejects depth 32 now, and 24 is want we want. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								191454e6c2 
								
							
								 
							
						 
						
							
							
								
								compositor: Rename scanout surfaces  
							
							... 
							
							
 
							
							Let's call the surface that's about to be pageflipped 'pending' and the
one we're currently showing 'scanout'. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f1621d2945 
								
							
								 
							
						 
						
							
							
								
								compositor: don't release the front buffer after page flip  
							
							... 
							
							
 
							
							On repaint, wlsc_output_repaint will replace output->scanout_buffer with
the new front buffer and then output->present() will cause this buffer
to be displayed. When wlsc_output_finish_frame is called, the
compositor will send a release buffer event for output->scanout_buffer
which is actually the front buffer now.
This patch changes this code to release the previous scanout_buffer
instead of the front buffer on wlsc_output_finish_frame.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3b19966f19 
								
							
								 
							
						 
						
							
							
								
								compositor: move setup of scanout surface out of wlsc_output_repaint  
							
							... 
							
							
 
							
							Move this to a separate function to better accommodate changes in the
following commit.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								397b908d7b 
								
							
								 
							
						 
						
							
							
								
								Add missing include for gio.h.  
							
							... 
							
							
 
							
							This is needed by GFile, used by view.c.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bf8bd5aa3a 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Fix another last-minute typo  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								27d3866045 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Add helper to load jpeg files  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								9ef9e0ecf9 
								
							
								 
							
						 
						
							
							
								
								simple-egl: Remove leftover wl_visual variable  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								cbd06f94d1 
								
							
								 
							
						 
						
							
							
								
								compositor: Silence a couple of valgrind warnings  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								32ff1f5012 
								
							
								 
							
						 
						
							
							
								
								compositor: Dont repick for grabbed surfaces  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bcee9a4b25 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Add beginning of pop-up menu to panel  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								dcef9ca23c 
								
							
								 
							
						 
						
							
							
								
								x11: Fix last-minute edit bug  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								d6e5525a20 
								
							
								 
							
						 
						
							
							
								
								x11: Manage xserver focus better  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								707e10fa75 
								
							
								 
							
						 
						
							
							
								
								x11: Handle a few more window property atoms  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a6ef0993e8 
								
							
								 
							
						 
						
							
							
								
								x11: Truncate property string to property length  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f0d9116fc8 
								
							
								 
							
						 
						
							
							
								
								x11: Add a destroy listener for X11 surfaces  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								d2baf1fe5f 
								
							
								 
							
						 
						
							
							
								
								compositor: Repick focus surface as surfaces come and go  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								293af264af 
								
							
								 
							
						 
						
							
							
								
								x11: Use compositor time, not X event time  
							
							... 
							
							
 
							
							X event time is not compatible with wlsc_compositor_get_time(). 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1a89f28c7d 
								
							
								 
							
						 
						
							
							
								
								gears: Fail if compiled without cairo-egl  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0c99163d9b 
								
							
								 
							
						 
						
							
							
								
								window: Create a cairo device for each egl config  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								47eb8f4e91 
								
							
								 
							
						 
						
							
							
								
								window: Remove display_flush_cairo_device  
							
							... 
							
							
 
							
							Rather add a flush_surface utility that
flushed the cairo_device thats associated to a surface. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								02dee2caad 
								
							
								 
							
						 
						
							
							
								
								compositor-drm: Fix invalid usage of udev ressources  
							
							... 
							
							
 
							
							The reference returned by udev_list_entry_get_name is
only valid until udev_enumerate_unref is called.
Call unref after the last usage of such. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a764ee5158 
								
							
								 
							
						 
						
							
							
								
								compositor-drm: Enumerate only cards with name card*  
							
							... 
							
							
 
							
							To exclude /dev/dri/controlD* from the enumeration. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								439d98697a 
								
							
								 
							
						 
						
							
							
								
								compositor-drm: Be patient when output creation fails  
							
							... 
							
							
 
							
							Do not fail if e.g. only one of 3 connectors cant be enabled.
Could be that we just have not enough crtcs available. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								c18366d1e9 
								
							
								 
							
						 
						
							
							
								
								compositor-openwfd: Fix tty assignment in backend_init  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e4fb78de8f 
								
							
								 
							
						 
						
							
							
								
								Handle compositors without wl_shell  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								41abb2865e 
								
							
								 
							
						 
						
							
							
								
								view: Fix reference to wayland-glib.h  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e28d05b0ad 
								
							
								 
							
						 
						
							
							
								
								window.c: Move window items to window.c  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								96aa7da24a 
								
							
								 
							
						 
						
							
							
								
								Change remaining GPLv2 headers to MIT  
							
							... 
							
							
 
							
							The files in question are copyright Benjamin Franzke (who agrees),
Intel Corporation, Red Hat and myself.  On behalf of Red Hat,
Richard Fontana says:
   "Therefore, to the extent that Red Hat, Inc. has any copyright
    interest in the files you cited as of this date (compositor-drm.c,
    compositor.c, compositor.h, screenshooter.c in
    http://cgit.freedesktop.org/wayland/wayland-demos/tree/compositor ),
    Red Hat hereby elects to apply the CC0 1.0 Universal Public Domain
    Dedication to such copyrighted material.  See:
    http://creativecommons.org/publicdomain/zero/1.0/legalcode  .
    Thanks,
    Richard E. Fontana
    Open Source Licensing and Patent Counsel
    Red Hat, Inc." 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3a69627f43 
								
							
								 
							
						 
						
							
							
								
								window: Stop using glib mainloop in toy toolkit  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1e164b9afd 
								
							
								 
							
						 
						
							
							
								
								Move rounded_rect() to cairo-util.c  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								547da5afc9 
								
							
								 
							
						 
						
							
							
								
								terminal: Make -f (fullscreen) option work again  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								37f27d59cd 
								
							
								 
							
						 
						
							
							
								
								xserver: check whether pointer exists when exiting  
							
							... 
							
							
 
							
							At initialization, if it fails in binding the socket or creating the
lock file then the pointer will be already freed and will result a
segfault when quiting the compositor.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								7e69000556 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Scale background image to output size  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a4a42f0ab5 
								
							
								 
							
						 
						
							
							
								
								shell: Reject moving or resizing toplevel windows  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f8ab46e149 
								
							
								 
							
						 
						
							
							
								
								window: Default to toplevel windows  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								67680c122d 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Add launcher for the Wayland terminal  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								9c4eecb5c0 
								
							
								 
							
						 
						
							
							
								
								Rename motion_grab to implicit_grab  
							
							... 
							
							
 
							
							Let's just use the same terms as X. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0c29eb292e 
								
							
								 
							
						 
						
							
							
								
								clients: Add a simple desktop-shell app  
							
							... 
							
							
 
							
							This just provides the background surface and the top panel. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								900b226ac1 
								
							
								 
							
						 
						
							
							
								
								window: Add enter/leave handlers  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								7584062153 
								
							
								 
							
						 
						
							
							
								
								Add a desktop_shell interface  
							
							... 
							
							
 
							
							Mostly a toy-thing for now, to allow prototyping a desktop-shell client. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f59da399d8 
								
							
								 
							
						 
						
							
							
								
								compositor: Don't crash when receiving kb focus with no surface  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								109a00700e 
								
							
								 
							
						 
						
							
							
								
								compositor: Drop built-in background support  
							
							... 
							
							
 
							
							There should always be a background client (file manager, home screen,
animated wallpaper or just a plain static image). 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								4eaa830381 
								
							
								 
							
						 
						
							
							
								
								compositor: Repick surface when grab ends  
							
							... 
							
							
 
							
							We were doing it manually in a few places and forgetting it in the
implicit grab case. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e7b5b41e93 
								
							
								 
							
						 
						
							
							
								
								evdev: Associate touchscreen devices with output up front  
							
							... 
							
							
 
							
							This isn't going to change over time, so just tracking it in the
evdev device is a little easier.  Also, we need to adjust for the
output position when transforming the device events to screen space. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								d904359949 
								
							
								 
							
						 
						
							
							
								
								evdev: treat BTN_TOUCH as BTN_LEFT  
							
							... 
							
							
 
							
							idea stolen from xorg evdev.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								faee80196f 
								
							
								 
							
						 
						
							
							
								
								compositor: choose tty from command line  
							
							... 
							
							
 
							
							This is a backend option, so you should use something like '-otty='.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bbc2e03b2a 
								
							
								 
							
						 
						
							
							
								
								evdev: use last output from compositor to get the screen geometries  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago