Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_impl_mesh.c
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
| #include "GPU_material.h" | #include "GPU_material.h" | ||||
| #include "DRW_render.h" | #include "DRW_render.h" | ||||
| #include "ED_mesh.h" | #include "ED_mesh.h" | ||||
| #include "ED_uvedit.h" | #include "ED_uvedit.h" | ||||
| #include "draw_cache_extract.h" | #include "draw_cache_extract.h" | ||||
| #include "draw_cache_extract_mesh_private.h" | |||||
| #include "draw_cache_inline.h" | #include "draw_cache_inline.h" | ||||
| #include "draw_cache_impl.h" /* own include */ | #include "draw_cache_impl.h" /* own include */ | ||||
| #include "mesh_extractors/extract_mesh.h" | |||||
| /* ---------------------------------------------------------------------- */ | /* ---------------------------------------------------------------------- */ | ||||
| /** \name Dependencies between buffer and batch | /** \name Dependencies between buffer and batch | ||||
| * \{ */ | * \{ */ | ||||
| /* clang-format off */ | /* clang-format off */ | ||||
| #define _BUFFER_INDEX(buff_name) ((offsetof(MeshBufferCache, buff_name) - offsetof(MeshBufferCache, vbo)) / sizeof(void *)) | #define _BUFFER_INDEX(buff_name) ((offsetof(MeshBufferCache, buff_name) - offsetof(MeshBufferCache, vbo)) / sizeof(void *)) | ||||
| ▲ Show 20 Lines • Show All 1,752 Lines • Show Last 20 Lines | |||||