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

--- Comment #26 from Emmet O'Neill <emmetoneill....@gmail.com> ---
Git commit e1b2bd037a408d90c7e505c4dc15514fc3d4151b by Emmet O'Neill.
Committed on 04/06/2020 at 20:52.
Pushed by emmetoneill into branch 'krita/4.3'.

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/e1b2bd037a408d90c7e505c4dc15514fc3d4151b

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

Reply via email to