http://www.miikahweb.com/feed.php MiikaHweb - Blender Tmp-batch-cache-cleanup Branch http://www.miikahweb.com/ MiikaHweb - Blender Tmp-batch-cache-cleanup Branch fi Thu, 29 Jul 21 02:44:54 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[a791035]: Mesh Batch Cache: Move index buffer range hack to be more local...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a7910356b00e23cb41a7501f666ee129d4a95f29 a791035
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Move index buffer range hack to be more local

----------------------------------------
3 Paths Changed]]>
Sun, 28 Jul 2019 14:29:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a7910356b00e23cb41a7501f666ee129d4a95f29Clément Foucault
<![CDATA[[b65b93f]: Mesh Batch Cache: Refactor: Again]]> http://www.miikahweb.com/en/blender/git-logs/commit/b65b93f5d49283a02aebed7b60ce76c0ee4cba85 b65b93f
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor: Again

- Use Extract naming convention to name extract functions that fill vbo/ibo
- Separate extract functions into separate file (for clarity)
- Make simpler iter loops to avoid as much overhead as possible
- Separate loose elements looping functions to avoid iteration complexity
(unfortunately this makes the code more verbose).
- Some iter functions are threadable and tagged as such.
- Add multithreaded iteration for extract functions that supports them.

----------------------------------------
6 Paths Changed]]>
Sun, 28 Jul 2019 13:23:41 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b65b93f5d49283a02aebed7b60ce76c0ee4cba85Clément Foucault
<![CDATA[[c3002d5]: Mesh Batch Cache: Fix threading issue with element buffer objects...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c3002d51f5255dc8ec03ebc60a43e1d112b4bcf0 c3002d5
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Fix threading issue with element buffer objects

Some elements indices can be written by multiple thread at once and
since setting an element is only garantee to be atomic for single verts,
we cannot reliably use GPU_indexbuf_set_line_* in this case.

To avoid this, we create another iteration for the problematic IBOs

----------------------------------------
1 Path Changed]]>
Tue, 23 Jul 2019 18:02:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c3002d51f5255dc8ec03ebc60a43e1d112b4bcf0Clément Foucault
<![CDATA[[ef15a45]: GPU: Elements: Put back index tracking in index_buf_set_* functions...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ef15a450372c1d3f1c254c4daa540b6d1dfa1a5b ef15a45
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Elements: Put back index tracking in index_buf_set_* functions

There is no threadsafe way of filling the IBOs. So keep filling them
simple and track used indices length.

----------------------------------------
1 Path Changed]]>
Sun, 28 Jul 2019 13:17:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ef15a450372c1d3f1c254c4daa540b6d1dfa1a5bClément Foucault
<![CDATA[[04a11fa]: GPU: Make small float normal compression functions inlined]]> http://www.miikahweb.com/en/blender/git-logs/commit/04a11fa1ba1f860d4c96f04fb796f0251cfc240c 04a11fa
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Make small float normal compression functions inlined

----------------------------------------
2 Paths Changed]]>
Mon, 22 Jul 2019 16:30:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/04a11fa1ba1f860d4c96f04fb796f0251cfc240cClément Foucault
<![CDATA[[76963a7]: Merge branch 'tmp-batch-cache-cleanup' of git.blender.org:blender...]]> http://www.miikahweb.com/en/blender/git-logs/commit/76963a7f64cb7d6ec5c9ff200ca1ca640735070c 76963a7
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Merge branch 'tmp-batch-cache-cleanup' of git.blender.org:blender into tmp-batch-cache-cleanup

