diff options
author | Ton Roosendaal <ton@blender.org> | 2003-07-07 19:50:44 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-07-07 19:50:44 +0400 |
commit | b4b10dfff879126e47016318cf9eaa9bc2e1d59c (patch) | |
tree | d2aee172a89e826289a9933c82b011956839c153 /source/blender/include/BIF_interface.h | |
parent | 828347f698740f318a2d3438cc573e378a3431aa (diff) |
* 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.
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r-- | source/blender/include/BIF_interface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 1ca049bb8ce..8754a7a08d9 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -40,8 +40,6 @@ struct ScrArea; typedef struct uiBut uiBut; typedef struct uiBlock uiBlock; -extern int UIfrontbuf; - void uiEmboss(float x1, float y1, float x2, float y2, int sel); void uiDrawMenuBox(float minx, float miny, float maxx, float maxy); void uiTextBoundsBlock(uiBlock *block, int addval); |