framebuffer

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:7KB
下载次数:510
上传日期:2007-12-07 13:53:35
上 传 者fcxyoude
说明:  利用framebuffer画小企鹅 Linux的framebuffer接口提供给用户访问显示设备的通用接口,通过mmap映射显示缓冲给用户,fb中我们设置什么值,将直接在屏幕上显示出来。本实验我们要利用framebuffer在屏幕上显示一个小企鹅,可以接读取bmp图片,设置framebuffer的值,或者利用include/linux/linux_logo.h文件(该文件已经定义好小企鹅的颜色和位置信息),设置framebuffer的值。本实验采用的是第二种方法。只要读取linux_logo.h中数组的值,进行相应的移位操作,将值赋给fb即可在屏幕上显示出小企鹅 。
(Framebuffer draw using the framebuffer Little Penguin Linux interface to the user access to the display device of the common interface, through mmap mapped display buffer to the user, fb set up what we value, will be directly displayed on the screen. This experiment we want to use framebuffer on the screen, a small penguin, you can then read bmp images, set up framebuffer value, or the use of include/linux/linux_logo.h file (the file has the definition of a good little penguins color and location information) , set the value of framebuffer. Used in this experiment is the second method. Linux_logo.h read in as long as the value of the array, the corresponding shift operation, the value assigned to fb can be displayed on the screen small penguins.)

文件列表:
framebuffer (0, 2007-12-07)
framebuffer\linux_logo.h (72128, 2006-12-16)
framebuffer\logo.c (1374, 2006-12-16)
framebuffer\Makefile (299, 2007-01-05)

近期下载者

相关文件


收藏者