Break up geometry.cpp and scene.cpp file into smaller pieces #107079

Merged
William Leeson merged 5 commits from leesonw/blender-cluster:main_reorg into main 2023-04-20 12:26:14 +02:00
Member

Scene.cpp and Geometry.cpp are large file it can be broken up into smaller easier to handle files. The change has been broken out from #105403 to make understanding the changes easier.

geometry.cpp is broken up into:

  1. geometry.cpp
  2. geometry_attributes.cpp
  3. geometry_bvh.cpp
  4. geometry_mesh.cpp

scene.cpp is broken into:

  1. scene.cpp
  2. devicescene.h
  3. devicescene.cpp
Scene.cpp and Geometry.cpp are large file it can be broken up into smaller easier to handle files. The change has been broken out from #105403 to make understanding the changes easier. geometry.cpp is broken up into: 1. geometry.cpp 2. geometry_attributes.cpp 3. geometry_bvh.cpp 4. geometry_mesh.cpp scene.cpp is broken into: 1. scene.cpp 2. devicescene.h 2. devicescene.cpp
William Leeson added 2 commits 2023-04-18 15:16:51 +02:00
This breaks up geometry.cpp into:
1.  geometry_attributes.cpp
2. geometry_bvh.cpp
3. geometry_mesh.cpp
Moves DeviceScene into devicescene.cpp and devicescene.h
William Leeson changed title from WIP:Break up geometry.cpp and scene.cpp file into smaller pieces to Break up geometry.cpp and scene.cpp file into smaller pieces 2023-04-18 15:27:52 +02:00
William Leeson requested review from Brecht Van Lommel 2023-04-18 15:28:16 +02:00
William Leeson added 1 commit 2023-04-18 15:30:00 +02:00
Reorder include and remove redundant forward declaration.
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
be78f144be

@blender-bot build

@blender-bot build
Brecht Van Lommel approved these changes 2023-04-18 15:33:53 +02:00
Brecht Van Lommel left a comment
Owner

Looks good to me, assuming the build passes.

Looks good to me, assuming the build passes.
William Leeson added 1 commit 2023-04-19 15:03:48 +02:00
William Leeson added 1 commit 2023-04-20 10:55:11 +02:00
William Leeson merged commit 475f9a3e23 into main 2023-04-20 12:26:14 +02:00
William Leeson deleted branch main_reorg 2023-04-20 12:26:15 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#107079
No description provided.