LinuxSir.cn,穿越时空的Linuxsir!

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

xorg 现在是不是包括了mesa和dri了

[复制链接]
发表于 2008-5-29 12:10:44 | 显示全部楼层 |阅读模式
如题


能讲讲mesa和dri吗
发表于 2008-5-29 12:21:07 | 显示全部楼层
mesa == Mesa OpenGL library

dri 在 libgl || fglrx ..里面  == Mesa DRI OpenGL library and drivers

dri就是直接渲染,硬件加速。

应该google的到,其实我也不清楚,大概就是这样了。mesa大概是个什么标准。是xorg的标准,但是arch没有把它包含在xorg里面,本身貌似也没有这样
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-29 12:40:15 | 显示全部楼层
url=http://www.pgsqldb.org/mwiki/index.php/X_OpenGL_名词解释

GLX: GL is a graphics language, not a windowing system. "GLX" refers to the extension that binds GL to the X11 window system, enabling 3D drawing on X windows. GLX is an extension to the X protocol. There are similar bindings for other window systems too - WGL on Windows, AGL on MacOS. In X, the client side GLX library is called libGL, and the server side extension is called libglx.

Direct rendering: There are two ways a GL program can get its drawing done. Either the client can do the drawing itself, or it can pass the GL requests to the server and have the server do the drawing. Server-side rendering is called "indirect rendering", and client-side rendering is called "direct rendering". Direct rendering is usually faster. This is especially true for Xorg, where the server's indirect renderer is entirely done in software.

DRI: The Direct Rendering Infrastructure is a technology that enables direct rendering for GL programs on Linux and BSD operating systems.


Mesa: Mesa is a work-alike implementation of GL written by Brian Paul and dozens of contributors. It contains a software rasterizer, a GL state machine, and bindings to several window systems including X and Win32. All the open- source DRI drivers are based on Mesa, as well as several closed-source DRI drivers.

DRI driver: This is where all the excitement happens. The DRI driver is responsible for programming the 3D hardware. Usually DRI drivers use the Mesa state machine. In the DRI, the GLX client-side library loads a DRI driver, named something_dri.so.

DRM driver: This is the kernel-side component of the DRI. The DRM is responsible for security and handling resource contention. Not particularly interesting, but mandatory. These are named something.ko in Linux 2.6.

DDX driver: This is a part of the X server, responsible for the other sorts of X drawing like Render and Xv. The DDX has to be DRI-aware, but otherwise not much GL-related happens in the DDX.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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