|
|
Le mardi 22 novembre 2022 à 12:18:01 UTC+1, Matthias a écrit :
I traced the code and it uses a method switch_to_GL1() in the OpenGL graphics driver that I don't understand. I'll have to hand this to Manolo. As an aside, if we implement a second OpenGL3 graphics driver, I can reimplement the FLTK drawing calls to use GL3 instead of GL1, so there is no need for this context switching. Manolo?
Is this proposal to implement, say, class Fl_OpenGL3_Graphics_Driver that would use GL3 in addition
to the existing GL1-based class Fl_OpenGL_Graphics_Driver, and to use the new driver to draw into GL3 windows ?
That would remove indeed the need for the context switching. Please, notice this driver would not be necessary under X11 and Windows. Notice also the need for a solution for text drawing compatible with both GL1 and GL3 contexts.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/7bcf5b90-3d58-43d9-9d43-94e5a0248ab3n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |