Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-12-03 21:35:37 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-12-03 21:35:37 +0300
commit010c99deb271c629742e32f5e7922d357cafc9f3 (patch)
treef2ad8145f5eb7d3160f3e8e1991df0a1c07c2172 /source/blender/gpu
parente10ae8a1a29459157f2135aad682b01efaaee88f (diff)
Sculpt Branch:
* Multithread parts of multires and subsurf. Only loops working on face grid data and do no memory allocation have been multithreaded, others would be more complicated. * Force some CCGSubsurf functions to be inlined, gives a small overall speedup in subsurf code. * Fix sculpting not working correct with transformed objects. * Fix a few cases of "spikes" on lower level multires levels. There's still cases where it happens, usually on boundary cornders. The problem is that in such cases the limit surfaces can be very different from the low res surface, so the tangent space is very different too.. * Fix crash deleting multires higher levels with level set to 0. * Fix crashes that happened sometimes when adding faces in editmode.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index 9db7f9b1ce9..4c55f759e47 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -379,14 +379,10 @@ void GPU_drawobject_free( DerivedMesh *dm )
dm->drawObject = 0;
}
-/* Convenience struct for building the VBO.
- TODO: check that (lack-of) padding is OK,
- also check performance of short vs float for normals */
+/* Convenience struct for building the VBO. */
typedef struct {
float co[3];
short no[3];
-
- char pad[14];
} VertexBufferFormat;
typedef struct {