summaryrefslogtreecommitdiffstats
path: root/src/opengl/util/brush_painter.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/util/brush_painter.glsl')
-rw-r--r--src/opengl/util/brush_painter.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/opengl/util/brush_painter.glsl b/src/opengl/util/brush_painter.glsl
new file mode 100644
index 0000000000..6c4acdf924
--- /dev/null
+++ b/src/opengl/util/brush_painter.glsl
@@ -0,0 +1,7 @@
+// fast brush painter for composition modes which can be implemented with blendfuncs
+// no mask, used for fast filling of aliased primitives (or multisampled)
+
+void main()
+{
+ gl_FragColor = brush();
+}