graphics/graphics-ipc: Update handle doc comments
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user