- Sep 04, 2013
-
-
Chris Wilson authored
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
With lots of updates by Christopher James Halse Rogers as he updated the XMir API - but now supposedly frozen! "<RAOF> ickle: I think the xmir api should be pretty much stable now, barring people coming up with more awesome ways of doing things." Signed-off-by:
Christopher James Halse Rogers <raof@ubuntu.com> Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Now that the WriteThrough ABI is upstream, we can rely on runtime detection of the current interface. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Prevents the build failing with i810 if we can not find vgaHW.h Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Like it's sibling sna_pixmap_move_to_gpu(), it helps to know the private sna_pixmap after the operation rather than just a boolean success/fail result, and make it more robust in the process. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
The latest proposal for passing swap_interval==0 is through the normal ScheduleSwap() call, so we can remove the specialised function. Link: http://lists.x.org/archives/xorg-devel/2013-September/037661.html Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- Sep 03, 2013
-
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
It should not fail, except in extreme cicumstances, and even then we shall not crash. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Or rather, do not assume anything about the initial domains. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
When falling back to using XSync rather than XSendEvent it is imperative that we remember to clear the flag so that we don't keep on performing the synchronous RTT every time. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- Sep 02, 2013
-
-
Chris Wilson authored
Otherwise we throttle mouse updates to the next display update... Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
As there is an XID inside the ShmSegmentInfo we cannot share one between both endpoints, or else it gets clobbered and rendering is lost (unless by happy coincidence the last XID is available in both Xservers). Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
The 'output-is-changed' flags was accidentally initialised to 01 rather than 0, causing all attached outputs to be considered to have changed everytime. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Otherwise we may end up waiting for an event that will never be sent. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Attempt to clean up the VIRTUAL mess when we exit. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
If the Display doesn't support the more recent non-forced-detection GetScreenResources, use the older version instead. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
bumbledeed will shutdown its Xserver when the last connection to it closes. For the moment, leak the control socket so that the display stays alive. However, we will want to attach to any Xservers created by bumblebee as opposed to creating them. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
As the flush may queue work that causes the timer to be reactivated prior to draining the queue, we need to flush first then turn off the timer if idle. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
If either all or bumblee is explicitly requested, don't automatically perform the other search. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
It supplies both a trailing newline, NUL byte and length. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
For whatever reason, Xfixes uses "unsigned long" in its protocol definition for the cursor pixels. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Make sure we are not responding to cursor motion on other screens, by checking for our root window. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
We can't place the record fd at after the displays as we may wish to clone more displays later and use the simplification that they are in a linear, contiguous block at the end of the fd array. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
And add lots of debug and robustness. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
"if (!active == 0)" Whoops, but keep the debugging that highlighted the error. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
With Xinerama, we do not support reconfiguration of the target's CRTCs but we can still paint! This will require some more work to try and minimise the incompatibility between configuring Randr displays locally and the static arrangement remotely. But you can paint! Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
When calling XNextEvent() you must provide it with space for any event, i.e. XEvent, and not be tempted to pass in the specific type you are waiting for! Reported-by: Philipp Adolf Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
When we install a fake mode on the output, we have to perform a round-trip for a reprobe. During that time, some other client (such as gnome-shell) will be notify of the change in output status and may attempt to configure it. This leaves us unable to delete the mode as it is currently active - so first disable the new head and then delete the mode. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
As we may call the ->detect() routines during the fallback initial probing, we need to handle the case where the output callbacks are called before RandR is setup. Regresion from commit 8ecb7586 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Aug 31 19:44:50 2013 +0100 sna: Expand the array of fake outputs if the last is used Reported-by:
Andreas Reis <andreas.reis@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68843 Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Sometimes the window size is not a simple box, but a full region. In which case we do need to process it and not just assert that it is a box! Reported-by:
Jiri Slaby <jirislaby@gmai.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Look for screens on the same display that we can enable automatically. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- Sep 01, 2013
-
-
Chris Wilson authored
No functional changes. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
When updating pointers to point into the new memory block after a realloc, it helps to pass the new locations around rather than the old. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
If reallocs gives us a new memory block, we need to update everything that pointed into the old blocks. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
If the user tries to use multiple commands to combine multiple displays, reroute those to the first instance. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
When converting to the auto-extending arrays, I forgot to include room for the extra connection for the recording Display. By using an explicit variable within the global state it is a little more clear. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-