Page MenuHome

Compositor: Full frame Image node
ClosedPublic

Authored by Manuel Castilla (manzanilla) on Jun 9 2021, 11:42 PM.

Details

Summary

Adds full frame implementation to Image node operations.
Mostly refactored into buffer utility methods for reuse in other
operations.
No functional changes.
1.8x faster than tiled fallback.

Diff Detail

Repository
rB Blender
Branch
cmp-node-image (branched from master)
Build Status
Buildable 15256
Build 15256: arc lint + arc unit

Event Timeline

Manuel Castilla (manzanilla) requested review of this revision.Jun 9 2021, 11:42 PM
Manuel Castilla (manzanilla) created this revision.
  • Add missing consts
  • Merge branch 'master' into cmp-node-image
Manuel Castilla (manzanilla) retitled this revision from [WIP]Compositor: Full frame image node to Compositor: Full frame image node.Jun 12 2021, 8:00 PM
Manuel Castilla (manzanilla) retitled this revision from Compositor: Full frame image node to Compositor: Full frame Image node.Jun 13 2021, 11:14 AM
Manuel Castilla (manzanilla) edited the summary of this revision. (Show Details)
Jeroen Bakker (jbakker) requested changes to this revision.Jun 15 2021, 2:43 PM
Jeroen Bakker (jbakker) added inline comments.
source/blender/compositor/intern/COM_MemoryBuffer.h
112

owns_data_ is shorter.

source/blender/compositor/intern/COM_buffer_util.h
42 ↗(On Diff #38239)

Would rather see these as methods on the MemoryBuffer. There are more discoverable there and names can be shortened.
dst.copy_from(src, area)
dst.fill(area, value)

This revision now requires changes to proceed.Jun 15 2021, 2:43 PM
  • Move utility methods to MemoryBuffer
  • Rename rect to area
  • Rename is_buffer_data_owned_ to owns_data_
  • Merge branch 'master' into cmp-node-image
This revision is now accepted and ready to land.Jun 21 2021, 10:25 AM
This revision was automatically updated to reflect the committed changes.