Copy a buffer of GUI to texture buffer of Opengl?
"解利军" <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is it possible to copy a buffer of GUI to textrue buffer of Opengl directly or on card with several additional copy? With the help of Mark Vojkovich, I find it possible to copy an area of X screen to opengl front buffer with function XCopyArea, however I want to get more, I wish to copy it directly to the texture buffer of openGL. Is it possible ? I find it's possible in MSWindows with DirectX. It treats the desktop and texture buffer as the same kind thing. But I wonder if opengl combines with the X system so tightly too. Daniel 2005-10-22