Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc
| Show All 15 Lines | |||||
| * The Original Code is Copyright (C) 2021 by Blender Foundation. | * The Original Code is Copyright (C) 2021 by Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup draw | * \ingroup draw | ||||
| */ | */ | ||||
| #include "draw_cache_extract_mesh_private.h" | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "extract_mesh.h" | |||||
| namespace blender::draw { | namespace blender::draw { | ||||
| static void extract_tris_mat_task_reduce(void *_userdata_to, void *_userdata_from) | static void extract_tris_mat_task_reduce(void *_userdata_to, void *_userdata_from) | ||||
| { | { | ||||
| GPUIndexBufBuilder *elb_to = static_cast<GPUIndexBufBuilder *>(_userdata_to); | GPUIndexBufBuilder *elb_to = static_cast<GPUIndexBufBuilder *>(_userdata_to); | ||||
| GPUIndexBufBuilder *elb_from = static_cast<GPUIndexBufBuilder *>(_userdata_from); | GPUIndexBufBuilder *elb_from = static_cast<GPUIndexBufBuilder *>(_userdata_from); | ||||
| GPU_indexbuf_join(elb_to, elb_from); | GPU_indexbuf_join(elb_to, elb_from); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines | |||||