新出来的XGL是啥(待翻译)

Xgl

Xgl is an X server architecture layered on top of OpenGL. It is at an early stage in development and a number of important pieces are still missing. Xglx is the only server yet that use this architecture, it requires an already existing X server and is only intended for testing and development.

Xegl is a new server based on the Xgl architecture. It runs on standalone OpenGL with the EGL extensions.

Technical Features

Layering X on OpenGL and using a composited desktop opens the door to new features and opportunities. The following are examples of new things which will be possible (a few of which are working today). We'd like to dispel the myth that X on OpenGL is only good for eye candy.

  • Decouple window resolution from display resolution. Applications may render windows at a particular resolution, but may be seen on-screen at a different resolution. Consider a background/root gradient. Such a window (texture) may only be a few pixels in size but appear at 1600x1200 or larger.

  • Fast, simple screen rotation/flipping/panning/magnification.

  • Advanced font rendering, including on-the-fly outline font rendering using textures and fragment programs (see [WWW]http://www.loria.fr/~levy/publications/papers/2005/VTM/vtm.pdf).

  • Simulated hardware overlay planes. This long-time workstation graphics feature could be implemented with texture compositing.

  • Full-screen color manipulation, including gamma correction, contrast enhancement, dimming/brightening, etc.

  • Mixed pixel depths on one screen. Redirected, top-level windows could all have different color depths (8, 16, 24, 32bpp). For example: XTerms may be created with 8bpp (requiring 1/4 the texmem of a 32bpp visual) and displayed with a color-lookup table (fragment program texel lookup).

  • Arbitrary per window colormaps (fragment program texel lookup)

  • Alternate window color spaces. "video" windows may be stored as YCbCr (smaller than RGB) and converted to RGB on the fly when displayed using texture hardware.

  • Window image compression: Use S3TC texture compression to compress windows whose contents seldom change. Best use would be the desktop background stored in the root window. Potentially big memory savings.

  • New opportunities for antialiased X rendering with OpenGL multisampled surfaces.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值