Aurora Graphics Library Initial Design Discussion

ponce contact at gam3sfrommars.fr
Mon Jan 20 00:17:46 PST 2014


On Monday, 20 January 2014 at 01:15:26 UTC, Adam Wilson wrote:
> Show me how it could be done in a Low-Level API Agnostic way 
> without violating encapsulation (don't leak the low-level API 
> to the front-end) and we'll consider it. If the user must 
> import a Low-Level API (DX/OGL) to work with Aurora under all 
> use cases to get Aurora to compile then we've failed. There 
> might be a way to do it with a special package for that 
> purpose, but it'll have to be carefully built. I still like 
> returning the context as a void pointer for people who know 
> what their doing.

SDL does something like that: http://wiki.libsdl.org/CategorySWM

It can be very useful, for example in SDL 1.2 it can allows to 
implement drag-and-drop or use a particular DirectX version.


More information about the Digitalmars-d mailing list