Blender Git Commit Log

Git Commits -> Revision 0d86c3f

Revision 0d86c3f by Sergey Sharybin (master)
April 12, 2013, 10:52 (GMT)
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

Commit Details:

Full Hash: 0d86c3f84c22aadad8719492ca27a7c9e88d2996
SVN Revision: 55983
Parent Commit: 677a96e
Lines Changed: +35, -27

5 Modified Paths:

/release/scripts/startup/bl_ui/space_userpref.py (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -7) (Diff)
/source/blender/editors/screen/glutil.c (+11, -10) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+7, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+14, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021