Revision 21fcc72 by Ray molenkamp April 1, 2018, 21:17 (GMT) |
imbuf: revert some of the changes of rBb6ba3c682dd6615e760905572a5bcd69bb46371f since they broke the build. |
Revision b29ecbf by Sergej Reich April 1, 2018, 17:50 (GMT) |
Fix compiling with Alembic Still need G.main |
Revision c0eab1f by Campbell Barton April 1, 2018, 17:33 (GMT) |
Workaround for undo steps not storing object modes |
Revision 557db58 by Campbell Barton April 1, 2018, 09:14 (GMT) |
Merge branch 'master' into blender2.8 |
Revision b65ea51 by Campbell Barton April 1, 2018, 09:03 (GMT) |
Merge branch 'master' into blender2.8 - Undo that changes modes currently asserts, since undo is now screen data. Most likely we will change how object mode and workspaces work since it's not practical/maintainable at the moment. - Removed view_layer from particle settings (wasn't needed and complicated undo). |
Revision f48895f by Campbell Barton April 1, 2018, 08:23 (GMT) |
Revision 473f17b by Campbell Barton April 1, 2018, 05:41 (GMT) |
Resolve unsigned comparison error w/ MSVC |
Revision b6ba3c6 by Campbell Barton April 1, 2018, 05:24 (GMT) |
Cleanup: remove global header |
Revision 951d89b by Campbell Barton March 31, 2018, 21:51 (GMT) |
Cleanup: warning |
Revision d18116a by Campbell Barton March 31, 2018, 21:47 (GMT) |
Removed by accident in last commit |
Revision 651b8fb by Campbell Barton March 31, 2018, 18:40 (GMT) |
Undo: unified undo system w/ linear history - Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113 |
Revision 916c91b by Clément Foucault March 31, 2018, 18:33 (GMT) |
BLF: Remove debug print "this is not the commit you're looking for" |
Revision 4ae7235 by Clément Foucault March 31, 2018, 18:26 (GMT) |
BLF: Fix Vertical/Horizontal layout switch. This was breaking the first drawcall after a simple/non-simple shader switch. |
Revision c77870f by Clément Foucault March 31, 2018, 17:43 (GMT) |
UI: Perf: Batch icons drawcalls together. For this we use a new shader that gets it's data from a uniform array. Vertex shader position the vertices using these data. Using glUniform is way faster than using imm for that matter. Like BLF rendering, UI icons are always (as far as I know) non occluded and displayed above everything else. They also does not overlap with texts so they can be batched at the same time. |
Revision 4dc0c92 by Clément Foucault March 31, 2018, 17:32 (GMT) |
BLF: Perf: Do not call FT_Set_Char_Size every time. Using FT_Set_Char_Size is slow. Calling it only when needed is more clever. |
Revision f9691ba by Clément Foucault March 31, 2018, 17:32 (GMT) |
BLF: Perf: Add a kerning cache table for ascii chars. This adds less than a megabyte of mem usage. FT_Get_Kerning was the 2nd hotspot when profilling. This commit completly remove this cost. One concern though: I don't know if the kerning data is constant for every sizes but it seems to be the case. I tested different fonts at different dpi scalling and saw no differences. |
Revision 91d0825 by Campbell Barton March 31, 2018, 17:25 (GMT) |
BLI_sort_utils: add pointer sorting callback Also rename Pointer -> Ptr |
Revision ae3a1da by Campbell Barton March 31, 2018, 13:43 (GMT) |
Logging: fix own error with formatting |
Revision b237a1c by Campbell Barton March 31, 2018, 13:33 (GMT) |
Use int instead of bool Causes issues when including in some files. |
Revision db8e7f9 by Campbell Barton March 31, 2018, 13:29 (GMT) |
Logging: add argument --log-show-basename Optionally strips leading path from filenames when logging. |
|