When the compositor is not sending frame callbacks while we still wait
on buffer release events fake a continuous msc counter with a timer.
Having this timer is a prerequisite for queuing events.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
hw/xwayland/xwayland-present.
ake use of this functionality Xwayland must run rootless and with
Glamor/GBM.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
hw/xwayland/Makefile.am| 1 +
hw/xwayland/meson.build| 1 +
hw/xwayland/xwayland-present.c | 365 +
hw
Queue present events to msc values. Fake msc events with a refresh rate of
about 60fps when flips are not possible. When flips are executed rely on
frame callbacks with a slow updating timer as fallback.
This is important for applications, that want to limit their framerate.
Signed-off-by: Roman
to an erroneous 64 to 32bit conversion.
The sample client, that triggers this behavior, is the Steam client.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
hw/xwayland/xwayland-present.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/xwayland/xwayland-present.c b/hw/xwayland/xw
Add arguments to give the caller more information and control
over the creation of a wl_buffer with GBM, in particular let
the caller determine the size of the buffer.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
hw/xwayland/xwayland-glamor.c | 19 +++
hw/xwayland/xway
Make sure that vblanks and windows get cleaned up correctly
in window flip mode.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_screen.c | 33 -
present/present_vblank.c | 2 ++
2 files changed, 34 insertions(+), 1 deletion(-)
diff
Add some basic function hooks to our future present-internal flip mode API,
that will allow us to share functionality in between modes and move more code
in separate files.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_priv.h | 26 +++---
p
This revision provides changes requested by Michel Dänzer. In particular
flips without copies in window flip mode are now possible and clients can
queue flips on Xwayland.
___
xorg-devel@lists.x.org: X.Org development
Archives:
As a preperation for future flip mode alternatives move most of the
functionality from 'present.c' into a separate file.
Leave some functions needed by future other flip modes in 'present.c'.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/Makefile.am| 1 +
present/meson
Add 'queue_vblank', 'flush' and 're_execute' hooks, that
are supposed to be shared with other flip modes.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_priv.h | 12
present/present_scmd.c | 3 +++
2 files changed, 15 insertions(+)
diff --git a/p
To reduce future code duplication refactor timings adjustment out
as a separate function.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.c | 38 ++
present/present_priv.h | 7 +++
present/present_scmd.
With the new internal flip mode API move vblank creation
and so on into a seperate file, such that it can be shared
between flip modes.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/Makefile.am | 3 +-
present/meson.build | 1 +
present/present_priv.h
Add hooks to query caps, get crtcs, abort vblanks and destroy
a flip.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.c| 28
present/present_priv.h | 33 +
present/present_scmd.c
Make present_pixmap a common function callable by any
flip mode.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.c | 57 ++
present/present_priv.h | 68 +++---
present/present_scmd.
Flipping pixmaps per window needs additional arguments in the
flip mode API. Add these as preperation for window flip mode.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_execute.c | 2 ++
present/present_priv.h| 10 +++---
present/present_scmd.c
To be shared by multiple flip modes, refactor execute functionality,
such that logical chunks can go in new separate file.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/Makefile.am | 1 +
present/meson.build | 1 +
present/present_execute.c
To initialize easily different flip modes, refactor
'present_screen_init'.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_screen.c | 46 +-
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/present/present_scre
For window flip mode data about flips needs to be stored per window.
Add properties to 'present_window_priv' and initialize them on creation.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_priv.h | 10 ++
present/present_screen.c | 6 ++
2 files chang
Allow drivers now to initialize window flip mode.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.h| 2 ++
present/present_screen.c | 23 ++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/present/present.h b/present/present.h
To enable special functionality of window flips introduce for window flips
a separate set of driver facing function hooks.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.h | 43 +++
present/present_priv.h | 1 +
2 files chang
Calculate damage before trying to flip and report it to the driver.
This allows drivers to optimize their rendering.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present.h | 3 ++-
present/present_wnmd.c | 24 +---
2 files changed, 15 insertions(
Introduce vblank property for flip modes, that demand explicite
allowance by the driver for vblanks to become idle.
Signed-off-by: Roman Gilg <subd...@gmail.com>
---
present/present_priv.h | 1 +
present/present_vblank.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/p
On Wed, Feb 28, 2018 at 6:43 PM, Michel Dänzer wrote:
> I'm unable to reproduce the issue you described with Steam (without this
> patch series applied). I'd really like to know where the bogus target
> MSC values you're seeing are coming from. What are the values of the
>
On Tue, Feb 27, 2018 at 10:59 PM, Adam Jackson wrote:
> 4) https://patchwork.freedesktop.org/series/37274/
> Per-window flips for Xwayland. No xfree86 changes.
Michel gave me feedback on my patches in the last weeks and I did
changes to some parts because of that. I planned on
On Tue, Nov 6, 2018 at 7:50 AM Simon Ser wrote:
>
> On Monday, November 5, 2018 3:24 PM, Pekka Paalanen
> wrote:
> > I don't think it's a good idea to break Xwayland completely on
> > compositors that don't implement wl_surface version 4 or greater.
> >
> > It would make sense to bind
I'm a bit unsure on that one. I thought there is no cleanup code
necessary in Present on a reparent because in theory the current
Present code alone allows clients to flip arbitrary many child windows
to a certain parent window as long as they have the same dimension as
the parent. Of course a
Great detailed analysis in the backtrace! :)
What confused me at first was that the present_wnmd_flips_stop function is
called at all in this state because it should only be called when at least
one flip has been done and in this case xwl_window->present_window must
have been set to the
On Mon, Apr 22, 2019 at 1:30 PM Ferdi265 wrote:
>
> Hello,
>
> I investigated a bug I encountered while using the Sway Compositor and
> traced it back to some behaviour in Xwayland:
>
> The xdg_output and wl_output events are handled in such a way that
> output changes (e.g. position) sometimes
On Fri, Nov 1, 2019 at 9:06 PM Lyude Paul wrote:
>
> Hi! Recently I've been working with the rest of the X.Org board to try to get
> X.org access to VESA memberships so that contributors that don't have an
> employer who is able/willing to join VESA can potentially get access to the
> various
On Wed, Oct 23, 2019 at 5:33 PM Alan Coopersmith
wrote:
>
> On 10/23/19 12:48 AM, Michael Joost wrote:
> > Hi Alan,
> >
> > regarding your recent patch in xorg/libXfont2 (strlcat/strlcpy fallbacks) I
> > ran into a problem on Linux while having libbsd installed. The configure
> > correctly
On Wed, Nov 20, 2019 at 1:53 AM Guillem Jover wrote:
>
> Hi!
>
> On Sun, 2019-11-03 at 18:08:00 +0100, Roman Gilg wrote:
> > On Wed, Oct 23, 2019 at 5:33 PM Alan Coopersmith wrote:
> > > On 10/23/19 12:48 AM, Michael Joost wrote:
> > > > regarding your
On Wed, Mar 11, 2020 at 8:21 PM Jason Ekstrand wrote:
>
> On Wed, Mar 11, 2020 at 12:31 PM Jason Ekstrand wrote:
> >
> > All,
> >
> > Sorry for casting such a broad net with this one. I'm sure most people
> > who reply will get at least one mailing list rejection. However, this
> > is an issue
I'm happy to announce the first publicly available release of The
Compositor Modules, the modular C++ library to easily write a Wayland
compositor. The release is available on GitHub. [1]
You can read the full announcement with more details about the library
exclusively on Phoronix. [2]
The goal
101 - 133 of 133 matches
Mail list logo