----------------------------------------
0 Paths Changed]]>
Mon, 22 Jul 2019 22:10:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/76963a7f64cb7d6ec5c9ff200ca1ca640735070cClément Foucault
<![CDATA[[a0ec3b7]: Mesh Batch Cache: Fix some threadsafety issue with indices...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a0ec3b7fd761155b5f82b3cfb0f305d6a04d6127 a0ec3b7
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Fix some threadsafety issue with indices buffers

----------------------------------------
2 Paths Changed]]>
Mon, 22 Jul 2019 22:09:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a0ec3b7fd761155b5f82b3cfb0f305d6a04d6127Clément Foucault
<![CDATA[[a58548f]: Mesh Batch Cache: Fix bitmap test for loose verts]]> http://www.miikahweb.com/en/blender/git-logs/commit/a58548f6f7f6dce10f35dcad2fc0a402307768dc a58548f
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Fix bitmap test for loose verts

----------------------------------------
1 Path Changed]]>
Mon, 22 Jul 2019 16:29:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a58548f6f7f6dce10f35dcad2fc0a402307768dcClément Foucault
<![CDATA[[c4b27eb]: Cleanup: Remove Printf]]> http://www.miikahweb.com/en/blender/git-logs/commit/c4b27eb46adfb6176505b2705223b84c17271ed8 c4b27eb
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Cleanup: Remove Printf

----------------------------------------
1 Path Changed]]>
Mon, 22 Jul 2019 22:10:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c4b27eb46adfb6176505b2705223b84c17271ed8Clément Foucault
<![CDATA[[c63e45c]: Mesh Batch Cache: Fix some threadsafety issue with indices...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c63e45c21692ec55ce320a230120e124e3690760 c63e45c
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Fix some threadsafety issue with indices buffers

----------------------------------------
2 Paths Changed]]>
Mon, 22 Jul 2019 22:05:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c63e45c21692ec55ce320a230120e124e3690760Clément Foucault
<![CDATA[[30a68e4]: Mesh Batch Cache: Refactor part 3]]> http://www.miikahweb.com/en/blender/git-logs/commit/30a68e4d58b5838f521ea0dc3dc58ead418bf65e 30a68e4
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor part 3

- Add subrange usage for material triangles
- Add loose edges/verts support for Mesh
- Cleanup eval mesh selection
- Add use_hide support
- Add selection index Vbos
- Add edit data vbo
- Add dummy edgefac vbo

----------------------------------------
1 Path Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/30a68e4d58b5838f521ea0dc3dc58ead418bf65eClément Foucault
<![CDATA[[3c95a0c]: Mesh Batch Cache: Refactor Part 5]]> http://www.miikahweb.com/en/blender/git-logs/commit/3c95a0c1222202e2b282432476c182d7b9d9c8f4 3c95a0c
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor Part 5

- Add Vcol support
- Add UV/Tangent support
- Add Orco support
- Add Paint Line Mask support
- Add Adjacency Lines support
- Add EditUV face/line/point/facedot support
- Add EditUV data flag support
- Add EditUV StretchAngle/Area support
- Add Facedots select index support
- Add Weight support
- Add Mesh Analysis support

----------------------------------------
2 Paths Changed]]>
Fri, 19 Jul 2019 15:19:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3c95a0c1222202e2b282432476c182d7b9d9c8f4Clément Foucault
<![CDATA[[520a7ca]: Mesh Batch Cache: Refactor start]]> http://www.miikahweb.com/en/blender/git-logs/commit/520a7ca2f3821ac9555c33de28f2c92607a5cc04 520a7ca
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor start

- Put placeholders vbos/ibos
- Restructure the buffers cache : One cache for final mesh and one for the
edit mesh cage.

----------------------------------------
3 Paths Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/520a7ca2f3821ac9555c33de28f2c92607a5cc04Clément Foucault
<![CDATA[[6e06b4f]: Mesh Batch Cache: Add debug timer]]> http://www.miikahweb.com/en/blender/git-logs/commit/6e06b4f69306a0100743fecf07bfdca20310d49f 6e06b4f
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Add debug timer

----------------------------------------
1 Path Changed]]>
Mon, 22 Jul 2019 10:48:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6e06b4f69306a0100743fecf07bfdca20310d49fClément Foucault
<![CDATA[[711621c]: Cleanup: Silence warnings]]> http://www.miikahweb.com/en/blender/git-logs/commit/711621cac472ac3d79c4bd070eda39bed6643448 711621c
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Cleanup: Silence warnings

