Replace Rust host-native with 100% pure-MoonBit Wayland compositor
CI / test (push) Successful in 36s
CI / test (push) Successful in 36s
This commit is contained in:
1 parent
17a8a46cfd
commit
ae4f3fa93c
31 files changed
+3647
-4962
No files matched your search
@@ -0,0 +1,32 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/compositor/renderer"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/compositor/scene",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn blit_shm_surface(Pixmap, @scene.ShmBufferSnapshot, @scene.Rect) -> Unit
|
||||
|
||||
pub fn draw_ops(Pixmap, Array[@scene.DrawOp], Int32, Int32) -> Unit
|
||||
|
||||
pub fn encode_png(Pixmap) -> Bytes
|
||||
|
||||
pub fn encode_ppm(Pixmap) -> Bytes
|
||||
|
||||
pub fn render_scene(@scene.SceneGraph) -> Pixmap
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct Pixmap {
|
||||
width : Int32
|
||||
height : Int32
|
||||
data : FixedArray[Byte]
|
||||
}
|
||||
pub fn Pixmap::new(Int32, Int32) -> Self
|
||||
pub fn Pixmap::pixel(Self, Int32, Int32) -> @scene.Rgba?
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user