Re: Copy a buffer of GUI to texture buffer of Opengl?

Carsten Haitzler (The Rasterman) <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Organization You expect me to be organized?
Message-ID <[email protected]>
On Sat, 22 Oct 2005 10:49:47 +0800 "解利军" <[email protected]> babbled:

> 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

the xgl work added an extension to glx that allowed direct copies from pixmap
to texture. this is the only method i know about.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]
裸好多
Tokyo, Japan (東京 日本)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.