----------------------------------------
1 Path Changed]]>
Sun, 21 Jul 2019 10:01:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/711621cac472ac3d79c4bd070eda39bed6643448Clément Foucault
<![CDATA[[73ca2f7]: Mesh Batch Cache: Refactor part 1]]> http://www.miikahweb.com/en/blender/git-logs/commit/73ca2f702f5ba6cf6d75c9855b7815d3001f673a 73ca2f7
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor part 1

- Start refactoring MeshRenderData and mesh_render_data_create_ex
- Add Iter functions
- Add dummy callbacks
- Add some Extract types (not enabled)

----------------------------------------
3 Paths Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/73ca2f702f5ba6cf6d75c9855b7815d3001f673aClément Foucault
<![CDATA[[7d515f8]: GPU: Add GPUIndexBuf subrange]]> http://www.miikahweb.com/en/blender/git-logs/commit/7d515f8c90c44d1bbadee255eb0f82508898c35a 7d515f8
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Add GPUIndexBuf subrange

This allows to render only a subset of an index buffer.
This is nice as we can render each material surfaces individually and the
whole mesh with the same index buffer.

----------------------------------------
4 Paths Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7d515f8c90c44d1bbadee255eb0f82508898c35aClément Foucault
<![CDATA[[7d5e1f6]: Cleanup: Mesh Batch Cache: Remove old unused code]]> http://www.miikahweb.com/en/blender/git-logs/commit/7d5e1f61bc239af12465c5a87b8f70534d1a89fd 7d5e1f6
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Cleanup: Mesh Batch Cache: Remove old unused code

----------------------------------------
1 Path Changed]]>
Sun, 21 Jul 2019 14:20:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7d5e1f61bc239af12465c5a87b8f70534d1a89fdClément Foucault
<![CDATA[[93f175f]: Mesh Batch Cache: Refactor Part 6]]> http://www.miikahweb.com/en/blender/git-logs/commit/93f175f27920ad6b0eef35c8179fb9e91a6a795f 93f175f
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor Part 6

Add back subdiv facedot correct position.

----------------------------------------
5 Paths Changed]]>
Fri, 19 Jul 2019 15:20:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/93f175f27920ad6b0eef35c8179fb9e91a6a795fClément Foucault
<![CDATA[[a97e5be]: GPU: Add vertex format deinterleaving]]> http://www.miikahweb.com/en/blender/git-logs/commit/a97e5be2aef5a5106c8d27188d1aff8ee575ed72 a97e5be
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Add vertex format deinterleaving

This makes it possible to have each attrib use a contiguous portion of the
vertex buffer, making attribute filling much more easy and fast as this is
how they are store in blender Custom Data layers.

----------------------------------------
4 Paths Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a97e5be2aef5a5106c8d27188d1aff8ee575ed72Clément Foucault
<![CDATA[[ac0a8fb]: Mesh Batch Cache: Refactor: Fix subdiv UV edge highligh in...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ac0a8fbe712a88fd4806b5ed8c8066864b1be8eb ac0a8fb
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor: Fix subdiv UV edge highligh in vert select mode

----------------------------------------
1 Path Changed]]>
Sun, 21 Jul 2019 10:01:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ac0a8fbe712a88fd4806b5ed8c8066864b1be8ebClément Foucault
<![CDATA[[ac0d52e]: Mesh Batch Cache: Refactor part 2]]> http://www.miikahweb.com/en/blender/git-logs/commit/ac0d52ee4f52356142c72a5420a29dfe6452dfa3 ac0d52e
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor part 2

- Add extract_points indices
- Enable tri/line/point extract and pos_nor attrib.

----------------------------------------
1 Path Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ac0d52ee4f52356142c72a5420a29dfe6452dfa3Clément Foucault
<![CDATA[[baa3497]: UVEdit: Support Mesh eval cage selection]]> http://www.miikahweb.com/en/blender/git-logs/commit/baa34974ef74bc11dd8302298e35cf88675247e3 baa3497
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
UVEdit: Support Mesh eval cage selection

