William Leeson leesonw
  • Joined on 2021-06-09
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-14 10:56:51 +02:00
bbbf76c4db GeometrySizes and AttributeSizes are stored in Scene
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-14 10:23:20 +02:00
99f6183d84 Merge branch 'upstream_main' into geometry_update
29396f6227 Remove unused data elements.
26dc9f90d2 Fix: Metal null buffer initialization
2745cacd95 Fix #106704: Resolve flashing Metal viewport
dc1b36f288 Cleanup: correct naming of struct member comments
Compare 25 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-14 10:00:16 +02:00
d6ed0798ea Merge branch 'upstream_main' into master-cluster
26dc9f90d2 Fix: Metal null buffer initialization
2745cacd95 Fix #106704: Resolve flashing Metal viewport
dc1b36f288 Cleanup: correct naming of struct member comments
26aa1b1367 Cleanup: correct doc-string & naming for BMUVOffsets access function
Compare 24 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-13 16:25:18 +02:00
63bb671388 Restore cancel checks
4ba4f7bf65 Remove commented out code
b1fa18f6f8 Restore const methods and clean up code.
Compare 3 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-13 16:20:48 +02:00
5c9b27b374 Switch to use Cycles CUDA error checking.
William Leeson commented on pull request blender/blender#105403 2023-04-13 15:57:32 +02:00
Refactor geometry update for better parallelization and upload performance

I removed the camelCase function names.

William Leeson commented on pull request blender/blender#105403 2023-04-13 15:57:32 +02:00
Refactor geometry update for better parallelization and upload performance

I split this into geometry.cpp, geometry_mesh.cpp, geometry_attributes.cpp and geometry_bvh.cpp

William Leeson commented on pull request blender/blender#105403 2023-04-13 15:57:32 +02:00
Refactor geometry update for better parallelization and upload performance

Removed as it was an old comment

William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-13 15:37:27 +02:00
364fd70775 Merge branch 'upstream_main' into master-cluster
7e764ec692 GPU: Texture: Expose depth dimension extent
aa6e95281f Add support for OpenPGL 0.5.0
c26083b6be Fix warning in the STL code
e5d50b1787 Fix Cycles unknown passes logged when build with Cycles debug
Compare 56 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-13 15:37:13 +02:00
d8dcfcb89b Merge branch 'upstream_main' into geometry_update
7e764ec692 GPU: Texture: Expose depth dimension extent
aa6e95281f Add support for OpenPGL 0.5.0
c26083b6be Fix warning in the STL code
e5d50b1787 Fix Cycles unknown passes logged when build with Cycles debug
Compare 56 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-12 12:03:52 +02:00
4920afae04 Merge branch 'geometry_update' of projects.blender.org:leesonw/blender-cluster into geometry_update
fe548c872d Merge branch 'upstream_main' into geometry_update
28a8a3c086 Fix crash on startup under the RIVER Wayland compositor
ddb6928882 GHOST/Wayland: resize the EGL buffer & change surface scale immediately
1f3949f1cf Fix building WITH_CINEON=OFF
Compare 42 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-12 10:37:00 +02:00
dc87706ea5 Merge branch 'upstream_main' into master-cluster
28a8a3c086 Fix crash on startup under the RIVER Wayland compositor
ddb6928882 GHOST/Wayland: resize the EGL buffer & change surface scale immediately
1f3949f1cf Fix building WITH_CINEON=OFF
aa3bdfd76a Image: Use OpenImageIO for loading and saving a variety of image formats
Compare 41 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-11 18:50:33 +02:00
bb2e9cc75f FIX: Size needs to be explicit as default params have been removed.
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-11 16:57:39 +02:00
66a6a7a0af Clean up code
William Leeson commented on pull request blender/blender#105403 2023-04-11 15:43:20 +02:00
Refactor geometry update for better parallelization and upload performance

I'll see what I can do. It is this way because in the original implementation the device_memory is not always exactly the same size (sometimes it is bigger) so we need a place to track the actual size of upload otherwise more memory is uploaded that needed.

William Leeson commented on pull request blender/blender#105403 2023-04-11 15:43:19 +02:00
Refactor geometry update for better parallelization and upload performance

I replaced these with a vector and moved them into a struct.

William Leeson commented on pull request blender/blender#105403 2023-04-11 15:43:19 +02:00
Refactor geometry update for better parallelization and upload performance

I replaced this with the one in utils/thread.h and removed this code.

William Leeson commented on pull request blender/blender#105403 2023-04-11 15:43:19 +02:00
Refactor geometry update for better parallelization and upload performance

I changed this to only happen if updates are on. i.e. I removed the !background condition

William Leeson commented on pull request blender/blender#105403 2023-04-11 15:43:18 +02:00
Refactor geometry update for better parallelization and upload performance

I changed this to check_cancel_update.