Changeset View
Changeset View
Standalone View
Standalone View
src/blender/blender_sync.cpp
| Context not available. | |||||
| #include "render/shader.h" | #include "render/shader.h" | ||||
| #include "device/device.h" | #include "device/device.h" | ||||
| #include "device/device_debug.h" | |||||
| #include "blender/blender_device.h" | #include "blender/blender_device.h" | ||||
| #include "blender/blender_session.h" | #include "blender/blender_session.h" | ||||
| #include "blender/blender_sync.h" | #include "blender/blender_sync.h" | ||||
| #include "blender/blender_util.h" | #include "blender/blender_util.h" | ||||
| #include "util/util_debug.h" | |||||
| #include "util/util_foreach.h" | #include "util/util_foreach.h" | ||||
| #include "util/util_hash.h" | #include "util/util_hash.h" | ||||
| #include "util/util_opengl.h" | #include "util/util_opengl.h" | ||||
| Context not available. | |||||
| else if (shadingsystem == 1) | else if (shadingsystem == 1) | ||||
| params.shadingsystem = SHADINGSYSTEM_OSL; | params.shadingsystem = SHADINGSYSTEM_OSL; | ||||
| if (background || DebugFlags().viewport_static_bvh) | if (background || DeviceDebugFlags().viewport_static_bvh) | ||||
| params.bvh_type = SceneParams::BVH_STATIC; | params.bvh_type = SceneParams::BVH_STATIC; | ||||
| else | else | ||||
| params.bvh_type = SceneParams::BVH_DYNAMIC; | params.bvh_type = SceneParams::BVH_DYNAMIC; | ||||
| Context not available. | |||||
| params.texture_limit = 0; | params.texture_limit = 0; | ||||
| } | } | ||||
| params.bvh_layout = DebugFlags().cpu.bvh_layout; | params.bvh_layout = DeviceDebugFlags().cpu.bvh_layout; | ||||
| params.background = background; | params.background = background; | ||||
| Context not available. | |||||