[GEM-dev] gem port to opengl-es - initial developments..

IOhannes m zmoelnig zmoelnig at iem.at
Thu Feb 2 10:14:18 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-02-01 18:30, dmotd wrote:
> hi gem folks,
> 
> i've had a bit of free time to begin porting gem to opengl-es. 

kjul!

> cloned gem git, checkout 0.93 tag, created es branch.

any reason why you did not use master?

> added egl drop in for GemWinCreate

in master is an (experimental) new class of objects that implement
window-handling rather than using the olde fixed GemWinCreate (look at
src/Output).
currently only OSX-10.6 builds make use of that, but the more it gets
tested the sooner it will be the one and only method to create windows.

> 
> successful build against pd-0.43 using enable-Controls and others
> disabled.
> --
> 
> reports: 
> --
> libxxf86vm doesn't seem to work properly on the tablet, so for the time
> being the window modelines are hard coded. there are some other window
> manager hints that are specific to the device too.
> 
> gemwin successfully creates the egl window buffer and rendering context.
> 
> gem crashes when glClearDepthf and glFrustumf are called (both are

in the future (see above), those calls will not be hardcoded into
GemManager any more, but instead are called from an abstraction (gemwin.pd)

> floating-point variations to the base GL functions and part of the GL-ES

so they should be there but are not?


> spec). furthermore looking at the output of 'nm -C Gem.pd_linux' shows
> that these functions are not present in the compiled lib, what does this
> mean?

what do you mean by "not present"?
they are most likely "undefined", as they will be imported from GL-ES



> i am coding on a linux-amd64 pc, cross-compiling in scratchbox and
> testing on the device, using git/scp as a go-between.. this is a bit
> cumbersome/inefficient - can anyone suggest a virtual machine image
> (linux based) that provides a graphical gl-es environment and a minimal
> editor/ide to build and test with? 


i haven't found a useable one yet.
in theory, there are android-for-eee images availabe, which should , and
there is myOS[1], which i haven't tried for some time (though it seems
to be a dead project anyhow) but it never worked with my nvidia-card...

if you have success in getting a simple setup for GL-ES development,
please let us know!

> i'll keep everyone up to speed as i make developments, and if anyone can
> replicate my dev environment and wants to contribute i'll happily push
> to a public git sooner rather than later.

oh please!


fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8qU+cACgkQkX2Xpv6ydvSqKACg11zIQKLVO0zDipoKVez3KNgm
AB4AnRVAFyc/czu2U37Q2jB1MPAO1kX9
=HABi
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20120202/8158e81d/attachment-0001.bin>


More information about the GEM-dev mailing list