Awesomium D wrappers/bindings

evilrat evilrat666 at gmail.com
Wed Dec 26 20:30:45 PST 2012


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.

and thanks for info about old c api.


More information about the Digitalmars-d-announce mailing list