Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

My sketch going slower with OF_FULLSCREEN than OF_WINDOW

$
0
0

@jcalderon wrote:

I’m developing an sketch that create circles like waves when users press a key, it works fine with OF_WINDOW, but when I set OF_FULLSCREEN on main.cpp and I press many times the key, it going slower and slower.

I watch another questions but I can’t found a possible solution.

If I understood another answer, I put 1920,1080,OF_FULLSCREEN that is my desktop resolution, but this din’t work.

I’m working with a fbo with aplha rectangle to “clear” each scene.

I don’t have separate graphic card, it could be the problem?. I don’t create more than 500 circles.

I’m working on a linux mint sahara system (64 bits)

This is my code in main.cpp

int main( ){
ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context

ofRunApp(new ofApp());

}

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929