Gtk.jl icon indicating copy to clipboard operation
Gtk.jl copied to clipboard

GLArea() error not implemented on OSX

Open louisponet opened this issue 8 years ago • 7 comments

When I try to create a GLArea() I get a window that looks like this: screen shot 2017-12-10 at 12 41 53

This was encountered while trying to incorporate GLVisualize into a Gtk window, see Integration into Gtk or equivalent

louisponet avatar Dec 10 '17 12:12 louisponet

@lobingera

a libgtk or an Gtk.jl issue?

I have no idea, but the fact that "Not implemented on" can't be found in Gtk.jl at all, indicates that it's a libgtk problem.

SimonDanisch avatar Dec 10 '17 12:12 SimonDanisch

Seems like it: gdkglcontext-quartz.c

That's a pity...

louisponet avatar Dec 11 '17 09:12 louisponet

Yea its a pity that this does not work. But even if it would: @SimonDanisch Is OpenGL actually useful on OSX these days?

tknopp avatar Dec 11 '17 09:12 tknopp

apple thinks so: https://developer.apple.com/opengl/

lobingera avatar Dec 11 '17 10:12 lobingera

Yes but the question is which version is supported (in in particular which shader functionality).

tknopp avatar Dec 11 '17 10:12 tknopp

Yes, Apple distances itself from OpenGL more and more in favor of metal, but still supports fairly new versions! So it's definitely useful, while not being very future safe ;)

SimonDanisch avatar Dec 11 '17 11:12 SimonDanisch