bjorn3
5701459db4
drivers/graphics/console-draw: Use font height rather than width where necessary
...
This fixes major corruption of the drawn text.
2026-05-24 20:36:18 +02:00
bjorn3
54b2697a6d
drivers/graphics/console-draw: Missed change
2026-05-24 20:31:51 +02:00
Migue Magic
ae77a4f0ad
Implement font support
2026-05-15 17:21:18 -06:00
bjorn3
018d795eb0
drivers/graphics: Avoid unnecessary force probes
...
Force probes can be rather expensive on real hardware so according to
the drm_mode_get_connector docs it should only be done at startup, on a
hotplug event and when explicitly requested by the user.
2026-05-09 12:16:22 +02:00
bjorn3
2436639271
drivers/graphics: Avoid duplicate get_connector calls
2026-05-09 12:07:58 +02:00
Antoine Reversat
a43de9ea5d
Run cargo fmt
2026-05-06 17:04:19 -04:00
Migue Magic
e577bfc2ea
Optimize console-draw write function
2026-05-03 09:06:37 -06:00
bjorn3
bf5286d25d
drivers/graphics: Replace CpuBackedBuffer::sync_range with CpuBackedBuffer::sync_rect
...
This can be a bit more efficient by doing bounds checks before the main
loop.
2026-03-28 16:53:59 +01:00
auronandace
557a3d1954
consolidate several dependencies into the workspace
2026-03-22 15:11:33 +00:00
bjorn3
7177fe0a86
drivers/graphics: Implement shadow buffer for dumb buffers
...
This is necessary to get even remotely acceptable performance when dumb
buffers are backed by write-combining memory.
2026-03-21 19:01:54 +01:00
bjorn3
781aa57e4a
drivers/graphics: Fix resizing text VTs
...
This fixes a regression introduced in a40be7b44
2026-03-20 20:24:18 +01:00
bjorn3
cdb4ec4575
drivers/graphics: Remove unnecessary graphic-ipc dependencies
...
And other unnecessary dependencies. Also move all graphics-ipc contents
to the top of the crate.
2026-03-17 20:26:18 +01:00
bjorn3
09a23a3c4a
drivers/graphics: Remove Damage from graphics-ipc
2026-03-17 20:19:52 +01:00
bjorn3
a40be7b446
drivers/graphics: Use set_crtc+dirtyfb in V2DisplayMap
2026-03-17 19:41:09 +01:00
bjorn3
f150813cfa
drivers/graphics: Slightly encapsulate V2DisplayMap
2026-03-17 19:41:09 +01:00
Ribbon
90ea974ce0
Add missing Cargo package description and update drivers README
2026-03-16 10:39:15 -06:00
bjorn3
460ae0d57c
drivers/graphics/console-draw: Fix depth for framebuffer
2026-03-15 13:01:34 +01:00
bjorn3
d11da9440b
drivers/graphics: Fix mixup between buffers and framebuffers
2026-03-14 16:03:39 +01:00
bjorn3
0d0fbd1935
drivers/graphics: Mostly remove support for the v1 graphics api
...
Orbclient still needs opening + fpath support for the v1 graphics api.
2026-03-12 21:40:40 +01:00
bjorn3
511c6080ca
drivers/graphics: Add framebuffer indirection to the DRM interface
...
This matches the Linux DRM interface. With this I believe the only
divergence from the Linux DRM interface that would be a breaking change
to the in-tree users of the graphics api to change to the proper
interface is the use of the UPDATE_PLANE ioctl in the place of proper
modesetting interface. It should be possible to support this in
parallel to UPDATE_PLANE, so updating Orbital to the DRM interface
should now be possible. Orbital can be updated to the proper modesetting
interface once it is implemented.
2026-03-11 22:49:19 +01:00
bjorn3
d70d648ceb
Remove no longer necessary patches
...
New versions of drm and drm-sys have been released with Redox OS support.
2026-03-06 22:40:12 +01:00
auronandace
4e77bb0f96
add precedence lint to drivers
2026-02-20 15:00:43 +00:00
Jeremy Soller
f740b61774
Use workspace dependencies for many common crates
2026-01-20 10:12:08 -07:00
bjorn3
aa0373af61
drivers/graphics: Move dumb buffer creation into console-draw
2025-12-18 20:49:17 +01:00
bjorn3
fe383e5ee0
drivers/graphics: Exclusively use V2DisplayMap in the public api of console-draw
2025-12-18 20:39:31 +01:00
bjorn3
03783e61e9
drivers/graphics: Move DisplayMap to console-draw
...
And inline a bunch of V2GraphicsHandle methods
2025-12-18 20:17:21 +01:00
bjorn3
07a2b97f08
Add 'drivers/' from commit '20ffe4d7f4a85b7cc1f59495d7e6e355fed4cb06'
...
git-subtree-dir: drivers
git-subtree-mainline: e76ecea4ce
git-subtree-split: 20ffe4d7f4
2025-11-29 19:04:04 +01:00