Graphics/font/platform backends with common interfaces?

Taylor Hillegeist via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 23 12:57:27 PST 2015


On Wednesday, 23 December 2015 at 20:52:05 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 23 December 2015 at 20:49:21 UTC, Taylor 
> Hillegeist wrote:
>> |  GRAPICS LIB  |
>> +---+---+-------+ <----- what is this interface
>> |SDL|GDI|OPENGL.|
>> +---+---+-------+
>
> SDL, GDI, and OpenGL *are* graphics libs so it seems a bit 
> silly to put an interface there.

I guess I'm thinking that to be able to switch between 
backends(gdi sdl) you use you must have a common interface. And 
if everyone had the same common interface it could be nice right?


More information about the Digitalmars-d-learn mailing list