- 02 May, 2012 3 commits
-
-
Ander Conselvan de Oliveira authored
Currently, the drm backend will create and destroy a KMS FB for each frame. However, the bos for a gbm surface are reused (at least with mesa) so we can store the fb_id on it and destroy it only on the bo's destroy callback. To use the same path for scanning out client buffers, some refactor was needed. Previously, the bo for the client buffer was destroyed early so that gbm_surface_release_buffer() would not be called with it, since at the page flip handler output->scanout_buffer can be NULL even if the current frame is a client buffer. This was solved by adding a drm_fb structure that holds a gbm_bo, an fb_id, and information about the fb coming from a client buffer or not. A drm_fb is created in such a way that it is destroyed whenever the bo it references is destroyed. The fields current_* and next_* in drm_output are changed into only two pointers to drm_fb's.
-
Kristian H. Kristensen authored
-
Kristian H. Kristensen authored
-
- 30 Apr, 2012 2 commits
-
-
Cooper Yuan authored
-
Ander Conselvan de Oliveira authored
-
- 27 Apr, 2012 8 commits
-
-
Kristian H. Kristensen authored
We can drop the force_configure hack.
-
Kristian H. Kristensen authored
Going from fullscreen to toplevel will restore the surface position immediately. This will move the fullscreen surface to where the toplevel surface was before, which will flicker for a frame of two before the resized, non-fullscreen buffer is attached. Instead, only change the surface geometry when we get the new buffer.
-
Kristian H. Kristensen authored
-
Alex Wu authored
Remove rotation when entering fullscreen and restore rotation when exiting. https://bugs.freedesktop.org/show_bug.cgi?id=48906
-
Ander Conselvan de Oliveira authored
-
Kristian H. Kristensen authored
-
Kristian H. Kristensen authored
We check that we get surface.enter_output and move the pointer into the window and make sure we get input_device.pointer_enter with the right coordinates. There's a lot of code for a very simple test here, so we need to figure out how to reuse most of the event handling and such. It's also not clear that a custom, text based protocol is practical here, we might just use a wayland extension after all.
-
Kristian H. Kristensen authored
-
- 26 Apr, 2012 8 commits
-
-
Kristian H. Kristensen authored
-
Kristian H. Kristensen authored
The idea here is to make weston load test cases as a module and then run test cases from within weston.
-
Scott Moreau authored
This variable is used unitialized if --xserver is not passed to weston. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Simple clients were relying on AM_CFLAGS and AM_CPPFLAGS set for toytoolkit clients. With toytoolkit clients disabled, the build fails with missing wayland-client.h. Move AM_CFLAGS and AM_CPPFLAGS outside of conditional sections, since they are meant to be global settings. Let simple clients override AM_CPPFLAGS with their own SIMPLE_CLIENT_CFLAGS, which the configure script already sets up for us, but was unused until now. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Do not segfault, if creating the shm buffer fails. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
I want to know which module is failing to load with unresolved symbols. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Previously, simple-shm was rendering an image that looked like stride gone wrong somewhere, and was quite confusing if you did not know it was supposed to look like that. Replace the drawing code. Two circles, inner and outer, now delimit three co-centric areas. The outmost area from surface borders to outer circle contains horizontal gradients that move (animate) to the left. The area between outer and inner circles contains vertical gradients that move upwards. The center disc has circular gradients moving towards the center. The circles are not ellipses. Diagnostics: The X-channel is manipulated so, that if a compositor takes the XRGB image, and uses the X channel as alpha instead of ignoring it, the whole image will be crossed out by two lines that either quickly saturate to white or show through with additive blending. Does not work on black background. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
- 25 Apr, 2012 4 commits
-
-
Scott Moreau authored
-
zjuan authored
Now we can choose zoom or fade in weston.ini to fulfill and customize the user experence easier. Signed-off-by:
Juan Zhao <juan.j.zhao@intel.com>
-
zjuan authored
To ful-fill user experience, add the fading-in animation when mapping a window. v2: update that westom_surface_damage to repaint remove that transform part in fade struct Signed-off-by:
Juan Zhao <juan.j.zhao@intel.com>
-
Kristian H. Kristensen authored
-
- 22 Apr, 2012 5 commits
-
-
Kristian H. Kristensen authored
This will work for override-redirect windows too.
-
Kristian H. Kristensen authored
-
Kristian H. Kristensen authored
This is a hack for now to get xserver surfaces working again.
-
Tiago Vignatti authored
We're able now to create shell_surfaces inside Weston. This makes possible the glue needed between shell and xserver-launcher. On the desktop-shell, it was split the protocol part from shell_surface specific functions to make this possible. Signed-off-by:
Tiago Vignatti <tiago.vignatti@intel.com>
-
Kristian H. Kristensen authored
We set up an emtpy region for the initial NULL-cursor, and then going from no buffer to a 32x32 buffer didn't trigger the undeffing of the input region. So when something sets a cursor of a different size, the cursor surface input region gets initialized and starts swallowing events.
-
- 20 Apr, 2012 8 commits
-
-
Kristian H. Kristensen authored
-
Tiago Vignatti authored
This patch makes the main modifier configurable. We used to hardcode super (windows key) for most bindings, but now that can be changed. The change affects two key bindings: rotation moves to mod+right click and backlight moves to from ctrl+f9/f10 to mod+f9/f10. Signed-off-by:
Tiago Vignatti <tiago.vignatti@intel.com>
-
Scott Moreau authored
-
Scott Moreau authored
-
Scott Moreau authored
-
Casey Dahlin authored
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>
-
Casey Dahlin authored
All outputs now have a unique integer ID, allocated from a bitfield pool in the compositor. Signed-off-by:
Casey Dahlin <cdahlin@redhat.com>
-
Casey Dahlin authored
This function has generic applications and should be made generic. Signed-off-by:
Casey Dahlin <cdahlin@redhat.com>
-
- 19 Apr, 2012 2 commits
-
-
Scott Moreau authored
- Added ping_timer_destroy() to simplify cleanup. - Changed timeout and fade step to more realistic values. - Renamed ping_timeout_fade_frame() to unresponsive_fade_frame().
-
Alex Wu authored
-