]> git.tdb.fi Git - libs/gl.git/commit
Rewrite Framebuffer to defer attach/detach operations until bound
authorMikko Rasa <tdb@tdb.fi>
Wed, 15 Sep 2010 19:14:55 +0000 (19:14 +0000)
committerMikko Rasa <tdb@tdb.fi>
Wed, 15 Sep 2010 19:14:55 +0000 (19:14 +0000)
commit3663bed18358a2399b2a8a8f7779d85e0ed81bd0
tree9f9593d7814cc77b67ce430d9e0c316327772bac
parentc473f9193d3e5088772b6e5ebf53b710e2976a92
Rewrite Framebuffer to defer attach/detach operations until bound
Set draw buffer and depth mask automatically according to attachments
Treat system framebuffer as an object as well
Move the clear function inside the Framebuffer class
Use temporary binding in RenderBuffer::storage
source/framebuffer.cpp
source/framebuffer.h
source/pipeline.cpp
source/renderbuffer.cpp
source/shadowmap.cpp