opengl ES 2.0 FrameBuffer strange effect

by cybice » Fri, 22 Oct 2010 05:02:07 GMT


Sponsored Links
 Can anybody explain:

I have an application which to make some effects uses opengl
FrameBuffers
Opengl version is GL ES 2.0 hardware is Nexus One

In my application one call to
draw some texture in FrameBuffer cause FPS decrease from 40 to 30
But 10 calls to 10 FrameBuffers, also cause FPS decrease from 40 to 30
It looks like that switching in opengl to start draw in FrameBuffer
takes the big amount of time,
or something wrong in my code :-)

Can anybody explain what really happens in opengl when i start draw in
FrameBuffer.



--



Other Threads

1. No running AVD's listed in eclipse

Hello eveyone. Im having a problem (im using Eclispse) when i start an
Android app that when i set it so i can choose what already running
AVD instance I want to book into I have nothing listed in the 'Android
Device Chooser' even though i have a running device started through
eclipse. Can anyone inform me why this running AVD is not visable to
eclipse?

ps when set to 'auto' eclipse tries to start anothing AVD and then
fails as the image in already in use....

--~--~---------~--~----~------------~-------~--~----~

2. decoding bar code from image stored as resource

Hello All,

I am writing an application to scan a bar code.
As a small module of it I am trying to decode the bar code form the image
file stored as resource. (R.raw.bc02) where bc02.jpg is my bar code image
file.

I am using http://code.google.com/p/zxing/wiki/DeveloperNotes to write a
program for decoding.
I am stuck up at following step: i.e. reading the image as bufferedImage

BufferedImage myImage = ...;
MonochromeBitmapSource source = new
BufferedImageMonochromeBitmapSource(myImage);

I have written following code to read the image which works fine
InputStream is=
this.getApplicationContext().getResources().openRawResource(R.raw.bc02);
The run time object is of class
"android.content.res.AssetManager$AssetInputStream"

Can any help me in reading the file and decoding? Please let me know if I am
doing correct or not.

Thank you,
Abhishek

--~--~---------~--~----~------------~-------~--~----~

3. Launching projects to the AVD in eclipse

4. How to change the default directory of AVD

5. HttpURLConnection headers

6. more parseable output from instrumented tests?

7. Merchant Support for additional countries Options