Graphics/font/platform backends with common interfaces?
Taylor Hillegeist via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Dec 23 13:08:02 PST 2015
On Wednesday, 23 December 2015 at 20:57:27 UTC, Taylor Hillegeist
wrote:
> 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?
maybe this is more what I'm thinking.
+-----------------+
| USER APP |
+-----------------+
| GUI LIB |
+-----------------+ <----- what is this interface
| GenericGL |
+-----------------+ <----- what is this interface
| NativeGL |
+-----------------+
More information about the Digitalmars-d-learn
mailing list