Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/DRW_engine.h
| Show All 36 Lines | |||||
| struct bContext; | struct bContext; | ||||
| struct Object; | struct Object; | ||||
| struct SceneLayer; | struct SceneLayer; | ||||
| struct ViewContext; | struct ViewContext; | ||||
| struct ViewportEngineData; | struct ViewportEngineData; | ||||
| struct View3D; | struct View3D; | ||||
| struct rcti; | struct rcti; | ||||
| struct GPUOffScreen; | struct GPUOffScreen; | ||||
| struct WorkSpace; | |||||
| #include "BLI_sys_types.h" /* for bool */ | #include "BLI_sys_types.h" /* for bool */ | ||||
| /* Buffer and textures used by the viewport by default */ | /* Buffer and textures used by the viewport by default */ | ||||
| typedef struct DefaultFramebufferList { | typedef struct DefaultFramebufferList { | ||||
| struct GPUFrameBuffer *default_fb; | struct GPUFrameBuffer *default_fb; | ||||
| } DefaultFramebufferList; | } DefaultFramebufferList; | ||||
| typedef struct DefaultTextureList { | typedef struct DefaultTextureList { | ||||
| struct GPUTexture *color; | struct GPUTexture *color; | ||||
| struct GPUTexture *depth; | struct GPUTexture *depth; | ||||
| } DefaultTextureList; | } DefaultTextureList; | ||||
| void DRW_engines_register(void); | void DRW_engines_register(void); | ||||
| void DRW_engines_free(void); | void DRW_engines_free(void); | ||||
| void DRW_engine_register(struct DrawEngineType *draw_engine_type); | void DRW_engine_register(struct DrawEngineType *draw_engine_type); | ||||
| void DRW_engine_viewport_data_size_get( | void DRW_engine_viewport_data_size_get( | ||||
| const void *engine_type, | const void *engine_type, | ||||
| int *r_fbl_len, int *r_txl_len, int *r_psl_len, int *r_stl_len); | int *r_fbl_len, int *r_txl_len, int *r_psl_len, int *r_stl_len); | ||||
| void DRW_draw_view(const struct bContext *C); | void DRW_draw_view(const struct bContext *C); | ||||
| void DRW_draw_render_loop_ex( | void DRW_draw_render_loop_ex( | ||||
| const struct WorkSpace *workspace, | |||||
| struct Depsgraph *graph, | struct Depsgraph *graph, | ||||
| struct ARegion *ar, struct View3D *v3d, | struct ARegion *ar, struct View3D *v3d, | ||||
| const struct bContext *evil_C); | const struct bContext *evil_C); | ||||
| void DRW_draw_render_loop( | void DRW_draw_render_loop( | ||||
| struct Depsgraph *graph, | struct Depsgraph *graph, | ||||
| struct ARegion *ar, struct View3D *v3d); | struct ARegion *ar, struct View3D *v3d); | ||||
| void DRW_draw_render_loop_offscreen( | void DRW_draw_render_loop_offscreen( | ||||
| const struct WorkSpace *workspace, | |||||
| struct Depsgraph *graph, | struct Depsgraph *graph, | ||||
| struct ARegion *ar, struct View3D *v3d, | struct ARegion *ar, struct View3D *v3d, | ||||
| struct GPUOffScreen *ofs); | struct GPUOffScreen *ofs); | ||||
| void DRW_draw_select_loop( | void DRW_draw_select_loop( | ||||
| struct Depsgraph *graph, | struct Depsgraph *graph, | ||||
| struct ARegion *ar, struct View3D *v3d, | struct ARegion *ar, struct View3D *v3d, | ||||
| bool use_obedit_skip, bool use_nearest, const struct rcti *rect); | bool use_obedit_skip, bool use_nearest, const struct rcti *rect); | ||||
| void DRW_draw_depth_loop( | void DRW_draw_depth_loop( | ||||
| Show All 14 Lines | |||||