-
Does this crate support being used in a program with no_std (such as a kernel)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, unfortunately this crate will not work for your use case. We need a GPU for scaling (at a minimum) and our current GPU layer provides a Vulkan-like interface across all supported backends. I'm not sure what kind of interface you would expect in a kernel, since presumably you wouldn't need a GPU or high-level interface to it like Vulkan. I suspect the standard VGA interface is what you're looking for? Specifically, this is what I'm thinking of: https://wiki.osdev.org/Drawing_In_a_Linear_Framebuffer and https://wiki.osdev.org/VGA_Resources If instead you do expect to have a GPU and driver, then Alternatives you might consider:
|
Beta Was this translation helpful? Give feedback.
No, unfortunately this crate will not work for your use case. We need a GPU for scaling (at a minimum) and our current GPU layer provides a Vulkan-like interface across all supported backends.
I'm not sure what kind of interface you would expect in a kernel, since presumably you wouldn't need a GPU or high-level interface to it like Vulkan. I suspect the standard VGA interface is what you're looking for? Specifically, this is what I'm thinking of: https://wiki.osdev.org/Drawing_In_a_Linear_Framebuffer and https://wiki.osdev.org/VGA_Resources
If instead you do expect to have a GPU and driver, then
pixels
could potentially be an option for you. At that point, we would need to makewgpu
no_s…