# egl extnesion Source code

**URL:** <https://forums.imgtec.com/t/egl-extnesion-source-code/416>\
**Category:** PowerVR Insider\
**Tags:** pvrvframe\
**Created:** [July 21, 2009, 4:25pm UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416 "2009-07-21T16:25:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amendol](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@amendol](https://forums.imgtec.com/u/amendol)\
**Post date:** [July 21, 2009, 4:25pm UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416/1 "2009-07-21T16:25:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [July 21, 2009, 4:36pm UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416/2 "2009-07-21T16:36:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![amendol](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@amendol](https://forums.imgtec.com/u/amendol)\
**Post date:** [July 21, 2009, 4:48pm UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416/3 "2009-07-21T16:48:51Z")

</div>

\>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:&nbsp; 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

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [September 4, 2009, 9:56am UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416/4 "2009-09-04T09:56:08Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![amendol](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@amendol](https://forums.imgtec.com/u/amendol)\
**Post date:** [September 4, 2009, 2:29pm UTC](https://forums.imgtec.com/t/egl-extnesion-source-code/416/5 "2009-09-04T14:29:53Z")

</div>

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
