Commit graph

22 commits

Author SHA1 Message Date
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
b146685d9c Add disclaimer that the README contains stale information
The README file right now is just a copy of the Readme.txt
included in Kristian's old work on graphical boot.  This change
adds a disclaimer to that effect and link to the wiki page where
the future design is getting worked out.
2007-05-09 11:12:47 -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
f8fe7785f4 add autogenerated goo 2007-05-08 17:55:09 -04:00
Ray Strode
ee567aeb4e initial import 2007-05-08 17:48:00 -04:00