Hi, 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.
I followed some simple steps referring http://msdn.microsoft.com/en-us/library/ms970779.aspx. 1) Got DC through GetDC() from win32 window. 2) Create Wgl context using that DC. 3) Make it the current rendering context using WglMakeCurrent. 4) Then I called some OpenGL calls. 5) After that I say WglSwapBuffer to display on that window. Upto this point, there is no problem. 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(). How can I achieve this in case of WGL? ------------------------------------------------------------------------------ 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
