From: Nicholas L. <Nic...@gm...> - 2009-08-17 12:51:23
|
I'm attempting to develop off-screen rendering using OpenVG but am having trouble (I'm new to the whole graphics universe...surfaces, contexts, windows, oy!). Off-screen rendering means a PBuffer but I can only bind a VGImage to a Pbuffer. So what about VGPaths? I can render a blue triangle on-screen and now I'm trying to render ultimately to a ppm file. Therefore I need to know the location of the data, but all I have is the EGLDisplay, EGLSurface (a Pbuffer, right?) and EGLContext. There's no opportunity for me to malloc some memory and use it. The only thing I can think to maybe try is draw my VGPath to presumably the surface, then call either vgReadPixels to add it to memory and then create a ppm file. Does that make sense? -- View this message in context: http://www.nabble.com/Is-Off-screen-rendering-possible-with-EGL-and-OpenVG--tp24977640p24977640.html Sent from the mesa3d-users mailing list archive at Nabble.com. |