LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 915|回复: 4

RE: What is DirectFB?

[复制链接]
发表于 2003-9-23 22:29:35 | 显示全部楼层 |阅读模式
http://dot.kde.org/1058619204/1058722202/

Re: What is ???????
by Justin on Monday 21/Jul/2003, @00:44

Here's the scoop:

XFree86 currently accesses your hardware directly, essentially bypassing the kernel. Historically, this is because Linux, BSD, and other unix systems never had their own video drivers.

However, as Linux modernized, it now has video drivers, otherwise known as the "Linux Framebuffer." The idea is really cool. You can insmod / rmmod a video driver, just like any other Linux driver, and the video device is /dev/fb0 (and so on) just like any other device. Unfortunately, the Linux Framebuffer is severely underused, and so many cards are unsupported and the drivers are not very optimized. In contrast, XFree86's drivers are a lot more mature.

DirectFB is an API that layers over the Linux Framebuffer. It's sorta like DirectX, in that there is a HAL/HEL system (if your card doesn't support a certain feature, for instance such as alphablending, DirectFB will do it in software for you). However, DirectFB is not intended for just games, like DirectX often is reserved for.

Oh, and before anyone says that DirectFB is an X replacement, let me remind you:
* XFree86 = graphics layer + 100 other important things
* DirectFB = graphics layer

Personally, I'd just like to see DirectFB used as a replacement for the XFree86 graphics layer. In fact, you can already do this with XDirectFB (it's a port of XFree86 to DirectFB).


如何快速体验??贴图???
请见:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=63977
发表于 2003-9-23 22:31:38 | 显示全部楼层
:thank
:2cool
:hungry
发表于 2003-9-23 22:38:06 | 显示全部楼层
DirectFB对显卡支持好象比较差(我也是听说的)
gtk倒是直接支持DirectFB,这样就比较好(最近对gnome比较感兴趣)
 楼主| 发表于 2003-9-23 22:41:42 | 显示全部楼层
>>DirectFB对显卡支持好象比较差(我也是听说的)
新生事物嘛!

〉〉gtk倒是直接支持DirectFB
kde fans 也不用担心
Qt也已经有移植到directfb上:
http://qt-directfb.sourceforge.net
发表于 2003-9-24 00:45:49 | 显示全部楼层
最初由 libinary 发表
DirectFB对显卡支持好象比较差(我也是听说的)
gtk倒是直接支持DirectFB,这样就比较好(最近对gnome比较感兴趣)


2.4可能会加入directfb支持
目前要 patch
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表