diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 02:45:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 02:45:51 +0300 |
commit | 87bbb2d827064a4fd59ffc77cc2dcbc31f02ce4f (patch) | |
tree | 5d9ddb0e6859850825de07d18475797957d1a969 /source/blender/makesdna | |
parent | 873f2c71252da872f3fd1d9aa2140e3067ba6890 (diff) |
WM Draw Methods now has a new option Automatic (default). This will
set the draw method to triple buffer or overlap depending on the
configuration. Ideally I could get all cases working well with triple
buffer but it's hard in practice. At the moment there are two cases
that use overlap instead:
* opensource ATI drives on linux
* windows software renderer
Also added a utility function to check GPU device/os/driver.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 40de15ac012..66812efdf3f 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -485,6 +485,7 @@ extern UserDef U; /* from blenkernel blender.c */ #define USER_DRAW_TRIPLE 0 #define USER_DRAW_OVERLAP 1 #define USER_DRAW_FULL 2 +#define USER_DRAW_AUTOMATIC 3 /* tw_flag (transform widget) */ |