Bug 54600 - pbuffer_reference_openvg_image() not implemented (egl_g3d_st.c)
Summary: pbuffer_reference_openvg_image() not implemented (egl_g3d_st.c)
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 8.0
Hardware: All All
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 15:07 UTC by Manfred Kogler
Modified: 2016-01-26 12:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.