Render: Incremental steps to move callbacks to base class methods #111047

Merged
Sergey Sharybin merged 10 commits from Sergey/blender:render_result into main 2023-08-14 11:18:35 +02:00

Moving forward with making it as easy as possible to have render pipeline to
point to a base class of Render, making it more flexible and easy to operate
in the same way for the final and viewport render.

Additionally, it allows moving towards direction when areas like baking will
sub-class the Render to change its behavior as opposite of the current approach
of doing customization via callbacks.

Ref #108618

Moving forward with making it as easy as possible to have render pipeline to point to a base class of Render, making it more flexible and easy to operate in the same way for the final and viewport render. Additionally, it allows moving towards direction when areas like baking will sub-class the Render to change its behavior as opposite of the current approach of doing customization via callbacks. Ref #108618
Sergey Sharybin added the
Interest
Render & Cycles
label 2023-08-11 14:05:49 +02:00
Sergey Sharybin added 10 commits 2023-08-11 14:06:02 +02:00
90e16be9d2 Cleanup: Add _cb suffix to the callbacks stored in Render
Should be no functional changes.

Preparing for introduction of member function which are
available in the base class.
7b23ef8a4c Refactor: Make draw_lock a base render method
Also semantically separate draw_lock and draw_unlock, as it
is more clear than a single method with a boolean argument.

Should be no functional changes.
7e192dfdbf Refactor: Make progress a base render method
Should be no functional changes.
buildbot/vexp-code-patch-coordinator Build done. Details
1251cd174f
Refactor: Make display_init a base render method
Should be no functional changes.
Author
Owner

@blender-bot build

@blender-bot build
Sergey Sharybin requested review from Brecht Van Lommel 2023-08-11 14:36:29 +02:00
Brecht Van Lommel approved these changes 2023-08-11 17:36:14 +02:00
Sergey Sharybin merged commit 9094a3a9ab into main 2023-08-14 11:18:35 +02:00
Sergey Sharybin deleted branch render_result 2023-08-14 11:18:36 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#111047
No description provided.