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 (東京 日本)
_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Reply via email to