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 à 11:38:22 UTC+2, imacarthur a écrit :

Oh, hold on! I just remembered, this code also works on my old macOS
box too (which is IIRC 10.13). When did Apple break the GL2/GL3
compatibility, because it seems to work fine on my old Mac...
It is possible I am "getting away with it" because the drawing isn't
mixed in a single context, there's some textures drawn using GL2 that
are then passed to a couple of GL3 rendering stages...

Disclaimer: I ignore totally how GL2 or GL3 are supposed to be programmed.

My understanding is that on day one macOS begun to support GL3, it did so
in an exclusive mode: either GL2 or GL3, never both.

@Ian : do you think your technique to draw part of a scene with GL2 and use
the result in GL3 or vice versa could be used to support adding, under macOS,
FLTK widgets (which are drawn by Fl_OpenGL_Graphics_Driver using GL2) to
a GL3-based Fl_Gl_Window ? Do you have any hint about how to
draw first with GL3 and second with GL2 to the same Fl_Gl_Window under X11
and Windows? As written in the previous post, I believe to know how to do that
under Wayland, but that fails under X11.

--
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/5196bb06-bd65-4e98-9ac6-0dc9a7d84254n%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'.