Quote: Original post by Encryptor
Fair enough.
<rant>
I fail to see how any of that is valid. Don't interface with X yourself. Use a go-between like SDL. Problem solved.
Quote: Original post by Encryptor
Fair enough.
<rant>
Quote: Original post by Encryptor
1. Almost no documentation.
Quote:
Xgl was released for over 2 years ago. And is now deprecated and all the functionality is in mainline Xorg. Google compiz.
Quote:
Do what everyone else does and use a window manager built on top of X11. You linked to the Qt site, why don't you use that? Or GTK+? Or any number of the vast numbers of window managers out there that are designed to simplify the process.
Quote:
I fail to see how any of that is valid. Don't interface with X yourself. Use a go-between like SDL. Problem solved.
Quote:
Check the man-pages, and doxygen.
STLport | Lua | Squirrel | Doxygen | NASM | bochs | osdev | Ruby | FreeBSD | Zend Framework 2 | YUI 3 | VP UML| ZFS | Linux Mint (Cinnamon)
Quote: Original post by Encryptor
"Do what everyone else does". I like that. Those guys at Google should have never created another search engine. After all, Yahoo was working pretty well...
Quote: It's pretty simple to build a HW accelerated OpenGL app using X. It's NOT easy to build an equivalent app WITHOUT X.
Quote: Original post by CromulentQuote: Original post by Encryptor
"Do what everyone else does". I like that. Those guys at Google should have never created another search engine. After all, Yahoo was working pretty well...
So you completely ignored the point.
Instead of doing the intelligent thing and using the tools which are more than adequate for the job, SDL, Qt, GTK+ etc you seem to think raw X11 is the only option so you decide to use a far inferior solution instead. Good thinking.
Quote: Original post by EncryptorQuote: It's pretty simple to build a HW accelerated OpenGL app using X. It's NOT easy to build an equivalent app WITHOUT X.
I most certainly agree.
However, the question is whether that application would have ran faster/better using an <currently non-existant> alternative to X, one that would concentrate on drawing?
STLport | Lua | Squirrel | Doxygen | NASM | bochs | osdev | Ruby | FreeBSD | Zend Framework 2 | YUI 3 | VP UML| ZFS | Linux Mint (Cinnamon)
Quote: Original post by KonfusiusQuote: Original post by EncryptorQuote: It's pretty simple to build a HW accelerated OpenGL app using X. It's NOT easy to build an equivalent app WITHOUT X.
I most certainly agree.
However, the question is whether that application would have ran faster/better using an <currently non-existant> alternative to X, one that would concentrate on drawing?
You fell into the same trap as I: Thinking that thinner management layers equal better performance. When drawing, the OpenGL calls don't neccesarily take the roundtrip around the machine, stopping by at the TCP/IP layer etc. In the cases that matter, they call directly the driver.
TBH I do not have much knowledge about X11/DRI/GLX, but when I tested X11 OpenGL with a game I played previously on Windows (Wolfenstein: Enemy Territory), I got a substantial frame boost (70 frames on FreeBSD/KDE compared to ~45 on Windows with a GeforceFX 5200). I think that shows that X11 is fast enough. API overhead is (wild guess) below the 1-2 percent range.