diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-11-05 15:25:00 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-05 15:25:00 +0300 |
commit | 32c90d2d7c96225f3271fc5e9bc64f7ad81b886f (patch) | |
tree | 097c65e372b2922c3288ae70143df8c8844bb688 /.gitmodules | |
parent | d7f4fdf845238f551b3c6055aa70926a41d2a7f6 (diff) |
Cleanup: Split image engine into ImageEngine, SpaceAccessor and DrawingMode.
Image engine is used to draw an image into a space. The current
structure wasn't clear and couldn't be easilly extended. This refactor
spliced the image draw engine into 3 main components.
- Space accessors: contains an interface to communicate with space data
(Image editor, UV Editor, Node Editor) in a common way. This reduced
the branching in the code base.
- DrawingMode: contains an interface to the used tactic to draw an image
inside the space framebuffer. Currently only one mode is implemented;
in the future there could be a separate drawing mode for huge images.
- ImageEngine: the core that connects the draw manager with the space
data and drawing mode.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions