[gephex-devel] opengl and gephex

Philipp Promesberger [c] coma at gephex.org
Mon Jun 13 23:27:22 CEST 2005


Martin Bayer wrote:

>[...]
>
>3) Link all gl_*_modules and gl_*_types to a shared library with a
>singleton that hold the gl_core object.
>
>+ no changes in the engine
>+ no gl_core_type connections
>+ no lacy init code in the modules/units
>- depends on the linker behavior and could be a portability problem
>- breaks the "a plugin is an atom" idea
>  
>
I coded a prototype of this shared library and it's already working in a 
test-environment.
I updated the library description at 
http://people.gephex.org/~coma/glutil (it's still just a prototype).
I relealised there's far more functions that don't need to be wrapped 
than I originally thought...that can only be good :)
As always this is subject to improvement suggestions.

A last question: The texture class is a really convenient way of 
handling textures...are we going to make this a type or just the texture 
id  (i personally like having the code grouped). It would not interfere 
with people who prefer to do everything "purely gl" since you can just 
query the texture id and work with that ignoring filtering or wrapping 
states set to this class. Default settings of rendertexture could make 
sure though that everything is properly linear filtered when being 
rendered (unless specifically turned off)....what do you say?

-coma



--
------------------------ [ SECURITY NOTICE ] ------------------------
To: gephex-devel at lists.gephex.org.
For your security, coma at gephex.org
digitally signed this message on 13 June 2005 at 21:23:04 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
------------------- [ CIPHIRE DIGITAL SIGNATURE ] -------------------
Q2lwaGlyZSBTaWcuAVdnZXBoZXgtZGV2ZWxAbGlzdHMuZ2VwaGV4Lm9yZwBjb21hQGdlc
GhleC5vcmcAZW1haWwgYm9keQAxBAAAfAB8AAAAAQAAADj5rUIxBAAA0gIAAgACAAIAIB
+oZ0QQT9njneW0BJbMBFNhWVl5dPLKbVD4NhL1uvURAQCAY+pi9xDkKQY80xF9IH5q1/2
gCQ+37YHuT7nVIQT0MYMqKxvouPwVsox+tFO5uCLRGzrah7mmMX649NjCUNGZ+nV2U2ln
RW5k
--------------------- [ END DIGITAL SIGNATURE ] ---------------------



More information about the gephex-devel mailing list