Re: [Libva] Render to texture

2010-03-17 Thread Zou, Nanhai
Hi Jonathan, This would be fine, I guess we still need to internally use pixmap to setup relationship between vaSurface and glTexture, we will try to see if it works. Thanks Zou Nanhai >>-Original Message- >>From: Bian, Jonathan >>Sent: 2010年3月17日 22:29 >>To: Zou, Nanhai >>Cc: l

Re: [Libva] Render to texture

2010-03-17 Thread Bian, Jonathan
Hi Nanhai, Gwenole has proposed a few new APIs to support rendering a decoded surface into a GL texture. See the attached header file as well as the following sample code from Gwenole, and your comments are welcome. Regards, Jonathan --- va_dpy = vaGetDisplayGLX(); glGenTextures(1, &gl_textu

[Libva] Render to texture

2010-03-17 Thread Zou, Nanhai
Hi Jonathan, As we have discussed, people are interested to let libva be able to render to texture object. Form our driver level, it is pretty easy for our driver to render to a pixmap. However pixmap is X related concept. From the libva level, it is better to have an ID