Page 1 of 2

Your thoughts on runtime code generation/modification...

PostPosted: Dec 9, 2003 @ 10:52pm
by drgoldie

PostPosted: Dec 9, 2003 @ 11:38pm
by StephC
Statically link ?

I think that evc does not include not used functions.

PostPosted: Dec 9, 2003 @ 11:42pm
by Kzinti

PostPosted: Dec 10, 2003 @ 7:59am
by drgoldie
well, the problem is that for a general implementation of a 3D API like OpenGL (and not a specific game) you don't know in advance which functions are going to be needed by a programmer.

you are right that obviously a small number of functions will be used more often than most others. that's why i allow developers to choose in the python script which functions will be created. at the moment i don't have a fall-back for those functions that were not selected (so the library complains about this instead of doing it at least slowly) but that's going to come.

but i'd love to see a better solution to this...

thx,
DANIEL

PostPosted: Dec 10, 2003 @ 8:15am
by Kzinti

PostPosted: Dec 10, 2003 @ 9:16am
by drgoldie

PostPosted: Dec 10, 2003 @ 6:02pm
by Kzinti

PostPosted: Dec 10, 2003 @ 6:14pm
by drgoldie

PostPosted: Dec 11, 2003 @ 5:01pm
by Sergey Chaban

PostPosted: Dec 11, 2003 @ 8:13pm
by drgoldie
hey thanks, this looks VERY interesting.

i have to admit that i first want to try out the Mesa way: filling a pixel-buffer for each "feature" (such as texture, shading, etc...) and finally combine them in the way as required.

i used to think that this would be very slow, but the buffers should fit nicely into the cache and other than i used to believe, an early z-test can be done efficiently (due to the fact that pixels will not switch frequently between visible and unvisible).

if it should turn out, that this solution is ways slower than what i have right now i'll definitely try out the assembler stuff. what's keeping me away from it right now is the fact that i'll have to learn ARM assembler...

thanks,
DANIEL

PostPosted: Dec 11, 2003 @ 8:27pm
by Kzinti

PostPosted: Dec 29, 2003 @ 5:06pm
by hm

PostPosted: Dec 29, 2003 @ 11:52pm
by Digby
I'd use CacheSync, but you might want to look at .

coredll references

PostPosted: Mar 7, 2004 @ 11:42pm
by hm

PostPosted: Mar 8, 2004 @ 9:16am
by refractor