Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/DRW_engine.h
| Show All 20 Lines | |||||
| */ | */ | ||||
| #ifndef __DRW_ENGINE_H__ | #ifndef __DRW_ENGINE_H__ | ||||
| #define __DRW_ENGINE_H__ | #define __DRW_ENGINE_H__ | ||||
| #include "BLI_sys_types.h" /* for bool */ | #include "BLI_sys_types.h" /* for bool */ | ||||
| struct ARegion; | struct ARegion; | ||||
| struct Base; | |||||
| struct DRWInstanceDataList; | struct DRWInstanceDataList; | ||||
| struct DRWPass; | struct DRWPass; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct DrawEngineType; | struct DrawEngineType; | ||||
| struct GPUMaterial; | struct GPUMaterial; | ||||
| struct GPUOffScreen; | struct GPUOffScreen; | ||||
| struct GPUViewport; | struct GPUViewport; | ||||
| struct ID; | struct ID; | ||||
| ▲ Show 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | void DRW_draw_depth_loop(struct Depsgraph *depsgraph, | ||||
| struct GPUViewport *viewport); | struct GPUViewport *viewport); | ||||
| void DRW_draw_depth_loop_gpencil(struct Depsgraph *depsgraph, | void DRW_draw_depth_loop_gpencil(struct Depsgraph *depsgraph, | ||||
| struct ARegion *ar, | struct ARegion *ar, | ||||
| struct View3D *v3d, | struct View3D *v3d, | ||||
| struct GPUViewport *viewport); | struct GPUViewport *viewport); | ||||
| void DRW_draw_depth_object(struct ARegion *ar, | void DRW_draw_depth_object(struct ARegion *ar, | ||||
| struct GPUViewport *viewport, | struct GPUViewport *viewport, | ||||
| struct Object *object); | struct Object *object); | ||||
| void DRW_draw_select_id_object(struct Scene *scene, | void DRW_draw_select_id(struct Depsgraph *depsgraph, | ||||
| struct RegionView3D *rv3d, | struct ARegion *ar, | ||||
| struct Object *ob, | struct View3D *v3d, | ||||
| short select_mode, | struct Base **bases, | ||||
| bool draw_facedot, | const uint bases_len, | ||||
| uint initial_offset, | short select_mode); | ||||
campbellbarton: Causes error building, doesn't match function signature. | |||||
| uint *r_vert_offset, | |||||
| uint *r_edge_offset, | |||||
| uint *r_face_offset); | |||||
| void DRW_framebuffer_select_id_setup(struct ARegion *ar, const bool clear); | |||||
| void DRW_framebuffer_select_id_release(struct ARegion *ar); | |||||
| void DRW_framebuffer_select_id_read(const struct rcti *rect, uint *r_buf); | |||||
| /* grease pencil render */ | /* grease pencil render */ | ||||
| bool DRW_render_check_grease_pencil(struct Depsgraph *depsgraph); | bool DRW_render_check_grease_pencil(struct Depsgraph *depsgraph); | ||||
| void DRW_render_gpencil(struct RenderEngine *engine, struct Depsgraph *depsgraph); | void DRW_render_gpencil(struct RenderEngine *engine, struct Depsgraph *depsgraph); | ||||
| void DRW_gpencil_freecache(struct Object *ob); | void DRW_gpencil_freecache(struct Object *ob); | ||||
| /* This is here because GPUViewport needs it */ | /* This is here because GPUViewport needs it */ | ||||
| struct DRWInstanceDataList *DRW_instance_data_list_create(void); | struct DRWInstanceDataList *DRW_instance_data_list_create(void); | ||||
| Show All 16 Lines | |||||
| void DRW_gawain_render_context_enable(void *re_gpu_context); | void DRW_gawain_render_context_enable(void *re_gpu_context); | ||||
| void DRW_gawain_render_context_disable(void *re_gpu_context); | void DRW_gawain_render_context_disable(void *re_gpu_context); | ||||
| void DRW_deferred_shader_remove(struct GPUMaterial *mat); | void DRW_deferred_shader_remove(struct GPUMaterial *mat); | ||||
| 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); | ||||
| /* select_engine.c */ | |||||
Done Inline ActionsShould be select_engine.c campbellbarton: Should be `select_engine.c` | |||||
| void DRW_select_context_create(struct Depsgraph *depsgraph, | |||||
| struct Base **bases, | |||||
| const uint bases_len, | |||||
| short select_mode); | |||||
| bool DRW_select_elem_get(const uint sel_id, uint *r_elem, uint *r_base_index, char *r_elem_type); | |||||
| uint DRW_select_context_offset_for_object_elem(const uint base_index, char elem_type); | |||||
| uint DRW_select_context_elem_len(void); | |||||
| void DRW_framebuffer_select_id_read(const struct rcti *rect, uint *r_buf); | |||||
| void DRW_draw_select_id_object(struct Depsgraph *depsgraph, | |||||
| struct ViewLayer *view_layer, | |||||
| struct ARegion *ar, | |||||
| struct View3D *v3d, | |||||
| struct Object *ob, | |||||
| short select_mode); | |||||
| #endif /* __DRW_ENGINE_H__ */ | #endif /* __DRW_ENGINE_H__ */ | ||||
Causes error building, doesn't match function signature.