|
楼主 |
发表于 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. |
|