Re: [問題] 關於 OpenGL 與 X Window
※ 引述《HalfLucifer (部遊讀動)》之銘言:
: 請問有沒有辦法在不啟動 X Window 的情況下,
: 執行以 OpenGL 或者是 SDL 撰寫的程式?
: 因為我想實驗看看,如果用這樣的方法,
: 3D 程式的執行效能會不會好一點。
: 謝謝。
it depends on 你做什麼事,
你可能做2D rendering (image drawing)/Video flipping/3D animation
在Linu下的VGA interface
1. Framebuffer device (kernel space driver)
: VESA or HW framebuffer device,
: VESA 是標準, 幾乎所有VGA card都support,但是使用VESA framebuffer device
: 代表所有的VGA運算都是由CPU來做. performance可想而知.
: 有些公司有出HW的framebuffer driver, 效能不錯, for example: Intel integrated VGA
2. X-window
: fbdev xserver <-Xwindow藉由 fb device來rander, 所以和frame buffer device一樣.
: VESA xserver <-VESA的 xserver, CPU運算
: HW DDX xserver with xc extension , good performance with 2D rendering and Video flipping.
: AIGLX, 3D xserver with DRI, DRM, good performance.
3. User sapce VGA driver
: 大部分是 close source, performance 一般
: MESA solo是 CPU 模擬3D運算, performance爛透了
但可以說用3D的performance都會比較好. 不管是做video flipping/image drawing/or animation.
但是support比較差.
--
an amateur of photography,
enjoy recording the wonderful things which happening everyday,
like to try different way and angle to capture the scene,
love the nature lighting and scene.
don't like to use flash light.
that's me.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 16.130.24.8
推
09/05 14:50, , 1F
09/05 14:50, 1F
→
09/05 14:51, , 2F
09/05 14:51, 2F
→
09/05 14:52, , 3F
09/05 14:52, 3F
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章