How to accelerate the video card in XWindows in Linux
Source: Internet
Author: User
In Linux, how does XWindows accelerate the graphics card-Linux general technology-Linux technology and application information? For more information, see the following. In traditional design, the operating system's GUI Rendering Intent is completed by the processor. At the software level, a 2D image engine is responsible for generating the GUI, the operating system and application can draw a graphical software interface through this API. Because the 2D image API targets hardware, if you want to change the GUI rendering work to GPU for execution, the software architecture must be adjusted accordingly: first, GUI generation must be taken over by 3D APIs, the operating system and application software use 3D APIs to compile GUI-related code. In this way, GPU executes the GUI rendering part of the software runtime. For LINUX and XWindows architectures, the flexible special check shows that clients such as KDE and Gnome do not need to make any changes at all. Developers only need to adjust the X service layer.
The modular structure of X Window makes it very easy to create XGL on AIGLX-in fact, developers start to mount the file after they know that "longhorn" will use a video card to render GUI messages, however, in less than a year, the product was released, and Linux also enjoyed the 3D GUI interface. At this time, Vista still had time to launch. XGL and AIGLX provide linux with graphics card rendering GUI capabilities without compromise. We can see that even if the "client-server" architecture of X window has the disadvantages of low Video hardware efficiency, however, with the direct rendering of the video card, the Linux 3D GUI shows extraordinary quality-not just to give GNOME and KDE a variety of beautiful dynamic visual effects, it is also because the operations are greatly improved, that is, the smooth and smooth experience is just as different from the previous control with a sense of stagnation.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.