# Using FramebufferOES

**URL:** https://forums.imgtec.com/t/using-framebufferoes/280
**Category:** PowerVR Insider
**Tags:** pvrvframe
**Created:** [March 12, 2009, 6:02pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280 "2009-03-12T18:02:19Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)
#### Post date: [March 12, 2009, 6:02pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/1 "2009-03-12T18:02:19Z")

</div>

I am attempting to use FramebufferOES extension using the Emulator SDK (Windows - OGLES-1.1\_WINDOWS\_PCEMULATION\_2.04.24.0765) and I am getting linker errors:

&nbsp;
  

  

LNK2019: unresolved external symbol \_\_imp\_\_glDeleteFramebuffersOES referenced in function "

  

  

  

  

  

...
  

&nbsp;
  

My code is linking to libgles\_cm.lib , the includes are there (&nbsp; it does compile) so I am not entirely sure what else should I do to get this going ...
  

&nbsp;
  

&nbsp;

  

&nbsp;

---

<div class="post-metadata">

### Author: ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)
#### Post date: [March 13, 2009, 1:41am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/2 "2009-03-13T01:41:24Z")

</div>

Uh .. never mind .. I see only required extensions are exported within the emulator library.
  

So I am attempting to load bunch of them using Tool's CPVRTglesExt class and the one I am after . .. GL\_OES\_framebuffer\_object is not loading.
  

&nbsp;
  

I was able to load GL\_OES\_matrix\_palette, GL\_EXT\_multi\_draw\_arrays and couple of others but not GL\_OES\_framebuffer\_object.
  

I am testing this on a machine equipped with GeForce 8800 GTX, so I would think it is not a host system limitation.
  

&nbsp;
  

Any ideas ?  

  

&nbsp;
  

&nbsp;

---

<div class="post-metadata">

### Author: ![xmas](https://avatars.discourse-cdn.com/v4/letter/x/958977/32.png) [@xmas](https://forums.imgtec.com/u/xmas)
#### Post date: [March 13, 2009, 1:05pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/3 "2009-03-13T13:05:29Z")

</div>

There is a bug in the PC emulation library affecting GL\_OES\_framebuffer\_object which we hope to resolve soon.

---

<div class="post-metadata">

### Author: ![whorfin](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@whorfin](https://forums.imgtec.com/u/whorfin)
#### Post date: [April 1, 2009, 4:24pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/4 "2009-04-01T16:24:43Z")

</div>

Any word on this? I was hoping that new release was going to include the fix, but I guess not...
  

&nbsp;

---

<div class="post-metadata">

### Author: ![xmas](https://avatars.discourse-cdn.com/v4/letter/x/958977/32.png) [@xmas](https://forums.imgtec.com/u/xmas)
#### Post date: [April 7, 2009, 10:37am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/5 "2009-04-07T10:37:42Z")

</div>

This should actually be fixed in the latest release. The bug reference for this issue is BRN26804.  
  
  
  
  
  
What failure are you seeing exactly?

---

<div class="post-metadata">

### Author: ![digi123](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@digi123](https://forums.imgtec.com/u/digi123)
#### Post date: [April 14, 2009, 3:44am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/6 "2009-04-14T03:44:30Z")

</div>

I also can’t seem to get access to glGenFrameBufferOES. The only extensions found are the following:  
  
  
  
  
  
GL\_OES\_byte\_coordinates GL\_OES\_compressed\_paletted\_texture GL\_OES\_fixed\_point GL\_OES\_point\_size\_array GL\_OES\_point\_sprite GL\_IMG\_user\_clip\_planes GL\_OES\_matrix\_palette GL\_OES\_draw\_texture GL\_OES\_read\_format GL\_OES\_single\_precision GL\_IMG\_texture\_compression\_pvrtc GL\_IMG\_texture\_env\_enhanced\_fixed\_function GL\_ARB\_texture\_env\_combine GL\_ARB\_texture\_env\_dot3 GL\_OES\_matrix\_get GL\_IMG\_vertex\_program GL\_IMG\_read\_format GL\_IMG\_texture\_format\_BGRA8888 GL\_EXT\_multi\_draw\_arrays  
  
  
  
  
  
  
  
  
I’m using this version of the sdk: OGLES-1.1\_WINDOWS\_PCEMULATION\_2.04.24.0811  
  
  
  
  
  
Are frame buffers/pbuffers not available in opengl es 1.1?

---

<div class="post-metadata">

### Author: ![jacekc](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jacekc](https://forums.imgtec.com/u/jacekc)
#### Post date: [April 15, 2009, 3:37pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/7 "2009-04-15T15:37:23Z")

</div>

Hi,  
Please make sure that you are using emulation library in version 4.2. To do it see into output of glGetString(GL\_RENDERER) which should contain “PowerVR PVRVFrame 4.2”. Note that extension are determined by chosen hadrware profile which can be set in pcviewer\_es1.cfg (ES1) or pcviewer\_es2.cfg (es2) in directory where are you pcemulation libraries used for running given es application. More about configuration files can be found in pvrvframe manual.

Regards,

---

<div class="post-metadata">

### Author: ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)
#### Post date: [April 15, 2009, 9:10pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/8 "2009-04-15T21:10:58Z")

</div>

I can confirm that the extension is loading just fine with the latest SDK.

---

<div class="post-metadata">

### Author: ![flamaros](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/flamaros/32/45_2.png) [@flamaros](https://forums.imgtec.com/u/flamaros)
#### Post date: [May 27, 2009, 12:57pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/9 "2009-05-27T12:57:02Z")

</div>

Hi,  
  
I have the same probleme, the GL\_OES\_framebuffer\_object extension can’t be loaded.  
  
  
  
I have installed this packadge : OGLES-1.1\_WINDOWS\_PCEMULATION\_2.04.24.0811.msi  
The glGetString(GL\_RENDERER) geve me "PowerVR MBX1 With VGP - GENERIC PROFILE"  
  
How can I set the hardware profile with pcviewer\_es1.cfg?  
  
My nvidia Quadro FX 570 can be the limitation? I just have installed the lastest drivers.  
  
Thank for your answers.

---

<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: [May 27, 2009, 3:44pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/10 "2009-05-27T15:44:15Z")

</div>

To change the config, locate the pcviewer\_es1.cfg file and exit it with a text editor. Comment/Remove the hash sign (#) in front of the config you want and place a # in front of the MBXLITE (or whatever was the currently active profile).  
  
  
  
  
  
This system should be made a little easier in the future.

---

<div class="post-metadata">

### Author: ![flamaros](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/flamaros/32/45_2.png) [@flamaros](https://forums.imgtec.com/u/flamaros)
#### Post date: [May 28, 2009, 7:16am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/11 "2009-05-28T07:16:39Z")

</div>

Thx a lot it works.

---

<div class="post-metadata">

### Author: ![flamaros](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/flamaros/32/45_2.png) [@flamaros](https://forums.imgtec.com/u/flamaros)
#### Post date: [May 28, 2009, 12:22pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/12 "2009-05-28T12:22:39Z")

</div>

I am using it to draw in a texture.  
  
It works fine on my computer now with the emulation of OpenGL ES, but the iPhone render a black screen.&nbsp; ![Angry]() I don’t understand because I don’t have any openGL error, and buffers name are valid.

---

<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: [May 28, 2009, 12:49pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/13 "2009-05-28T12:49:04Z")

</div>

I’m not sure if this is relevant, but in order to rebind the actual framebuffer on the iPhone you need to use a value of 1 and not 0 as on most platforms.

---

<div class="post-metadata">

### Author: ![flamaros](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/flamaros/32/45_2.png) [@flamaros](https://forums.imgtec.com/u/flamaros)
#### Post date: [May 28, 2009, 2:08pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/14 "2009-05-28T14:08:17Z")

</div>

Your are my god, it solve my problem.  
  
Do you know if we can get the right value to rebind the normal framebuffer with an openGL ES function or macro? I actually use a #ifdef but it's not beautiffull.  
  
Can I use glIsFramebufferOES to get the first valid framebuffer?  
  
flamaros2009-05-29 09:35:45

---

<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: [June 1, 2009, 7:56am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/15 "2009-06-01T07:56:02Z")

</div>

I’ve been using an #ifdef to define a constant.  
  
  
  
  
  
glIsFrameBuffer will tell you whether you have a framebuffer but not if it’s the screen. Besides, using a constant or #define will have no runtime overhead.

---

<div class="post-metadata">

### Author: ![flamaros](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/flamaros/32/45_2.png) [@flamaros](https://forums.imgtec.com/u/flamaros)
#### Post date: [June 2, 2009, 7:39am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/16 "2009-06-02T07:39:38Z")

</div>

Ok, thx for your informations.  
  
Before I saw bad performance problems, I didn’t think to use such technique to do a mini-game based on drawing, but now we have a new feature in our engine ![Wink]().

---

<div class="post-metadata">

### Author: ![dungpa](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dungpa](https://forums.imgtec.com/u/dungpa)
#### Post date: [June 15, 2009, 3:20am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/17 "2009-06-15T03:20:31Z")

</div>

Hi all,  
I have dealt with the same problem. However, your solution doest not work ![Confused](). When I try to run with GLES1 "SUPPORT\_ALL " config, supported extensions are: "GL\_OES\_byte\_coordinates GL\_OES\_fixed\_point GL\_OES\_single\_precision  
  
GL\_OES\_read\_format GL\_IMG\_read\_format GL\_OES\_point\_sprite  
  
GL\_OES\_compressed\_ETC1\_RGB8\_texture GL\_OES\_compressed\_paletted\_texture  
  
GL\_OES\_depth24 GL\_OES\_rgb8\_rgba8 GL\_OES\_stencil8  
  
GL\_IMG\_texture\_compression\_pvrtc GL\_OES\_mapbuffer GL\_OES\_matrix\_palette  
  
GL\_OES\_point\_size\_array GL\_OES\_draw\_texture GL\_EXT\_multi\_draw\_arrays  
  
GL\_IMG\_vertex\_program GL\_IMG\_texture\_format\_BGRA8888"  
  
It’s pity that no support for framebuffer extension. glGetString(GL\_RENDERER) call gives me: “PowerVR PVRVFrame 4.2 Generic Profile (Host GL: ‘Intel 945 G’) SDK Build: 2.04.24.0809”   
  
I believe that I downloaded and installed the latest version of PowerVR SDK 1.1.  
Does the graphics card of my PC affect the present of framebuffer extension, I can’t think of any other causes. Can anyone give me a hint?  
Thank you!

---

<div class="post-metadata">

### Author: ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)
#### Post date: [June 15, 2009, 6:09am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/18 "2009-06-15T06:09:02Z")

</div>

dungpa wrote:

Hi all,  
&nbsp;Does the graphics card of my PC affect the present of framebuffer extension, I can't think of any other causes. Can anyone give me a hint?  
Thank you!  

&nbsp;
  

  

Of course it does ...&nbsp; after all, PVRVFrame 4 is just a fancy wrapper around your local OpenGL implementation.
  

&nbsp;
  

What kind of graphic card do you have ?

---

<div class="post-metadata">

### Author: ![dungpa](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dungpa](https://forums.imgtec.com/u/dungpa)
#### Post date: [June 16, 2009, 6:41am UTC](https://forums.imgtec.com/t/using-framebufferoes/280/19 "2009-06-16T06:41:59Z")

</div>

Thanks warmi,  
I have fixed my problem. My graphics card is an onboard intel one. When I plug a new Geforce 6200 graphics card, happily it supports framebuffer extension immediately.

---

<div class="post-metadata">

### Author: ![shiftz](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@shiftz](https://forums.imgtec.com/u/shiftz)
#### Post date: [October 4, 2009, 10:24pm UTC](https://forums.imgtec.com/t/using-framebufferoes/280/20 "2009-10-04T22:24:38Z")

</div>

I need help. I cannot get FBO extension work. I have HD4850 and this cfg file:  
  
# =====\> GLES1 config file.\<=====  
# Uncomment the profile you would like to use.  
# If more than one profile is uncommented than  
# the first one will be used.  
#MBXLITE  
#MBX\_VGP  
#MBXLITE\_VGPLITE  
#SGX530  
#SGX535  
SUPPORT\_ALL  
  
glGetString(GL\_EXTENSIONS) lists me:  
GL\_OES\_byte\_coordinates GL\_OES\_fixed\_point GL\_OES\_single\_precision GL\_OES\_matrix\_get GL\_OES\_read\_format GL\_IMG\_read\_format GL\_OES\_point\_sprite GL\_OES\_query\_matrix GL\_OES\_compressed\_paletted\_texture GL\_IMG\_texture\_compression\_pvrtc GL\_OES\_matrix\_palette GL\_OES\_point\_size\_array GL\_OES\_draw\_texture GL\_IMG\_vertex\_program GL\_IMG\_texture\_format\_BGRA8888  
  
and glGetString(GL\_RENDERER) : PowerVR PVRVFrame 5.1 MBX with VGP (Host GL: `ATI Radeon HD 4800 Series`) SDK Build: 2.05.25.0782.  
  
Is this AMD videocard issue?

[Next page](https://forums.imgtec.com/t/using-framebufferoes/280.md?page=2)
