[squeak-dev] Re: Opengl and Squeak

Igor Stasenko siguctua at gmail.com
Tue Aug 21 01:53:58 UTC 2012


Btw, the 'rough corners' artifacts which you see on those videos is
non-functional shaders on OSX 10.5
its interesting that same code works well on 10.4 , fails on 10.5 and
again works fine on 10.6

this demo, of course were not designed to go over all of the hops
that's why you see what you see.

P.S. And i must warn those who will try using OpenGL with more recent
VMs on jenkins:
- there are two flavors of VMs for Mac, the old one uses Carbon
framework, and more recent one uses Cocoa.
Since Apple willing to eventually drop support of Carbon in favor of
Cocoa, it is logical to migrate to Cocoa.
But migration also involved some changes, and one of them is pretty
nasty to the demo and NBOpenGL - a current implementation for
displaying bits on screen by VM also uses opengl.. and what happens is
that VM are "stealing" the active context from NB.. so unless you
modify the demo by putting "makeCurrent()" calls at certain places you
will no longer able to have it working properly.
Around a month ago we spent time with Esteban to implement an
alternative way for screen updating by VM, which does not involves
OpenGL, but it is not yet employed in current builds..
and i want to do that in closest future.


-- 
Best regards,
Igor Stasenko.


More information about the Squeak-dev mailing list