vinit bansal <[email protected]> writes:
> I'm a novice to openGL. My objective is to create a win32 Window,
> render some image onto it and want to copy it's framebuffer.
[snip]
> But i want to capture the framebuffer of that win32 window so that i
> can copy it to another buffer.  Wgl doesnot provide any api like EGL
> does i.e. EglCopyBuffers().

You can do this in straight gl.   See `glReadPixels'.

Might want to look at framebuffer objects / renderbuffers if this is a
common use case for you.

-tom

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to