File egl_g3d_st.c implements pbuffer_reference_openvg_image() like that:
pbuffer_reference_openvg_image(struct egl_g3d_surface *gsurf)
/* TODO */
Hence, using EGL functions like described in OpenVG Specification Version 1.1, section 4.2.2 EGL Functions, subsection eglCreatePbufferFromClientBuffer (page 32) does not work. I tried the following code:
VGImage image = vgCreateImage(VG_sARGB_8888, surfaceWidth, surfaceHeight, VG_IMAGE_QUALITY_BETTER);
eglSurface = eglCreatePbufferFromClientBuffer(eglDisplay, EGL_OPENVG_IMAGE, (EGLClientBuffer)image,
It runs into the empty implemented function pbuffer_reference_openvg_image() and thereafter fails.
Is there any alternative way to use OpenVG and EGL to render to a pbuffer/image surface!?
The EGL state tracker been removed from Mesa. Closing.