SPL EPFB Module This Module provides hardware accelerated graphics on EP9315 processors. It is tailored for the NetBSD/evbarm architecture. If compiling fails, make sure that the file epio.h is in include path.builtin epfb_pixelset(x,y,col);
builtin epfb_pixelset(x,y,col);
Set the colour of a single pixel on screen.
builtin epfb_linedraw(startx,starty,stopx,stopy,col);
Draw a line from (x1/y1) to (x2/y2) on screen.
builtin epfb_blockfill(x,y,width,height,col);
Rectangular blockfill from (x/y) with given width and height.
builtin epfb_drawtext(x,y,text,col);
Renders text at (x,y) with given colour.
builtin epfb_cursor_setup(width,height,col1,col2,blink1,blink2,blinkrate);
Setup Hardware Cursor. The cursor must be enabled with [epfb_cursor_enable] as well. The cursor position can be specified with [epfb_cursor_moveto].
builtin epfb_cursor_pixel(x,y,value);
Set pixel value for hardware cursor. The value must be in the range of 0 to 3 (00 to 11). 0 means transparent, 1 means invert of video stream, 2 means (blink) colour 1, 3 means (blink) colour 2.
builtin epfb_cursor_enable(enable);
Enable or disable hardware cursor. 1 is enable, 0 is disable.
builtin epfb_cursor_moveto(x,y);
Set Hardware Cursor Position on screen.
builtin epfb_cursor_position(x,y);
Get Hardware Cursor Position on screen.
| Generated by SPLDOC. | http://www.clifford.at/spl/ |