Bug 54600

Summary: pbuffer_reference_openvg_image() not implemented (egl_g3d_st.c)
Product: Mesa Reporter: Manfred Kogler <candideus>
Component: OtherAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: blocker    
Priority: medium    
Version: 8.0   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Manfred Kogler 2012-09-06 15:07:04 UTC
Hi all!

File egl_g3d_st.c implements pbuffer_reference_openvg_image() like that:

	static void
	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,
		eglConfig, NULL);

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!?

Best regards,
Fred
Comment 1 Timothy Arceri 2016-01-26 12:13:48 UTC
The EGL state tracker been removed from Mesa. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.