Blender Git Commit Log
Git Commits -> Revision 52ec962
Revision 52ec962 by Julian Eisel (master) December 1, 2016, 16:19 (GMT) |
UI: Previews for screen layouts Basically all this does is drawing layout previews into the opened layout search menu. https://youtu.be/RHYWtZP7pyA The previews are drawn using offscreen rendering so they can't use multi-threading (yet!). But that shouldn't be an issue since only a handful of previews are drawn at the same time. Normally we only need to redraw the preview if a screen layout was changed. Would be nice if PreviewImage could store if it supports threaded rendering. Previews are saved in files, might be useful if you later want to support appending layouts. Adds a new file screen_draw.c. |
Commit Details:
Full Hash: 52ec96251692a5e5a8f452eecb9e52e9ee7465c8
Parent Commit: 4ff4dbc
Lines Changed: +189, -13
1 Added Path:
/source/blender/editors/screen/screen_draw.c (+111, -0) (View)
15 Modified Paths:
/release/scripts/startup/bl_ui/space_info.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/icons.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+19, -4) (Diff)
/source/blender/editors/interface/interface_regions.c (+4, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+18, -5) (Diff)
/source/blender/editors/render/render_preview.c (+7, -0) (Diff)
/source/blender/editors/screen/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+6, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+19, -4) (Diff)
/source/blender/editors/interface/interface_regions.c (+4, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+18, -5) (Diff)
/source/blender/editors/render/render_preview.c (+7, -0) (Diff)
/source/blender/editors/screen/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+6, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+3, -0) (Diff)