Blender Git Loki

Git Commits -> Revision 18e316b

Revision 18e316b by Dalai Felinto (master)
June 7, 2018, 18:34 (GMT)
Uniform Buffer Objects: Simplification refactor

Since we are only creating this and never updating, there is no need for
the original approach with the individual data to be updated.

Note we only populate the GPU data when binding the UBO, so we can in the
future easily create the UBOs in a separate thread than the main drawing one.

Also at the moment animated materials are not working. To fix that we need
to free/tag for free the GPUMaterials in BKE_material_eval.

Commit Details:

Full Hash: 18e316bcb9f4aa7221f82a40fd3307cde7eaffbb
Parent Commit: 57da454
Lines Changed: +23, -50

2 Modified Paths:

/source/blender/gpu/GPU_uniformbuffer.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_uniformbuffer.c (+23, -49) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021