]> git.tdb.fi Git - libs/gl.git/commit
Improve pipeline render target management
authorMikko Rasa <tdb@tdb.fi>
Sat, 29 Dec 2012 15:09:17 +0000 (17:09 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 29 Dec 2012 15:09:17 +0000 (17:09 +0200)
commit812c37a8aef84f8720a3e1efedebecd993ec75b2
tree3fa5b92aff2d8134142bf1e96252fc3b1c1fc457
parentfe5bf090db687ef1dd1084218156bcbc0b801081
Improve pipeline render target management

Recreate render targets if number of samples is changed.

Don't create render targets if neither postprocessing nor multisampling is
active.  HDR is only useful with postprocessors (maybe postprocessors
should be able to request HDR?).

Call fbo.require_complete to allow trial-and-error autodetection of
rendering configuration.
source/pipeline.cpp
source/pipeline.h