This moves Session::get_requested_device_features,
Session::load_kernels, and Session::update_scene out of Session
and into Scene, as mentioned in D8544.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- cycles_session_refactor (branched from master)
- Build Status
Buildable 9557 Build 9557: arc lint + arc unit
Event Timeline
| intern/cycles/render/scene.cpp | ||
|---|---|---|
| 406 | @Sergey Sharybin (sergey), I guess this comment is referring to what I did in this patch, so it can be removed? | |
| intern/cycles/render/scene.cpp | ||
|---|---|---|
| 406 | That sounds right. | |
| 408 | requested_features.experimental doesn't do anything in the device anymore, so can be removed entirely. | |
| 448 | Replace by if (film->denoising_data_pass) { | |
| 466–486 | This camera and AA samples update can remain in the session. At some later point this can go through the API and get automatic update tagging. | |
| 521 | This can be a return value of the function somehow, so that session reset remains in the session. | |
| intern/cycles/render/scene.h | ||
| 280–303 | Session and SessionParams should not be passed to the scene, the dependency should be one way. | |