Important: Please read the Qt Code of Conduct -

Gl and qt 5.3

  • hello.
    I would create a little game engine editor with qt and his interface.
    I saw that there are a lot of classes that encapsulating gl functions , from the gl 2.0 to gl 4.
    I would like to use the 3.2 gl version but there is something like multitasking(I'm a newbie of qt)with makecurrent, context ecc....
    I have created for another interface system (mfc) a lot of classes for my gl purpose and now i would translate to qt 5.3.
    Is realy a multitansking?
    there is some documentation of these contexts and how use them?
    I tried to do some debugging with gdebugger and i see these contexts ,
    what are they? are used to increase performance?

    i For example i have a shader class that does all the stuff related to the shader , but for me is impossible to call the gl functions in these classes because i get an error for each call to the gl function(i created an instance of the container of the gl functions and initialized).I suppose that this error is related to the multitasking
    Is possible not use multitasking or if is not too difficult learn to use it?

Log in to reply