Refactor: Use ImBuf to store passes in RenderResult #109788

Merged
Sergey Sharybin merged 2 commits from Sergey/blender:render_result into main 2023-07-10 16:33:40 +02:00

2 Commits

Author SHA1 Message Date
Sergey Sharybin 2917e8cc78 Merge branch 'main' into render_result
buildbot/vexp-code-patch-coordinator Build done. Details
2023-07-10 14:47:45 +02:00
Sergey Sharybin 461797fcae Refactor: Use ImBuf to store passes in RenderResult
buildbot/vexp-code-patch-coordinator Build done. Details
Doing so avoids having duplicated logic for working with pixel
data which is being passed throughout the render pipeline.

Notable changes:

- ImBug can now store GPU texture.
  This is not very finished part of the API, which will be
  worked further to support tiling for very-high-res images.

- Implicit sharing is removed from the image buffer, as it is
  no longer needed.

There should be no functional changes on user level with this
change.

Ref #108618
2023-07-06 16:43:28 +02:00