graphics/graphics-ipc: Update handle doc comments

This commit is contained in:
bjorn3
2025-07-06 15:30:05 +02:00
parent 918efd01cd
commit ded7a6ed86
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ pub use crate::common::DisplayMap;
///
/// The v1 graphics API only allows a single framebuffer for each VT, requires each display to be
/// handled separately and doesn't support page flipping.
///
/// This API is stable. No breaking changes are allowed to be made without a version bump.
pub struct V1GraphicsHandle {
file: File,
}
+4 -1
View File
@@ -33,10 +33,13 @@ unsafe fn sys_call<T>(
))
}
/// A graphics handle using the (currently unstable) v2 graphics API.
/// A graphics handle using the v2 graphics API.
///
/// The v2 graphics API allows creating framebuffers on the fly, using them for page flipping and
/// handles all displays using a single fd.
///
/// This API is not yet stable. Do not depend on it outside of the drivers repo until it has been
/// stabilized.
pub struct V2GraphicsHandle {
file: File,
}