diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-12 14:52:47 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-12 14:52:47 +0400 |
commit | 0d86c3f84c22aadad8719492ca27a7c9e88d2996 (patch) | |
tree | 6832444b03813a3c5f7f43544b37b1575ea1fe3e /release/scripts | |
parent | 677a96e189289b82e28f3ba391061cb610bebc0a (diff) |
Image draw method option
This option replaces previously added GPU limit
option, which became tricky to follow after GLSL
display space conversion.
There're 4 modes available:
- AUTO which will try to guess which mode is
best to use.
Currently It'll try using GLSL and if it fails,
will fallback to 2D textures.
Probably it'll make sense checking on whether
2D textures works well but currently such behavior
shall be sufficient.
Later we could make this method smarter (for example
don't try to use GLSL on certain GPU or so).
- GLSL will currently behave the same way as AUTO,
but it is intended to always try using GLSL
(unless it can not be used because of existing
limitation of dither and RGB curves).
- 2D Textures will use CPU-based color space conversion
and use OGL 2D Texture to display the image.
Image will be displayed in tiles, so there shall be
no big GPU memory consumption.
- DrawPixels will straightly fallback to glDrawPixels
without trying to use any fancy GPU stuff.
Hopefully this will also fix
#34943: Blender crashes when resizing the Compositing Screen Window
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 8755e37c68d..944df961306 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -482,8 +482,8 @@ class USERPREF_PT_system(Panel): col.separator() - col.label(text="Images:") - col.prop(system, "image_gpubuffer_limit") + col.label(text="Images Draw Method:") + col.prop(system, "image_draw_method", text="") col.separator() col.separator() |