Menu

#753 Rendering issues on mac osx

4.0.0
open
nobody
None
5
2014-01-28
2014-01-28
Odyssey
No

When trying to display a graph with tulip from my application in mac osx, all I have is a white display and the following log at each draw call :

[OpenGL Error] => invalid framebuffer operation
in : void tlp:GlScene::initGlParameters()

With tulip 4.1 it asserts after several repeat of the same log with :

Assertion failed: (error == GL_NO_ERROR), function glTest, file /Users/tro/Downloads/tulip/library/tulip-ogl/src/GlTools.cpp, line 86.

With tulip 4.4 it just continues with the same log at each draw call.

Basically my application create a tlp::GlMainWidget and a tlp::GlLayer with the createLayer member function of GlMainWidget. Then a tlp::Graph is added to the layer with the addGraph member function of GlLayer and the draw member function is called on the main widget.
The main widget is attached to a QLayout as a part of my Qt application.

Tested on several mac osx environments :
Mac mini OS X 10.8.5, Intel Core I7 2.6GHz, Intel HD Graphics 4000
Mac mini OS X 10.8.5, Intel Core I7 2.6GHz, Radeon HD5750

The same code works correctly under Windows 7 and Fedora environment but those environments have Nvidia graphic cards. Maybe it is a driver related issue ?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB