Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Visitor
Posts: 1
Registered: ‎10-08-2012
My Device: Bold 9900

glDrawTexiOES fail on Bold 9900

[ Edited ]

Hi,

 

Has anybody tried to use glDrawTexiOES on the Bold 9900 or a BB os 7 device?

 

I tried the code from RIM's tutorial at the link below and it does not work.  In fact the simulator runs the code with the texture upside down and the real device does not show the texture.  The real device only show one color from the texture.  For example, the texture I want to display uses mostly green colors but the device only show a plain solid green texture.

 

http://docs.blackberry.com/en/developers/deliverables/17967/CS_Drawing_a_texture_on_a_GLField_124910...

 

I have tried several approach to draw fast 2D images using Opengl ES and it seems it is impossible to get a 60 FPS render displaying a 640*480 2D image.  I have a hard time believing this when I am using a 1.2ghz 3D accelerated chip that represent the current BB flagship.

 

UPDATE:  I use a Bold 9900 OS 7.1 Bundle 1310 (v7.1.0.391,Platform 5.1.0.319). IDE is BB Java SDK version 7.1.0.10 with BB Java Plug-in version 1.5.2.201204302029

 

 

Thanks for your help,

 

Nas