FLTK logo

Re: [fltk.coredev] GL root Fl_Gl_Window::draw

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: GL root Fl_Gl_Window::draw Manolo Sep 16, 2022  
 

Le vendredi 16 septembre 2022 à 10:31:56 UTC+2, Gonzalo a écrit :

> You had written in this thread on 9 sept :
> "On Linux and Windows this works, but on macOS, as Manolo said, it does not, as it does not allow
> mixing OpenGL2 and OpenGL3+ calls. "
> I interpreted that meaning you solved how to combine GL3 + GL2 under Linux and Windows.
>

Sorry. I misspoke. I was just repeating what you mentioned about GL3/2 compatibility without having tried it myself.

You had written on the 8th of September:
"Notice this restriction is macOS-specific. The other 3 platforms allow mixing."

 Let's be very explicit to avoid misunderstandings on all sides.

macOS forbids in principle to use GL2 function calls in a GL3 context.
If you do such calls, the program either crashes or does not perfom the requested operation.

The other platforms allow, in principle, to combine GL3 and GL2 calls, that's called a
compatibility context in GL3 parlance. The question of how, in practice, to call these
two sets of functions in a way that makes sense to GL remains. I don't know the answer.
I just observed that the procedure followed in OpenGL3test.cxx works under Wayland,
but fails under X11. Any suggestion welcome.

--
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/d029648a-8bee-43c9-b7c2-5759208ac5b5n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.