|
Currently supports only two modes:
- Show alpha channel of the mask
- Multiply footage by the mask, which will give you final-looking combined image.
Uses task scheduler for threading to go task-based threading to be more friendly thread utilization.
TODOs:
- Currently rasterization happens on every redraw, need to cache rasterized mask somewhere to make redraw more realtime. But where to store this cache and how to invalidate it on mask changes?
- Small one: mask shall be displayed below 2D cursor
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+749 lines, -8 lines) |
Patch |
 |
|
release/scripts/startup/bl_ui/properties_mask_common.py
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/blenlib/BLI_task.h
|
View
|
1
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/blenlib/BLI_threads.h
|
View
|
1
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/blenlib/CMakeLists.txt
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/blenlib/intern/task.c
|
View
|
1
|
1 chunk |
+414 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/blenlib/intern/threads.c
|
View
|
1
|
5 chunks |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/editors/include/ED_mask.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
source/blender/editors/mask/mask_draw.c
|
View
|
1
|
4 chunks |
+117 lines, -1 line |
0 comments
|
Download
|
 |
|
source/blender/editors/screen/glutil.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
source/blender/editors/space_clip/space_clip.c
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
|
source/blender/editors/space_image/space_image.c
|
View
|
1
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
|
source/blender/editors/space_sequencer/sequencer_draw.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
source/blender/makesdna/DNA_mask_types.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
|
source/blender/makesdna/DNA_space_types.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
|
source/blender/makesrna/intern/rna_space.c
|
View
|
1
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3
|