Commit Graph

8 Commits

Author SHA1 Message Date
6e1393ce64 Add basic surface handling to RenderDriver and WindowDriver
This will likely require significant rework but it will do for now. A
considerations worth thinking about:

- What happends when the WindowDriver destroys a window, what happens to
  the corresponding surface?
2025-04-10 17:53:48 +10:00
536a1e8773 Misc fixes 2025-04-08 22:10:07 +10:00
6055ae1ebc Add WindowDriver::beep function 2025-04-08 18:55:27 +10:00
608af1b866 Moved RenderDriver/WindorDriver init code to static create functions 2025-04-08 18:24:33 +10:00
286dd0fb0e Add basic Window creation to X11WindowDriver 2025-04-05 07:07:54 +10:00
5e7c94ba8f Rename SystemDriver to WindowDriver and removed LinuxSystemDriver
Hopefully the last time I change my mind on what I want these to be
called. Reason behind this change is to minimize scope of a single
module. The WindowDriver should really only handle stuff related to
windows. If we need OS level functionality (e.g. get_os_name), that
should be the responsibility of the OS driver (or whatever that ends
being called). Remember, composition over inheritance.
2025-04-03 04:47:22 +10:00
a6962bfba8 Add get_surface_extension to X11SystenDriver 2025-03-28 22:30:03 +10:00
8eb5a39c4c Add System, SystemDriver, Win32SystemDriver and X11SystemDriver classes 2025-03-28 13:36:24 +10:00