Commit graph

2080 commits

Author SHA1 Message Date
Ray Strode
b5714c6345 add the start of an api for controlling /bin/init
This lets you redirect init messages to /dev/null.  Eventually,
we'll need to redirect a psuedoterminal that we log for post
boot up.
2007-05-16 11:25:50 -04:00
Ray Strode
78a8255401 Add new ply_write api
It wraps write(), but blocks until
all bytes are written and handles EINTR.
2007-05-16 11:21:18 -04:00
Ray Strode
466bd1bb65 fix a cut-and-paste-o in the ply-image header 2007-05-14 17:49:46 -04:00
Ray Strode
1fe6e200b7 fix up spacing in ply-image.c 2007-05-14 17:27:20 -04:00
Ray Strode
043a5ee2c7 fix the last commit up to compile 2007-05-14 15:28:10 -04:00
Ray Strode
9ec699290d add new wrapper around the pipe() syscall 2007-05-14 15:00:50 -04:00
Ray Strode
1c9d5b99f2 standardize the vim mode line and move to the bottom of each file 2007-05-12 01:04:44 -04:00
Ray Strode
27049e1258 change coding style of types from FooBar to foo_bar_t 2007-05-12 00:36:53 -04:00
Ray Strode
2ac838f740 fix up ply-image to use the new name for ply-frame-buffer 2007-05-12 00:27:50 -04:00
Ray Strode
501e07e078 rename ply-video-buffer to ply-frame-buffer 2007-05-12 00:26:40 -04:00
Ray Strode
fa54b209bb refactor video buffer code to have less functions 2007-05-12 00:24:23 -04:00
Ray Strode
04e9d03639 fix typo in alpha blending code 2007-05-11 23:43:17 -04:00
Ray Strode
d95a06080e Tweak image demo
This commit changes the background from the previous bluish
clor to black.  It also changes the animation timing so that
the image sits at full opacity for a while before fading down
2007-05-11 23:42:43 -04:00
Ray Strode
9c411f22a0 Hide cursor in image demo
previously the image demo would have a little blinking cursor
in the corner that would get in the way.  remove it.
2007-05-11 23:40:51 -04:00
Ray Strode
4da04c9487 fix the fading effect in the test case 2007-05-11 22:29:03 -04:00
Ray Strode
7529d0c45b some small random cleanups 2007-05-11 17:19:52 -04:00
Ray Strode
b6a50319e8 rework framebuffer code to be more general
add new ply-image apis for loading pngs
2007-05-10 23:33:59 -04:00
Ray Strode
84d6ac68c8 add sample image 2007-05-10 16:08:01 -04:00
Ray Strode
ed037130a1 try a few things in vein to get OVER to work right 2007-05-10 16:07:47 -04:00
Ray Strode
3be9909f09 add updates pausing feature
In order to prevent flicker, there are two new apis
pause and unpause, that prevent and cause respectively
updates from getting flushed to the card.

This commit also has a few fixes for compositing.  It
still isn't working like it should be however.
2007-05-10 15:39:05 -04:00
Ray Strode
4c2ac91f58 fix some problems in the previous commit 2007-05-10 13:53:44 -04:00
Ray Strode
931d9df1f2 obey destination position in fill_with_argb32_data 2007-05-10 12:34:52 -04:00
Ray Strode
166a0b6ef7 Add alpha blending to video buffer 2007-05-10 12:26:34 -04:00
Ray Strode
39dec951a9 fix wrong assertions in ply-video-buffer 2007-05-10 11:39:18 -04:00
Ray Strode
e3947a1812 Revert last change and negate assertion 2007-05-10 11:37:35 -04:00
Ray Strode
558b25587c Premultiply alpha on ply_video_buffer_fill_with_color function 2007-05-10 11:13:02 -04:00
Ray Strode
26afb4089b Rename ply_video_buffer_destroy
I actually gave ply_video_buffer_destroy the name
ply_video_buffer_free when I implemented it, so rename it in the
header file.
2007-05-10 10:57:40 -04:00
root
c18d9ae474 Provide apis for writing to the framebuffer
These apis provide functionality for converting pixel data
into formats suitable for the framebuffer and for writing the
data to the framebuffer.  Eventually, we'll probably want to
use Soeren's pixman-turned-to-a-library library to do the pixel
conversion.
2007-05-10 09:38:04 -04:00
Ray Strode
68ad65c3f6 Add stub implementation to main.c
Previously the very empty project didn't build because it didn't
contain a definition for main().  Add a stub implementation to
get things building
2007-05-08 17:57:15 -04:00
Ray Strode
ee567aeb4e initial import 2007-05-08 17:48:00 -04:00