https://bugs.kde.org/show_bug.cgi?id=373481
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri |ta/ff43d055f07e84331e4f3f1f |ta/4e340351ddc02cdc0a50b34a |0a5d21feac49d022 |925d8402a35c28e3 --- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 4e340351ddc02cdc0a50b34a925d8402a35c28e3 by Dmitry Kazakov. Committed on 16/08/2017 at 10:13. Pushed by dkazakov into branch 'master'. Fix a set of OCIO-related bugs 1) Don't reset LUT docker when moving the window over screens. We should actually check if the combo boxes contents is going to change or not in resetOcioConfiguration() and keep them intact if possible for not resetting the user's settings. 2) The display shader should be recompiled not when setDisplayFilter() is called, but when filter->updateShader() is called. The point is that quite a lot of filter updates happen without(!) recompiling the shader. And, obviously, the order of calls to updateShader() and setDisplayFilter() is generally undefined, so if we try to recompile it in setDisplayFilter() there might be still outdated version of it. 3) Removed explicit initialization of the display filter in LutDockerDock::setCanvas(). The point is that the correct filter will be correctly initialized later in updateDisplaySettings(). And this extra call made Krita recompute the image 6(!) times when loading any image. That can take ages on complex images like miloor_turntable_002.kra # Conflicts: # plugins/dockers/lut/lutdocker_dock.cpp M +4 -1 libs/ui/canvas/kis_display_filter.h M +38 -25 libs/ui/opengl/kis_opengl_canvas2.cpp M +3 -1 libs/ui/opengl/kis_opengl_canvas2.h M +14 -0 libs/ui/widgets/squeezedcombobox.cpp M +11 -0 libs/ui/widgets/squeezedcombobox.h M +42 -28 plugins/dockers/lut/lutdocker_dock.cpp M +16 -8 plugins/dockers/lut/ocio_display_filter.cpp M +2 -2 plugins/dockers/lut/ocio_display_filter.h https://commits.kde.org/krita/4e340351ddc02cdc0a50b34a925d8402a35c28e3 -- You are receiving this mail because: You are watching all bug changes.