Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/DRW_engine.h
| Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| void DRW_gpu_render_context_enable(void *re_gpu_context); | void DRW_gpu_render_context_enable(void *re_gpu_context); | ||||
| /** | /** | ||||
| * Needs to be called BEFORE #DRW_opengl_render_context_disable(). | * Needs to be called BEFORE #DRW_opengl_render_context_disable(). | ||||
| */ | */ | ||||
| void DRW_gpu_render_context_disable(void *re_gpu_context); | void DRW_gpu_render_context_disable(void *re_gpu_context); | ||||
| void DRW_deferred_shader_remove(struct GPUMaterial *mat); | void DRW_deferred_shader_remove(struct GPUMaterial *mat); | ||||
| void DRW_deferred_shader_optimize_remove(struct GPUMaterial *mat); | |||||
| /** | /** | ||||
| * Get DrawData from the given ID-block. In order for this to work, we assume that | * Get DrawData from the given ID-block. In order for this to work, we assume that | ||||
| * the DrawData pointer is stored in the struct in the same fashion as in #IdDdtTemplate. | * the DrawData pointer is stored in the struct in the same fashion as in #IdDdtTemplate. | ||||
| */ | */ | ||||
| struct DrawDataList *DRW_drawdatalist_from_id(struct ID *id); | struct DrawDataList *DRW_drawdatalist_from_id(struct ID *id); | ||||
| void DRW_drawdata_free(struct ID *id); | void DRW_drawdata_free(struct ID *id); | ||||
| Show All 21 Lines | |||||