Revision 901026c by Clément Foucault May 8, 2019, 15:52 (GMT) |
Cleanup: Remove BKE_MESH_BATCH_DIRTY_MAYBE_ALL |
Revision 55173b1 by Clément Foucault May 8, 2019, 15:52 (GMT) |
Cleanup: draw_common: Use switch instead of ifs |
Revision aec717c by Clément Foucault May 8, 2019, 15:52 (GMT) |
Cleanup: Mesh Batch Cache: Remove unused BKE_MESH_BATCH_DIRTY_SCULPT_COORDS |
Revision cca941f by Clément Foucault May 8, 2019, 15:52 (GMT) |
Cleanup: GPUShader: Use switch instead of ifs |
Revision e053f6b by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Copy matrix in case of ModelMatrixInverse being used ob->imat is garanteed to be valid by the depsgraph. |
Revision 8c5c029 by Clément Foucault May 8, 2019, 15:52 (GMT) |
Wireframe: Refactor vertex shader to use less matrices This means less matrices needs to be prepared by the CPU. |
Revision 8d3e2ff by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Speedup: Only do batch cache request and validation once for duplis |
Revision bb4b6cd by Clément Foucault May 8, 2019, 15:52 (GMT) |
Mesh Batch Cache: Speedup: Only alloc gpu_attrs if needed and don't clear No need to clear since GPU_material_vertex_attrs is overriding |
Revision 7bfe70f by Clément Foucault May 8, 2019, 15:52 (GMT) |
Mesh Batch Cache: Speedup: Use flags to early remove unecessary checks |
Revision 0030e4d by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Make batch validation run first during iteration This reduces the cost of querying the batches to the batch cache. |
Revision 05b0f52 by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Move all batch request functions to own header This is in order to using BLI_INLINE for thoses functions and keep headers cleany separated. |
Revision 0b88cd5 by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Change function orders to improve CPU cache efficiency These changes seems to impact cache efficiency as it uses shgroup just after creating a DRWCall before shgroup. |
Revision 6df7946 by Clément Foucault May 8, 2019, 15:52 (GMT) |
Object Overlay: Add dupli fast path |
Revision 9bfdc48 by Clément Foucault May 8, 2019, 15:52 (GMT) |
Wireframe: Create dupli fast path using DRW_duplidata_get |
Revision b6b3a57 by Clément Foucault May 8, 2019, 15:52 (GMT) |
DRW: Add DRW_duplidata_get to create fast path for duplis This is in order to create less shading group when using duplis. Data for dupli objects keep in draw manager state until the source object changes so retrieval is fast. Note that this system could be extended to all meshes. |
Revision 1ae2385 by Clément Foucault May 8, 2019, 15:49 (GMT) |
GPUViewport: Fix possible hash colision with enabled engines Also fix engine data validation that was not previously not working. |
Revision ac2e23c by Clément Foucault May 8, 2019, 15:49 (GMT) |
DRW: Remove uneeded calls to drw_viewport_engine_data_ensure when iterating This remove a bit of overhead specially in scene with lots of objects. |
Revision 820a64b by Clément Foucault May 8, 2019, 15:49 (GMT) |
DRW: Replace BLI_mempool by BLI_memblock This remove a avoid the big overhead present in BLI_mempool when it is cleared. |
Revision 9fea65a by Clément Foucault May 8, 2019, 15:49 (GMT) |
DRW: Speedup: Don't call GPU_shader_uniform_vector if not needed This seems to remove a bit of overhead of going into the function even if the uniform is not needed. |
Revision 45caba3 by Clément Foucault May 8, 2019, 15:49 (GMT) |
BLI_memblock: New memory allocator This is really close to BLI_mempool but uses an array to keep track of the chunks of memory. There is no tagging necessary to clear the whole structure so reuse is fast. Naturally supports iteration but does not support freeing. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021