[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53609] trunk/blender/source/blender/ editors/space_view3d/view3d_draw.c: Slight modification of viewport sky: Avoid clearing the colour buffer

Antony Riakiotakis kalast at gmail.com
Mon Jan 7 22:00:03 CET 2013


A little research shows that indeed not clearing can be helpful in some cases:
In fact I am thinking that with some clever positioning of the full
screen quads we can avoid clearing the
depth buffer as well :)

http://www.gamedev.net/topic/509632-slow-glclearing-large-fbos/

http://www.flipcode.com/forums/thread/5879

Maybe when tiled architectures are supported we should look at
GL_EXT_discard_framebuffer extension too:

http://stackoverflow.com/questions/2538662/how-does-glclear-improve-performance


More information about the Bf-committers mailing list