Imagination PowerVR SDK Blog

egl extnesion Source code

pvrvframe

#1

I would like to prototype some egl extensions using the SDK, but I don’t see the source code for the EGL -> GLX wrapper. Is it possible to get the source code to this? or is there a way to get a handle to the underlaying glX data?

Jamie


#2

This is accomplished as part of PVRVFrame and by policy, we don’t release the source code for this. What extensions were you interested in?


#3
>This is accomplished as part of PVRVFrame and by
policy, we don't release the source code for this. What extensions were
you interested in?

Two things in general: remote rendering, and surface sharing.

For the surface sharing I believe that it would be along the lines of, EGL_KHR_image and friends:  EGL_KHR_lock_surface, EGL_KHR_vg_parent_image, KHR_gl_texture_2D_image etc.

The remote rendering would require some general prototyping. To start I would like to get it working with the current wrapper, and that only seems to work with OpenGL-ES 1.x api. 2.0 is getting some errors. I'm using NVidia hardware.

Jamie




#4

The primary purpose of the PVRVFrame wrapper is to emulate POWERVR chipsets and so implementing extensions that aren’t available on our current platforms is unliely to happen.





If you can find another implementation of OpenGL ES with source then it might be better starting with this.








There are some outstanding issues with certain video cards and we’re always interested in possible bughs - what errors are you gettin under ES 2.0 and what are you dong to generate them? Which Nvidia card are you using?


#5
Gordon wrote:
The primary purpose of the PVRVFrame wrapper is to emulate POWERVR chipsets and so implementing extensions that aren't available on our current platforms is unliely to happen.



If you can find another implementation of OpenGL ES with source then it might be better starting with this.





There are some outstanding issues with certain video cards and we're always interested in possible bughs - what errors are you gettin under ES 2.0 and what are you dong to generate them? Which Nvidia card are you using?


It's been a while. I can't remember the exact message, although it was with a remote X11 session. -- I believe that it may have been either a glx configuration error, or a shader compile error. It may take a week or so before I'm looking at that part again to get you the exact error..

Jamie