Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_manager.h
| Show First 20 Lines • Show All 542 Lines • ▼ Show 20 Lines | typedef struct DRWManager { | ||||
| * shaders without common_view_lib.glsl */ | * shaders without common_view_lib.glsl */ | ||||
| DRWViewUboStorage view_storage_cpy; | DRWViewUboStorage view_storage_cpy; | ||||
| #ifdef USE_GPU_SELECT | #ifdef USE_GPU_SELECT | ||||
| uint select_id; | uint select_id; | ||||
| #endif | #endif | ||||
| struct TaskGraph *task_graph; | struct TaskGraph *task_graph; | ||||
| /* Contains list of objects that needs to be extracted from other objects. */ | |||||
| struct GSet *delayed_extraction; | |||||
| /* ---------- Nothing after this point is cleared after use ----------- */ | /* ---------- Nothing after this point is cleared after use ----------- */ | ||||
| /* gl_context serves as the offset for clearing only | /* gl_context serves as the offset for clearing only | ||||
| * the top portion of the struct so DO NOT MOVE IT! */ | * the top portion of the struct so DO NOT MOVE IT! */ | ||||
| /** Unique ghost context used by the draw manager. */ | /** Unique ghost context used by the draw manager. */ | ||||
| void *gl_context; | void *gl_context; | ||||
| GPUContext *gpu_context; | GPUContext *gpu_context; | ||||
| Show All 21 Lines | |||||
| void drw_debug_draw(void); | void drw_debug_draw(void); | ||||
| void drw_debug_init(void); | void drw_debug_init(void); | ||||
| eDRWCommandType command_type_get(uint64_t *command_type_bits, int index); | eDRWCommandType command_type_get(uint64_t *command_type_bits, int index); | ||||
| void drw_batch_cache_validate(Object *ob); | void drw_batch_cache_validate(Object *ob); | ||||
| void drw_batch_cache_generate_requested(struct Object *ob); | void drw_batch_cache_generate_requested(struct Object *ob); | ||||
| void drw_batch_cache_generate_requested_delayed(Object *ob); | |||||
| void drw_resource_buffer_finish(ViewportMemoryPool *vmempool); | void drw_resource_buffer_finish(ViewportMemoryPool *vmempool); | ||||
| /* Procedural Drawing */ | /* Procedural Drawing */ | ||||
| GPUBatch *drw_cache_procedural_points_get(void); | GPUBatch *drw_cache_procedural_points_get(void); | ||||
| GPUBatch *drw_cache_procedural_lines_get(void); | GPUBatch *drw_cache_procedural_lines_get(void); | ||||
| GPUBatch *drw_cache_procedural_triangles_get(void); | GPUBatch *drw_cache_procedural_triangles_get(void); | ||||
| #endif /* __DRAW_MANAGER_H__ */ | #endif /* __DRAW_MANAGER_H__ */ | ||||