gma pipe_setup: Pass new and old cursor position in
To use the secondary plane as a cursor, we have to know when
the cursor becomes visible or vanishes (e.g. moved to a dif-
ferent screen). So we need to know both, its old and its new
position.
Change-Id: I13785be10c6c50fccfd2b930b82da203d6cc6df9
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/544
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma-pipe_setup.ads b/common/hw-gfx-gma-pipe_setup.ads
index 953820b..892d218 100644
--- a/common/hw-gfx-gma-pipe_setup.ads
+++ b/common/hw-gfx-gma-pipe_setup.ads
@@ -51,7 +51,8 @@
procedure Place_Cursor
(Pipe : Pipe_Index;
FB : Framebuffer_Type;
- Cursor : Cursor_Type);
+ Cursor : Cursor_Type;
+ Center : Cursor_Coord);
type Scaler_Reservation is private;
Null_Scaler_Reservation : constant Scaler_Reservation;