sivarajankumar / screen3d

Automatically exported from code.google.com/p/screen3d
0 stars 0 forks source link

[Screen/Core - Screen/OpenGL] static load for Renderer libraries #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The goal of this task is to be able to statically load a Renderer into 
applications

Currently, the only way to load a renderer is to dynamically load it. For 
example :

screen::core::Renderer::load("ScreenOpenGL");

The "new" way to integrate a renderer will be add the explicit dependency in 
application sbs.xml and create manually an OpenGLRenderer instance

This static load will be used for :
 * application, such as Demo/SFML, will are linked to a specific renderer
 * platforms that don't support dynamic load (i.e Google Nacl)

Original issue reported on code.google.com by thoratou@gmail.com on 15 Jan 2012 at 7:13