GadgetSeed
0.9.6
|
フレームバッファドライバ(16ビットカラー) [詳解]
#include "device.h"
#include "framebuf.h"
#include "device/video_ioctl.h"
#include "graphics.h"
#include "tkprintf.h"
#include "sysconfig.h"
#include "dkprintf.h"
関数 | |
static void | framebuf_set_forecolor (struct st_framebuf_context *fc, unsigned int color) |
static void | framebuf_set_backcolor (struct st_framebuf_context *fc, unsigned int color) |
static void | framebuf_draw_point (struct st_framebuf_context *fc, int x, int y) |
static void | framebuf_set_ptr (struct st_framebuf_context *fc) |
static unsigned int | framebuf_read_point (struct st_framebuf_context *fc) |
static void | framebuf_write_point (struct st_framebuf_context *fc, unsigned int color) |
static void | framebuf_repeat_data (struct st_framebuf_context *fc, int len) |
static void | framebuf_fill_screen (struct st_framebuf_context *fc, unsigned int data) |
static int | framebuf_register (struct st_device *dev, char *param) |
static int | framebuf_read (struct st_device *dev, void *data, unsigned int size) |
static int | framebuf_write (struct st_device *dev, const void *data, unsigned int size) |
static int | framebuf_ioctl (struct st_device *dev, unsigned int com, unsigned int arg, void *param) |
変数 | |
static const char | def_v_dev [] = DEF_DEV_NAME_VIDEO |
static struct st_framebuf_context | fb_ctx |
struct st_device | framebuf_device |
フレームバッファドライバ(16ビットカラー)
フレームバッファドライバは仮想グラフィックメモリだけを持つデバイスド ライバです。
上位のグラフィックライブラリより使用されます。 下位ドライバに、LCDドライバ等の実際に表示できるデバイスが必要です。
register()実行時に下位ビデオデバイス名を指定することが出来ます。
framebuf.c に定義があります。
struct st_device framebuf_device |
framebuf.c の 346 行目に定義があります。