blender/source/blender
Sergey Sharybin f5c9f2c253 Cycles: correction to how device of lists is exposed to blender
compute_device_list is using static vector of device information which
had pointers (identifier and name) to values from device information
structures. That structures are also stored in static vector and being
refreshed every 5 seconds.

The issue is, as soon as device information is being updated, pointers
in vector from compute_device_list became incorrect.

Seems it was the reason of issues with sudden switching from CUDA to
OpenCL on my desktop and from CUDA to CPU on my laptop, It was also
seems to be making persistent images behaves instable.

Made it so device identifier and name are copied from device info
to structures used by RNA (CCLDeviceInfo).

Alternative could be avoid cacheing CCLDeviceInfo and always use actual
list of device information by RNA. It shouldn't be so much slow.
2012-11-10 08:37:02 +00:00
..
avi style cleanup: indentation 2012-11-09 09:33:28 +00:00
blenfont code cleanup: double promotion warnings, also allow cmake to build SDL without audaspace. 2012-11-09 16:15:00 +00:00
blenkernel Sequencer: disabled sequencer recursion and corrected rendered preview mode 2012-11-09 16:49:17 +00:00
blenlib style cleanup: indentation 2012-11-09 09:33:28 +00:00
blenloader simple optimization for library loading, just reduce pointer indirection and use unsigned int's, gives up to 2x overall speedup for loading some libraries. 2012-11-10 02:38:16 +00:00
bmesh Bevel: use library plane/line intersection instead of custom one. 2012-11-09 16:00:30 +00:00
collada all remove functions now invalidate the RNA objects passed, to help script authors to avoid bugs with accessing removed data. 2012-11-02 09:41:26 +00:00
compositor Fixes for movie distortion node 2012-11-10 04:59:32 +00:00
datatoc remove unneeded string in datatoc.c and correct some of the context types in our documentation. 2012-11-03 09:14:06 +00:00
editors Fix part of #31080: missing UV editor redraw after edge slide with correct UVs. 2012-11-10 03:05:08 +00:00
gpu Fixes related to #33087: 2012-11-06 19:58:48 +00:00
ikplugin rename api functions... 2012-10-23 13:28:22 +00:00
imbuf fix for crashes running the BGE without colorspace enabled. 2012-11-09 23:59:16 +00:00
makesdna Fix part of #33132: render resoltuion refresh issues after persistent images 2012-11-09 23:54:58 +00:00
makesrna Cycles: correction to how device of lists is exposed to blender 2012-11-10 08:37:02 +00:00
modifiers bmesh refactor - rename some of the BM_****_share_****_count() functions to BM_***_share_check() 2012-11-09 14:52:05 +00:00
nodes Cycles: add strength input for normal map node. 2012-11-08 16:35:20 +00:00
opencl code cleanup: remove $Id's that crept back in, also osl style edits 2012-10-23 11:47:23 +00:00
python style cleanup: indentation 2012-11-09 09:33:28 +00:00
quicktime OSX: some more version target cleanups and corrections 2012-11-07 10:43:31 +00:00
render Fix for wrong usage of RE_engine_free 2012-11-10 05:03:45 +00:00
windowmanager Temporarily change: 2012-11-09 10:41:47 +00:00
CMakeLists.txt add option to build without blenders default avi codec. 2012-10-08 02:51:42 +00:00
SConscript Scons: 2012-06-30 22:44:36 +00:00