/spice: Blit the scanout texture if its memory layout is
not linear")
Reported-by: Peter Maydell
Cc: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
v2:
- Make scanout_tex_fb local to spice_gl_blit_scanout_texture() since
it is not used outside of it (Peter)
---
ui/spice-display.c | 14 +
/spice: Blit the scanout texture if its memory layout is
not linear")
Reported-by: Peter Maydell
Cc: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 9
situations.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Reviewed-by: Marc-André Lureau
Co-developed-by: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 3 +++
ui/console-gl.c | 48
nsure that there is no corruption seen regardless of which
encoder or decoder is used.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Reviewed-by: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-disp
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Reviewed-by: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Reviewed-by: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
ui/egl-helpers.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c
index 5503a795e4..e3f2872cc1 100644
ssociated Spice server MR (merged):
https://gitlab.freedesktop.org/spice/spice/-/merge_requests/229
---
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Michael Scherle
Cc: Dongwon Kim
Cc: Alex Bennée
Cc: Daniel P. Berrangé
Vivek Kasireddy (7):
ui/egl
Lureau
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 8
ui/spice-core.c | 15 +++
2 files changed, 23 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index 7eb8e02b4b..124c87311c 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2281,6 +2281,7 @@ DEF
o
Cc: Frediano Ziglio
Cc: Dongwon Kim
Reviewed-by: Marc-André Lureau
Co-developed-by: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/surface.h | 1 +
ui/console-gl.c | 6
ui/spice-display.c | 82
3 files changed, 89 inser
-by: Marc-André Lureau
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
qemu-options.hx| 5 +++
ui/spice-core.c| 12
ui/spice-display.c | 62 --
4 files changed, 70 insertions(+), 10 deletions
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
ui/egl-helpers.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c
index 5503a795e4..e3f2872cc1 100644
--- a/ui/egl-helpers.c
+++ b/ui
-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
qemu-options.hx| 5 +++
ui/spice-core.c| 12
ui/spice-display.c | 62 --
4 files changed, 70 insertions(+), 10 deletions(-)
diff --git a/include/ui/spice
nsure that there is no corruption seen regardless of which
encoder or decoder is used.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 3 ++
ui/spice-disp
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui/spice-display.c | 1 +
3
situations.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Co-developed-by: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 3 +++
ui/console-gl.c | 48
2 files changed
o
Cc: Frediano Ziglio
Cc: Dongwon Kim
Co-developed-by: Michael Scherle
Signed-off-by: Vivek Kasireddy
---
include/ui/surface.h | 1 +
ui/console-gl.c | 6
ui/spice-display.c | 82
3 files changed, 89 insertions(+)
diff --git a/inclu
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Cc: Michael Scherle
Signed-off-by: Vivek Kasireddy
R (merged):
https://gitlab.freedesktop.org/spice/spice/-/merge_requests/229
---
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Michael Scherle
Cc: Dongwon Kim
Cc: Alex Bennée
Vivek Kasireddy (7):
ui/egl-helpers: Error check the fds in egl_dmabuf_export_texture()
ui/spice:
nsure that there is no corruption seen regardless of which
encoder or decoder is used.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 3 ++
ui/spice-display.c
Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Michael Scherle
Cc: Dongwon Kim
Cc: Alex Bennée
Vivek Kasireddy (7):
ui/egl-helpers: Error check the fds in egl_dmabuf_export_texture()
ui/spice: Add an option for users to provide a preferred codec
ui/spice: Ena
be sent as soon as the Guest submits a new
frame which is not optimal as it would lead to increased network
traffic and wastage of GPU cycles if the frames get dropped.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui/spice-display.c | 1 +
3 files changed, 6
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 5
diano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 76 ++
1 file changed, 76 insertions(+)
diff --git a/ui/spice-display.c b/ui/spice-display.c
index ed91521ac2..fb56da4ab0 100644
--- a/ui/spice-display.c
+++ b/ui/
Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/egl-helpers.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c
index 9cda2bbbee..07d8edd3dc 100644
--- a/ui/egl-helpers.c
+++ b/ui/egl-helpers.c
@@ -289,6 +289,7 @@ bool
situations.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
ui/console-gl.c | 32
2 files changed, 34 insertions(+)
diff --git a/include/ui
situations.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
ui/console-gl.c | 28
2 files changed, 30 insertions(+)
diff --git a/include/ui/console.h
nsure that there is no corruption seen regardless of which
encoder or decoder is used.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 3 ++
ui/spice-display.c
60 FPS (assuming the underlying
mode is WxY@60).
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 53 +-
1 file changed, 43 insertions(+), 10
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 5
diano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 63 +-
1 file changed, 62 insertions(+), 1 deletion(-)
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 2c4daa0707..047d453a0b 100644
--- a/ui/spice-display.c
+++
/spice/spice/-/merge_requests/229
---
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Michael Scherle
Cc: Dongwon Kim
Cc: Alex Bennée
Vivek Kasireddy (6):
ui/spice: Add an option for users to provide a preferred codec
ui/spice: Enable gl=on option for non
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui/spice-display.c | 1 +
3 files changed, 6
---
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Michael Scherle
Cc: Dongwon Kim
Vivek Kasireddy (6):
ui/spice: Add an option for users to provide a preferred codec
ui/spice: Enable gl=on option for non-local or remote clients
ui/spice: Submit the
nsure that there is no corruption seen regardless of which
encoder or decoder is used.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 3 ++
ui/spice-display.c
situations.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
ui/console-gl.c | 26 ++
2 files changed, 28 insertions(+)
diff --git a/include/ui/console.h b
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 5
60 FPS (assuming the underlying
mode is WxY@60).
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 53 +-
1 file changed, 43 insertions(+), 10
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dmitry Osipenko
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui/spice-display.c | 1 +
3 files changed, 6
diano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 63 +-
1 file changed, 62 insertions(+), 1 deletion(-)
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 2c4daa0707..047d453a0b 100644
--- a/ui/spice-display.c
+++
60 FPS (assuming the underlying
mode is WxY@60).
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 38 --
1 file changed, 28 insertions(+), 10 deletions(-)
diff --git a/ui
work regardless of the Host's endianness but let us limit
this change only to this specific use-case for now.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 3 +++
1 file changed, 3 insertions(+)
diff
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
v2:
- Don't override the default
.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/surface.h | 1 +
ui/console-gl.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/include/ui/surface.h b/include/ui/surface.h
index 4244e0ca4a..a39fee55a2
/053288.html
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Vivek Kasireddy (7):
ui/spice: Add an option for users to provide a preferred codec
ui/spice: Enable gl=on option for non-local or remote clients
ui/spice: Submit the gl_draw requests at 60 FPS for
g the
memory object as the texture storage mechanism.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/spice-display.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/ui/spice-display.c
located on
a different machine.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Frediano Ziglio
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
ui/spice-core.c| 4
ui/spice-display.c | 1 +
3 files changed, 6 insertions(+)
diff --git a
: Vivek Kasireddy
---
include/ui/console.h | 2 ++
ui/console-gl.c | 26 ++
2 files changed, 28 insertions(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index a4a49ffc64..e53e3ce03e 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -444,6
hang Liu
Signed-off-by: Vivek Kasireddy
---
v2:
- Replace the term passthrough with assigned (Laszlo)
- Update the commit message to note that both OVMF and Seabios
guests are affected (Cédric)
- Update the subject to indicate what is done in the patch
---
target/i386/host-cp
bits value as shown in this patch.
Previous attempt at solving this issue in OVMF:
https://edk2.groups.io/g/devel/topic/102359124
Cc: Gerd Hoffmann
Cc: Philippe Mathieu-Daudé
Cc: Alex Williamson
Cc: Laszlo Ersek
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
target/i386/ho
("virtio-gpu: splitting one extended mode guest fb into
n-scanouts")
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu.c | 27 ++-
1 file changed, 22 insertions(+), 5 deletions(-)
diff --git a/
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 5 +
ui/spice-core.c | 14
Vivek Kasireddy (2):
spice: Add an option for users to provide a preferred codec
spice: Add an option to forward the dmabuf directly to the encoder
(v2)
include/ui/spice-display.h | 1 +
qemu-options.hx| 11 +-
ui/spice-core.c| 36 --
ui/spice
cookie is received.
v2:
- Use the existing gl_scanout and gl_draw_async APIs instead of
adding new ones.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 1 +
qemu-options.hx| 6 ++-
ui/spice-core.c
:
https://lists.freedesktop.org/archives/spice-devel/2023-January/052927.html
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Vivek Kasireddy (2):
spice: Add an option for users to provide a preferred codec
spice: Add an option to forward the dmabuf directly to the encoder
include/ui
Giving users an option to choose a particular codec will enable
them to make an appropriate decision based on their hardware and
use-case.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
qemu-options.hx | 5 +
ui/spice-core.c | 14
) which in turn gets it from
the scanout. Once the encoder is done encoding the dmabuf, it
triggers an async that would indicate to Qemu to unblock the
pipeline.
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/spice-display.h | 2 +
qemu
-by: Vivek Kasireddy
---
ui/gtk.c | 65 +++-
1 file changed, 36 insertions(+), 29 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 4ac3655694..6b0369e3ed 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1400,6 +1400,41 @@ static gboolean gd_win_grab
eDP-1,connector.1=DP-1.
Cc: Dongwon Kim
Cc: Gerd Hoffmann
Cc: Markus Armbruster
Cc: Marc-André Lureau
Vivek Kasireddy (6):
ui/gtk: Consider the scaling factor when getting the root coordinates
ui/gtk-gl-area: Don't forget to calculate the scaling factors in draw
ui/gtk: Handl
draw.
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/gtk-gl-area.c | 5 +
ui/gtk.c | 9 +++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ui/gtk-gl-area.c b/ui/gtk-gl-area.c
index 682638a197..6799805f8e 100644
--- a/ui/gtk-gl-area.c
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 ++
ui/gtk.c | 71 ++--
2 files changed, 65 insertions(+), 8 deletions(-)
diff --git a/include/ui/gtk.h b/include/ui/gtk.h
index ae0f53740d..f8df042f95 100644
--- a/include
: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/gtk-egl.c | 2 ++
ui/gtk-gl-area.c | 2 ++
ui/gtk.c | 1 +
3 files changed, 5 insertions(+)
diff --git a/ui/gtk-egl.c b/ui/gtk-egl.c
index 35f917ceb1..396cb6590a 100644
--- a/ui/gtk-egl.c
+++ b/ui/gtk-egl.c
@@ -214,6 +214,8 @@ void
fullscreen option is enabled.
Cc: Dongwon Kim
Cc: Gerd Hoffmann
Cc: Markus Armbruster
Cc: Marc-André Lureau
Acked-by: Markus Armbruster (QAPI schema)
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 1 +
qapi/ui.json | 10 +-
qemu-options.hx | 5 +-
ui/gtk.c
Since gdk_window_get_root_coords() expects a position within the window,
we need to translate Guest's cooridinates to window local coordinates
by multiplying them with the scaling factor.
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/gtk.c | 3 ++-
1 file chang
these situations but the user
experience is not as seamless as the absolute mode.
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 1 +
qapi/ui.json | 6 -
qemu-options.hx | 5 +++-
ui/gtk.c | 63 +++---
#L343
Cc: Dongwon Kim
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu-base.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c
index a29f191aa8..3b6b480131 100644
--- a/hw/display/virtio-gpu-base.c
+++ b/hw
#L343
Cc: Dongwon Kim
Cc: Gerd Hoffmann
Vivek Kasireddy (2):
virtio-gpu: Provide position info (x, y) to the Guest
ui/gtk: Include the position info while setting the ui info
hw/display/virtio-gpu-base.c | 2 ++
ui/gtk.c | 20
2 files changed, 22
In situtations where the Guest uses multiple displays/outputs, this
position info is useful for aligning the Guest's outputs with that of
the Host's.
Cc: Dongwon Kim
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
ui/gtk.c | 20
1 file changed, 20 insertion
Armbruster
Cc: Philippe Mathieu-Daudé
Cc: Marc-André Lureau
Cc: Thomas Huth
Signed-off-by: Vivek Kasireddy
---
qapi/ui.json| 9 ++-
qemu-options.hx | 1 +
ui/gtk.c| 168
3 files changed, 177 insertions(+), 1 deletion(-)
diff --
Markus Armbruster
Cc: Philippe Mathieu-Daudé
Cc: Marc-André Lureau
Cc: Thomas Huth
Vivek Kasireddy (3):
ui/gtk: Disable the scanout when a detached tab is closed
ui/gtk: Factor out tab window creation into a separate function
ui/gtk: Add a new parameter to assign connectors/monitors to G
: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/gtk-egl.c | 2 ++
ui/gtk-gl-area.c | 2 ++
ui/gtk.c | 1 +
3 files changed, 5 insertions(+)
diff --git a/ui/gtk-egl.c b/ui/gtk-egl.c
index b5bffbab25..0f9ef11f4c 100644
--- a/ui/gtk-egl.c
+++ b/ui/gtk-egl.c
@@ -211,6 +211,8 @@ void
-by: Vivek Kasireddy
---
ui/gtk.c | 65 +++-
1 file changed, 36 insertions(+), 29 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 0ff31cb852..945c550909 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1335,6 +1335,41 @@ static gboolean gd_win_grab
rovider of eglCreateImageKHR found. Requires one of:
EGL_KHR_image
EGL_KHR_image_base
Fixes: 7cc712e9862ff ("ui: dispatch GL events to all listeners")
Cc: Marc-André Lureau
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Signed-off-by: Vivek Kasireddy
---
ui/gtk-egl.c | 8
1 file c
These egl helpers would be used for creating and waiting on
a sync object.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
include/ui/egl-helpers.h | 2 ++
ui/egl-helpers.c | 26 ++
3 files
Adding this callback provides a way to resume the processing of
cmds in fenceq and cmdq that were not processed because the UI
was waiting on a fence and blocked cmd processing.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu.c | 32
Instead of immediately drawing and submitting, queue and wait
for the draw signal if the dmabuf submitted is a blob.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 ++
ui/gtk-egl.c | 15 +++
ui/gtk.c | 2 +-
3
Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 --
ui/gtk-egl.c
main loop and wait
for it to be signalled. (suggested by Gerd Hoffmann)
v4:
- Replace the field 'blob' with 'allow_fences' in QemuDmabuf struct.
(Gerd)
v5: rebase
v6: Fixed the compilation error on platforms that do not have GBM.
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Vive
Create sync objects and fences only for dmabufs that are blobs. Once a
fence is created (after glFlush) and is signalled,
graphic_hw_gl_flushed() will be called and virtio-gpu cmd processing
will be resumed.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu-udmabuf.c
To support this feature, we add a new queue named rel_fenceq to
enqueue finished set_scanout_blob cmds.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu-base.c| 3 ++
hw/display/virtio-gpu-udmabuf.c | 4 +-
hw/display/virtio-gpu.c
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
configure | 8 +-
meson.build | 33 +++
meson_options.txt | 2 +
qapi/ui.json | 3 +
ui/meson.build| 52
ui/wayland.c | 628 ++
6 files changed, 725
-threaded environment.
- Rebase
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Cc: Tina Zhang
Cc: Satyeshwar Singh
Vivek Kasireddy (2):
virtio-gpu: Add support for VIRTIO_GPU_F_RELEASE_FENCE
ui: Add a plain Wayland backend for Qemu UI
configure | 8
Adding this callback provides a way to resume the processing of
cmds in fenceq and cmdq that were not processed because the UI
was waiting on a fence and blocked cmd processing.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu.c | 32
Instead of immediately drawing and submitting, queue and wait
for the draw signal if the dmabuf submitted is a blob.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 ++
ui/gtk-egl.c | 15 +++
ui/gtk.c | 2 +-
3
These egl helpers would be used for creating and waiting on
a sync object.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
include/ui/egl-helpers.h | 2 ++
ui/egl-helpers.c | 26 ++
3 files
Create sync objects and fences only for dmabufs that are blobs. Once a
fence is created (after glFlush) and is signalled,
graphic_hw_gl_flushed() will be called and virtio-gpu cmd processing
will be resumed.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu-udmabuf.c
Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 --
ui/gtk-egl.c
main loop and wait
for it to be signalled. (suggested by Gerd Hoffmann)
v4:
- Replace the field 'blob' with 'allow_fences' in QemuDmabuf struct.
(Gerd)
v5: rebase
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Cc: Tina Zhang
Vivek Kasireddy (5):
ui/gtk: Create a common relea
Create sync objects and fences only for dmabufs that are blobs. Once a
fence is created (after glFlush) and is signalled,
graphic_hw_gl_flushed() will be called and virtio-gpu cmd processing
will be resumed.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu-udmabuf.c
Instead of immediately drawing and submitting, queue and wait
for the draw signal if the dmabuf submitted is a blob.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 ++
ui/gtk-egl.c | 15 +++
ui/gtk.c | 2 +-
3
h 'allow_fences' in QemuDmabuf struct.
(Gerd)
Cc: Gerd Hoffmann
Cc: Dongwon Kim
Cc: Tina Zhang
Vivek Kasireddy (5):
ui/gtk: Create a common release_dmabuf helper
ui/egl: Add egl helpers to help with synchronization
ui: Create sync objects and fences only for blobs
ui/gtk-egl:
These egl helpers would be used for creating and waiting on
a sync object.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
include/ui/egl-helpers.h | 2 ++
ui/egl-helpers.c | 26 ++
3 files
Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 --
ui/gtk-egl.c
Adding this callback provides a way to resume the processing of
cmds in fenceq and cmdq that were not processed because the UI
was waiting on a fence and blocked cmd processing.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu.c | 32
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
configure | 17 ++
meson.build | 25 +++
meson_options.txt | 2 +
qapi/ui.json | 19 ++-
ui/meson.build| 52 ++
ui/wayland.c | 402 ++
6 files changed, 516
ng on:
https://lists.nongnu.org/archive/html/qemu-devel/2021-03/msg04331.html
Cc: Gerd Hoffmann
Cc: Marc-André Lureau
Cc: Dongwon Kim
Cc: Tina Zhang
Vivek Kasireddy (1):
ui: Add a plain Wayland backend for Qemu UI
configure | 17 ++
meson.build | 25 +++
meson_options.txt
Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.
Cc: Gerd Hoffmann
Reviewed-by: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 --
ui/gtk-egl.c
Adding this callback provides a way to resume the processing of
cmds in fenceq and cmdq that were not processed because the UI
was waiting on a fence and blocked cmd processing.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
hw/display/virtio-gpu.c | 32
Instead of immediately drawing and submitting, queue and wait
for the draw signal if the dmabuf submitted is a blob.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/gtk.h | 2 ++
ui/gtk-egl.c | 15 +++
ui/gtk.c | 2 +-
3 files changed, 18 insertions
These egl helpers would be used for creating and waiting on
a sync object.
Cc: Gerd Hoffmann
Signed-off-by: Vivek Kasireddy
---
include/ui/console.h | 2 ++
include/ui/egl-helpers.h | 2 ++
ui/egl-helpers.c | 26 ++
3 files changed, 30 insertions(+)
diff
1 - 100 of 224 matches
Mail list logo