Fix part #33935: Texture painting slow down with mouse, but not with tablet
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Feb 2013 08:18:44 +0000 (08:18 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Feb 2013 08:18:44 +0000 (08:18 +0000)
commitbc5df753aaaf116520d15df0aa53a054e6b1606a
treed21ede8cd1625a2861fd42821aed3e3084338fa6
parent52df65b137ebcebb2b693a905cb4ee49a6d8fbcb
Fix part #33935: Texture painting slow down with mouse, but not with tablet

Issue is solved for painting on byte buffer with default sRGB display enabled.
In this case it is possible to skip any color space transform and just apply
dither if needed.

Still not sure if there's a regression in painting on flaots or not, will
continue investigation.
source/blender/imbuf/intern/colormanagement.c