- Select Vert / Edge / Face support
- TODO : Rect / Lasso / Circle / Loop

----------------------------------------
4 Paths Changed]]>
Sun, 21 Jul 2019 10:01:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/baa34974ef74bc11dd8302298e35cf88675247e3Clément Foucault
<![CDATA[[c54463b]: Mesh Batch Cache: Speedup: Remove the need for memset in index...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c54463b9b311207885445866ab59cc7a90b1a93e c54463b
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Speedup: Remove the need for memset in index buffer init

Instead of setting the whole IBO to restart index, we only set the restart
indices when we encounter a hidden elem.

----------------------------------------
3 Paths Changed]]>
Sun, 21 Jul 2019 15:24:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c54463b9b311207885445866ab59cc7a90b1a93eClément Foucault
<![CDATA[[e02e140]: GPU: Vertex Format: Bump max name per attribute to 6]]> http://www.miikahweb.com/en/blender/git-logs/commit/e02e140ef1f43c92d2dfe44ecf0eda4b737a3fad e02e140
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Vertex Format: Bump max name per attribute to 6

This is to add pos as an alias to UVs.

----------------------------------------
1 Path Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e02e140ef1f43c92d2dfe44ecf0eda4b737a3fadClément Foucault
<![CDATA[[e27a478]: Cleanup: Mesh Batch Cache: Rewrite iterations to prepare for...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e27a478a52bf1b421bf687d8fee3e24e37d8386b e27a478
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Cleanup: Mesh Batch Cache: Rewrite iterations to prepare for multithreading

----------------------------------------
1 Path Changed]]>
Sun, 21 Jul 2019 19:27:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e27a478a52bf1b421bf687d8fee3e24e37d8386bClément Foucault
<![CDATA[[f0207be]: Mesh Batch Cache: Speedup: Move the prev edit edge hack for...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f0207be4dfa7a1c6a3c2c03b609faf3878663683 f0207be
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Speedup: Move the prev edit edge hack for edit uv...

and move it to the only function that needs it: mesh_edituv_data_iter_edit.

----------------------------------------
1 Path Changed]]>
Sun, 21 Jul 2019 15:38:41 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f0207be4dfa7a1c6a3c2c03b609faf3878663683Clément Foucault
<![CDATA[[f2842ba]: Mesh Batch Cache: Refactor: Fix lnor & vnor display]]> http://www.miikahweb.com/en/blender/git-logs/commit/f2842babc3e49d173d34196fd25552c756431839 f2842ba
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor: Fix lnor & vnor display

----------------------------------------
3 Paths Changed]]>
Fri, 19 Jul 2019 16:50:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f2842babc3e49d173d34196fd25552c756431839Clément Foucault
<![CDATA[[f9e3d7d]: GPU: Batch: Reverse order of VBO binding]]> http://www.miikahweb.com/en/blender/git-logs/commit/f9e3d7d7eb897da5cc9ea0503707eb35c9a57b68 f9e3d7d
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Batch: Reverse order of VBO binding

This is to ensure the vbo[0] always has predecence over other VBO.

This is important for overriding attributes by switching vbo binding order.

----------------------------------------
1 Path Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f9e3d7d7eb897da5cc9ea0503707eb35c9a57b68Clément Foucault
<![CDATA[[fcd7de8]: Mesh Batch Cache: Refactor part 4]]> http://www.miikahweb.com/en/blender/git-logs/commit/fcd7de83865d22c1ebc72b7872e9eb120928d115 fcd7de8
Branches : tmp-batch-cache-cleanup
Author : Clément Foucault (fclem)
----------------------------------------
Mesh Batch Cache: Refactor part 4

- Add edge factor support (with less hack + multithread support)
- Add Facedots pos/nor/flag support
- Add Loop normal support

----------------------------------------
1 Path Changed]]>
Fri, 19 Jul 2019 12:38:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fcd7de83865d22c1ebc72b7872e9eb120928d115Clément Foucault