[squeak-dev] porting Croquet to Squeak6.0 alpha...

gettimothy gettimothy at zoho.com
Wed Mar 11 23:24:24 UTC 2020

will do,


---- On Wed, 11 Mar 2020 18:58:07 -0400 Bert Freudenberg <bert at freudenbergs.de> wrote ----

On Wed, Mar 11, 2020 at 2:58 PM gettimothy via Squeak-dev <mailto:squeak-dev at lists.squeakfoundation.org> wrote:

The methods have been automatically generated from the OpenGL spec a long time ago, yes. But you do not have to re-generate them.

There is, however, some magic involved to get these methods bound to the correct openGLLibraryName. At runtime, when you instantiate an OpenGL object, the magic will actually create versions of these methods that have the right calling convention (instead of "apicall") and the right library name (e.g. 'libGL.so.1' on Linux).

See my other reply re: getting OpenGL via FFI to work in 64 bits.

- Bert -

btw, the glMatrixMode:mode method tells us that it was automatically generated.

by what? When? against what?

glMatrixMode: mode

"This method was automatically generated."

"void glMatrixMode(GLenum mode);"

<apicall: void 'glMatrixMode' (ulong) module: '#openGLLibraryName'>

^self externalCallFailed

Is that "automatic generation"  an example of fundamental work that must be done to make Croquet rock-n-roll?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200311/e20b87ee/attachment.html>

More information about the Squeak-dev mailing list