Awesomium D wrappers/bindings

David d at dav1d.de
Thu Dec 27 03:35:20 PST 2012


Am 27.12.2012 05:30, schrieb evilrat:
> On Wednesday, 26 December 2012 at 16:14:11 UTC, David wrote:
>>> but i agree, glfw and sdl sucks,
>>
>> No, only SDL sucks
>>
>>> also glfw has redundant
>>> call(glclearcolor) each frame :)
>>
>> That is not redundant, it's not the job of GLFW to do OpenGL stuff
>> you're supposed to do
>>
> 
> this is OT, but ...
> 
> glfw does context creation, manages window and so on, it does same job
> as old glut does, but in drawing func callback it call glclearcolor each
> frame!(setting color to clear viewport), may be it is a bug or typo, but
> it is really bad - opengl is a state machine and constant switching one
> of the states(which also already has same value, unless user want to
> manually set this which is even more strange to call it) is bad for
> performance, anyway glfw is good for small samples and demos.

There is no "drawing func callback", we are probably speaking of two
different glfw version (even though I don't know of such a callback even
in glfw 2.7)

> and thanks for info about old c api.



More information about the Digitalmars-d-announce mailing list