diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 16:37:46 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 16:37:46 +0300 |
commit | a1b8c0bca2a112a451e448accf731c6f6bb30b75 (patch) | |
tree | 5cbd44274a93139d835fb07690db1ebc5ed0664f /source/blender/blenkernel/BKE_depsgraph.h | |
parent | d8f931c9b7db09f969a0a6379782103071e0e9f5 (diff) |
Depsgraph: More type definitions to new depsgraph header
Diffstat (limited to 'source/blender/blenkernel/BKE_depsgraph.h')
-rw-r--r-- | source/blender/blenkernel/BKE_depsgraph.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source/blender/blenkernel/BKE_depsgraph.h b/source/blender/blenkernel/BKE_depsgraph.h index 00de4ca2f82..7da95ef01b7 100644 --- a/source/blender/blenkernel/BKE_depsgraph.h +++ b/source/blender/blenkernel/BKE_depsgraph.h @@ -50,35 +50,6 @@ struct Main; struct Object; struct Scene; -/* Dependency graph evaluation context - * - * This structure stores all the local dependency graph data, - * which is needed for it's evaluation, - */ -typedef struct EvaluationContext { - int mode; /* evaluation mode */ - float ctime; /* evaluation time */ -} EvaluationContext; - -typedef enum eEvaluationMode { - DAG_EVAL_VIEWPORT = 0, /* evaluate for OpenGL viewport */ - DAG_EVAL_PREVIEW = 1, /* evaluate for render with preview settings */ - DAG_EVAL_RENDER = 2, /* evaluate for render purposes */ -} eEvaluationMode; - -/* DagNode->eval_flags */ -enum { - /* Regardless to curve->path animation flag path is to be evaluated anyway, - * to meet dependencies with such a things as curve modifier and other guys - * who're using curve deform, where_on_path and so. - */ - DAG_EVAL_NEED_CURVE_PATH = 1, - /* Scene evaluation would need to have object's data on CPU, - * meaning no GPU shortcuts is allowed. - */ - DAG_EVAL_NEED_CPU = 2, -}; - /* Global initialization/deinitialization */ void DAG_init(void); void DAG_exit(void); |