Blender Git Commit Log

Git Commits -> Revision 76c99f3

Revision 76c99f3 by Mike Erwin (master)
September 15, 2016, 19:45 (GMT)
Gawain improvements

Fixed compile error in debug build (thanks mont29)

Renamed some functions for consistency.

New features:

Create a Batch with immediate mode! Just use immBeginBatch instead of immBegin. You can keep the result and draw it as many times as you like. This partially replaces the need for display lists.

Copy a VertexFormat, and create a VertexBuffer using an existing format.

Resize a VertexBuffer to a different number of vertices. (can only resize BEFORE using it to draw)

Commit Details:

Full Hash: 76c99f361f58752eff8054f5cff52cad9ce57145
Parent Commit: 5eddb80
Lines Changed: +199, -67

9 Modified Paths:

/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/gpu/gawain/batch.c (+6, -1) (Diff)
/source/blender/gpu/gawain/batch.h (+11, -14) (Diff)
/source/blender/gpu/gawain/immediate.c (+102, -40) (Diff)
/source/blender/gpu/gawain/immediate.h (+12, -1) (Diff)
/source/blender/gpu/gawain/vertex_buffer.c (+41, -2) (Diff)
/source/blender/gpu/gawain/vertex_buffer.h (+6, -4) (Diff)
/source/blender/gpu/gawain/vertex_format.c (+16, -2) (Diff)
/source/blender/gpu/gawain/vertex_format.h (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021