mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Stub gfx surface and TGA image encoding
This commit is contained in:
parent
4a9f4c410e
commit
b1fe56301b
3 changed files with 19 additions and 0 deletions
9
src/gfx/surface.rs
Normal file
9
src/gfx/surface.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
enum format {
|
||||
fo_rgba_8888;
|
||||
// TODO: RGB 565
|
||||
}
|
||||
|
||||
type surface = {
|
||||
format: format
|
||||
};
|
||||
|
0
src/image/encode/tga.rs
Normal file
0
src/image/encode/tga.rs
Normal file
10
src/servo.rc
10
src/servo.rc
|
@ -13,6 +13,16 @@ mod dom {
|
|||
mod rcu;
|
||||
}
|
||||
|
||||
mod gfx {
|
||||
mod surface;
|
||||
}
|
||||
|
||||
mod image {
|
||||
mod encode {
|
||||
mod tga;
|
||||
}
|
||||
}
|
||||
|
||||
mod layout {
|
||||
mod base;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue