|
Blender V4.3
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Functions | |
| GPUDrawList * | GPU_draw_list_create (int list_length) |
| void | GPU_draw_list_discard (GPUDrawList *list) |
| void | GPU_draw_list_append (GPUDrawList *list, blender::gpu::Batch *batch, int i_first, int i_count) |
| void | GPU_draw_list_submit (GPUDrawList *list) |
GPUDrawList is an API to do lots of similar draw-calls very fast using multi-draw-indirect. There is a fallback if the feature is not supported.
Definition in file GPU_drawlist.hh.
| void GPU_draw_list_append | ( | GPUDrawList * | list, |
| blender::gpu::Batch * | batch, | ||
| int | i_first, | ||
| int | i_count ) |
Referenced by draw_indirect_call().
| GPUDrawList * GPU_draw_list_create | ( | int | list_length | ) |
Definition at line 19 of file gpu_drawlist.cc.
References blender::gpu::GPUBackend::drawlist_alloc(), blender::gpu::GPUBackend::get(), and blender::gpu::wrap().
Referenced by drw_manager_init().
| void GPU_draw_list_discard | ( | GPUDrawList * | list | ) |
Definition at line 25 of file gpu_drawlist.cc.
References blender::gpu::unwrap().
Referenced by DRW_engines_free().
| void GPU_draw_list_submit | ( | GPUDrawList * | list | ) |
Definition at line 37 of file gpu_drawlist.cc.
References blender::gpu::DrawList::submit(), and blender::gpu::unwrap().
Referenced by draw_call_batching_flush(), and draw_indirect_call().