Quantcast
Channel: arm - openFrameworks
Viewing all articles
Browse latest Browse all 364

Bad Performance - oF 0.10 armv6 rpi3b+ ofshader

$
0
0

@doktorsuarez wrote:

Hi,
i’m working on a project with about 70 small fbo’s (200 x 200 pixel) that i bind to very simple 3Dgeometry (planes) as textures. I’m on a rpi 3b+, 512mb allocated to gpu, raspbian stretch, of 0.10.0. and a very good power supply. I’m getting a framerate of constant 40fps. i’m happy with that. but when i tried to add shaders with ofshader the fps went down to 6fps. if i want to use shaders i initialise the window with gles, like that:

ofGLESWindowSettings settings;
settings.setSize(768, 576);
settings.setGLESVersion(2);
ofCreateWindow(settings);

ofRunApp( new ofApp());

the shader is a very simple one. If i dont draw all the geometry textured with the fbo’s, oddly nothing changes considering the performance, still 6fps?
Is this drop in performance normal on a pi3b+ or are there any things i can do to optimize things?

Thank you very much!
Oli

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 364

Trending Articles