[Concept,00/14] expo: More mouse development for expo

Message ID 20251006205856.2009292-1-sjg@u-boot.org
Headers
Series expo: More mouse development for expo |

Message

Simon Glass Oct. 6, 2025, 8:58 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

This series adds support for hiding the system pointer, if one is
available, since it is confusing to have an expo pointer separate from
the system one.

It als introduces a simple test mode for expo, to check the frame rate,
etc.

Some minor tweaks in the video uclass are also included, as well as
improvements to the video documentation.


Simon Glass (14):
  video: Do the sync timing within video_sync()
  video: Add a little more documentation to the uclass
  mouse: Add comment for mouse_get_event()
  mouse: Add method to show/hide the system pointer
  mouse: Add support for scaling of video-device coordinates
  sandbox: mouse: Implement set_ptr_visible()
  sandbox: mouse: Add test for pointer visibility
  expo: Hide system pointer when entering expo mode
  expo: Introduce a test mode
  expo: Track the number of render calls
  expo: Add test mode to display frame count
  expo: Add FPS tracking to test mode
  expo: Expand timing to include render and poll
  expo: Use manual-sync mode

 arch/sandbox/cpu/sdl.c          |   5 +
 arch/sandbox/include/asm/sdl.h  |  11 ++
 arch/sandbox/include/asm/test.h |   8 ++
 boot/Kconfig                    |  10 ++
 boot/Makefile                   |   1 +
 boot/expo.c                     |  44 ++++++-
 boot/expo_test.c                | 217 ++++++++++++++++++++++++++++++++
 doc/develop/expo.rst            |  36 ++++++
 drivers/input/mouse-uclass.c    |  27 ++++
 drivers/input/sandbox_mouse.c   |  33 +++++
 drivers/video/video-uclass.c    |  44 +++++--
 include/expo.h                  |   4 +
 include/expo_test.h             | 181 ++++++++++++++++++++++++++
 include/mouse.h                 |  66 ++++++++++
 test/boot/expo.c                | 123 ++++++++++++++++++
 test/dm/mouse.c                 |  22 ++++
 16 files changed, 818 insertions(+), 14 deletions(-)
 create mode 100644 boot/expo_test.c
 create mode 100644 include/expo_test.h