[Bf-blender-cvs] CVS commit: blender/source/blender/include BIF_interface.h interface.h blender/source/blender/python/api2_2x Draw.c blender/source/blender/src interface.c
Ton Roosendaal
ton at blender.org
Mon Jul 7 17:50:45 CEST 2003
ton (Ton Roosendaal) 2003/07/07 17:50:45 CEST
Modified files:
blender/source/blender/include BIF_interface.h interface.h
blender/source/blender/python/api2_2x Draw.c
blender/source/blender/src interface.c
Log:
* removed the global uiFrontbuf from interface.c (and python, it was used
there)
* replaced with nice local (uiBlock) storage of what goes on in drawing.
it now only calls a glDrawBuffer() and glFinish() when it is actually
needed
Result: interface drawing in general is speedy again, especially for gfx
cards that dont allow frontbuffer drawing, and copy stuff to the frontbuf
with a glFinish() call.
Needs to be tested on all platforms... report to me when you see problems
like menus not drawing correctly, tooltips not drawing or not disappearing,
etc.
Revision Changes Path
1.8 +1 -3 blender/source/blender/include/BIF_interface.h
1.8 +1 -2 blender/source/blender/include/interface.h
1.13 +3 -3 blender/source/blender/python/api2_2x/Draw.c
1.19 +82 -59 blender/source/blender/src/interface.c
More information about the Bf-blender-cvs
mailing list