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

RPi - Temp fix or workaround for ofSetBackgroundAuto?

$
0
0

@Digl wrote:

Hi all,

I’m working on a Raspberry Pi project (RPi 3 B+) with a high resolution screen (2560x1440) (OF version 0.10.0_linuxarmv6l). The project has very simple graphics, but needs the background to not automatically redraw.

Raspberry Pi’s ofSetBackgroundAuto is currently bugged and will continue to draw the background even when set to false (Github issue). The current workaround is to use FBOs - these work, but are a massive hit on my framerate (60fps -> 20fps).

Is there an adjustment to the openFrameworks source I can make to quick-fix the ofSetBackgroundAuto problem? I don’t know much about the source or re-compiling it so this may be unpractical.

Alternatively, is there a more efficient workaround than using FBOs? Or a more efficient way to use them? The performance impact comes from the fbo.draw() call in my draw() loop.

Many thanks,
Digl

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 364

Trending Articles