diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-31 14:42:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-31 14:43:00 +0300 |
commit | f56a9fbad528c7aebce23f065842aa71450c75eb (patch) | |
tree | 6100807916beeb9c350ae900ebfc5b4479889f90 /source/creator | |
parent | 9b4e56c091f0df255cc09607061d130847a5f438 (diff) |
Depsgraph: Remove the "disable-copy-on-write" option completely
After discussion with Sergey and Dalai, we have decided to remove
this option completely. We're getting to the point where it is almost
impossible to really use 2.8 without COW, and keeping the old option
running ends up diverting dev resources away towards tracking down
and fixing problems with a parallel system that will be going away.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator_args.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 95565b034e9..6973f500f84 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -586,9 +586,8 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo BLI_argsPrintArgDoc(ba, "--"); - printf("\n"); - printf("Experimental Features:\n"); - BLI_argsPrintArgDoc(ba, "--disable-copy-on-write"); + //printf("\n"); + //printf("Experimental Features:\n"); /* Other options _must_ be last (anything not handled will show here) */ printf("\n"); @@ -1289,16 +1288,6 @@ static int arg_handle_threads_set(int argc, const char **argv, void *UNUSED(data } } -static const char arg_handle_use_copy_on_write_doc[] = -"\n\tUse new dependency graph" -; -static int arg_handle_use_copy_on_write(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) -{ - printf("Disabling copy on write. Only use for testing whether something else is at fault\n"); - DEG_depsgraph_disable_copy_on_write(); - return 0; -} - static const char arg_handle_verbosity_set_doc[] = "<verbose>\n" "\tSet logging verbosity level." @@ -1896,8 +1885,6 @@ void main_args_setup(bContext *C, bArgs *ba) BLI_argsAdd(ba, 1, NULL, "--debug-gpu-shaders", CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_SHADERS); - BLI_argsAdd(ba, 1, NULL, "--disable-copy-on-write", CB(arg_handle_use_copy_on_write), NULL); - BLI_argsAdd(ba, 1, NULL, "--verbose", CB(arg_handle_verbosity_set), NULL); BLI_argsAdd(ba, 1, NULL, "--factory-startup", CB(arg_handle_factory_startup_set), NULL); |