https://bugs.kde.org/show_bug.cgi?id=415772

--- Comment #20 from Emmet O'Neill <emmetoneill....@gmail.com> ---
Git commit 6c9a7a8d88ea374cf724ac44502c035c76faf9eb by Emmet O'Neill.
Committed on 02/06/2020 at 21:36.
Pushed by emmetoneill into branch 'master'.

Created a shader for drawing brush tool outline.

Made a new GLSL shader for drawing the brush tool's preview outline.
To do so, an adjustment to Krita's render pipeline was made:
On platforms where render to texture (FBO) is supported, the canvas is
now rendered to an intermediate texture which is used as a uniform input
in the outline shader (and possibly other overlays in the future).
Coded with Eoin O'Neill.

A  +10   -0    krita/data/shaders/overlay_inverted.frag
M  +1    -0    krita/data/shaders/shaders.qrc
M  +2    -2    libs/global/kis_algebra_2d.cpp
M  +1    -0    libs/ui/opengl/KisOpenGLModeProber.cpp
M  +5    -0    libs/ui/opengl/KisOpenGLModeProber.h
M  +6    -0    libs/ui/opengl/kis_opengl.cpp
M  +9    -0    libs/ui/opengl/kis_opengl.h
M  +98   -41   libs/ui/opengl/kis_opengl_canvas2.cpp
M  +1    -0    libs/ui/opengl/kis_opengl_canvas2.h
M  +18   -0    libs/ui/opengl/kis_opengl_shader_loader.cpp
M  +1    -0    libs/ui/opengl/kis_opengl_shader_loader.h

https://invent.kde.org/graphics/krita/commit/6c9a7a8d88ea374cf724ac44502c035c76faf9eb

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to