diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-10-02 14:15:37 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-10-02 14:15:37 +0300 |
commit | 386ba094988fc793f8e060d15438566e5e2d2cae (patch) | |
tree | 4cbde50b5d1d7a45c89ee99c29dd1b86d1d97b59 /intern/cycles/util/util_debug.h | |
parent | 6129e20cec4639aebf335ff13b2ba0c59670662d (diff) | |
parent | f97a64aa9b7b384f8221a1ef4f2eef9cde1238db (diff) |
Merge branch 'master' into temp-gpencil-drw-engine
Conflicts:
source/blender/draw/engines/gpencil/gpencil_engine.c
Diffstat (limited to 'intern/cycles/util/util_debug.h')
-rw-r--r-- | intern/cycles/util/util_debug.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/intern/cycles/util/util_debug.h b/intern/cycles/util/util_debug.h index 83d9e96ffa5..cf6b442b878 100644 --- a/intern/cycles/util/util_debug.h +++ b/intern/cycles/util/util_debug.h @@ -33,6 +33,8 @@ class DebugFlags { /* Use static BVH in viewport, to match final render exactly. */ bool viewport_static_bvh; + bool running_inside_blender; + /* Descriptor of CPU feature-set to be used. */ struct CPU { CPU(); @@ -97,6 +99,17 @@ class DebugFlags { bool split_kernel; }; + /* Descriptor of OptiX feature-set to be used. */ + struct OptiX { + OptiX(); + + /* Reset flags to their defaults. */ + void reset(); + + /* Number of CUDA streams to launch kernels concurrently from. */ + int cuda_streams; + }; + /* Descriptor of OpenCL feature-set to be used. */ struct OpenCL { OpenCL(); @@ -163,6 +176,9 @@ class DebugFlags { /* Requested CUDA flags. */ CUDA cuda; + /* Requested OptiX flags. */ + OptiX optix; + /* Requested OpenCL flags. */ OpenCL opencl; |