FLTK logo

Re: [fltk.general] OpenGL - displayList - gl_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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: OpenGL - displayList - gl_draw Ian MacArthur Sep 25, 2020  
 
On 25 Sep 2020, at 21:08, holm.haavard wrote:
> 
> Ian, you may be right that gl_draw is not slow. Still in my code I would like to put opengl-calls in a displaylist.


Careful, I do not think that will work  - gl_draw() is *not* an OpenGL call, it’s a fltk method, with a "gl-like” name; in effect it is a substitute for fl_draw() that is intended to work in the GL context if a Fl_Gl_Window. 

But it is not implemented as “pure” GL because it needs to interact with the fltk environment (e.g. for the text rendering, since the GL text rendering is... um... less capable... shall we say.)

So I doubt putting gl_draw() in a display list will ever work, frankly.



-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/ACC60B65-6AD8-4539-8DC2-8F1CAC86730C%40gmail.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'.