1 / 18

Linux Graphics

Linux Graphics. 邹南海. X 架构. 现代显卡的功能. 显示管理 显存管理 2D 功能 3D 流程 视频功能. CPU. 视频. 2D blit. 3D. 显存. 显示设备. 显示设备特性. VGA HDMI DisplayPort LVDS TV out DVI EDID. ModeSetting. 显示模式管理 中断处理和 page flipping KMS 介绍. 显存管理. 显存的作用 Frame Buffer 贴图 (texture) State GPU 的可执行指令 (shader) 其他.

murphy-rice
Download Presentation

Linux Graphics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linux Graphics 邹南海

  2. X 架构

  3. 现代显卡的功能 • 显示管理 • 显存管理 • 2D 功能 • 3D 流程 • 视频功能 CPU 视频 2D blit 3D 显存 显示设备

  4. 显示设备特性 • VGA • HDMI • DisplayPort • LVDS • TV out • DVI • EDID

  5. ModeSetting • 显示模式管理 • 中断处理和page flipping • KMS介绍

  6. 显存管理 • 显存的作用 • Frame Buffer • 贴图(texture) • State • GPU的可执行指令(shader) • 其他

  7. DRI

  8. 2D加速的实现 • 现有加速接口 xaa, exa和uxa

  9. 3D加速的实现 • OpenGL 流水线介绍 • 如何映射到硬件上 • 如何和窗口系统交互 • 高级特性 GLSL WebGL • 嵌入式相关 OpenGL ES和egl

  10. 视频编解码 • 视频解码的流水线 • 视频编码的流水线 • Libva介绍 • 现有Linux下视频方案 • 发展方向

  11. 传统架构优点 • Client server 模式, 方便远程渲染 • 所有和硬件打交道都在Xserver, 方便安全管理

  12. 传统架构缺点 • Client Server 模式有开销不适合硬件加速 • 操作在Server端线性完成, 不能体现现代硬件的多种加速功能 • 渲染数据流不适合现代显卡的流水线

  13. 其他的架构 • Wayland graphics stack 介绍

  14. 针对嵌入系统的优化 • 内存使用优化 • 缩小frame buffer 位色 • Non-power-of-2 贴图 • 使用压缩贴图 --

  15. 针对嵌入系统的优化 • 性能优化 • 避免从显存回读 • 避免驱动里的cpu fallback • Texture tiling • 并行CPU和GPU

  16. 针对嵌入系统的优化 • 耗电优化 - 背光亮度 - 减少内存刷新, - GPU C state P state -

  17. 其他优化 • 抗锯齿 • 防撕裂

  18. 问题

More Related