Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_intern.h
| Show All 40 Lines | |||||
| struct DerivedMesh; | struct DerivedMesh; | ||||
| struct Object; | struct Object; | ||||
| struct SmokeDomainSettings; | struct SmokeDomainSettings; | ||||
| struct bAnimVizSettings; | struct bAnimVizSettings; | ||||
| struct bContext; | struct bContext; | ||||
| struct bMotionPath; | struct bMotionPath; | ||||
| struct bPoseChannel; | struct bPoseChannel; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct ViewportEngine; | |||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| /* drawing flags: */ | /* drawing flags: */ | ||||
| enum { | enum { | ||||
| DRAW_PICKING = (1 << 0), | DRAW_PICKING = (1 << 0), | ||||
| DRAW_CONSTCOLOR = (1 << 1), | DRAW_CONSTCOLOR = (1 << 1), | ||||
| ▲ Show 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | |||||
| /* drawsimdebug.c */ | /* drawsimdebug.c */ | ||||
| void draw_sim_debug_data(Scene *scene, View3D *v3d, ARegion *ar); | void draw_sim_debug_data(Scene *scene, View3D *v3d, ARegion *ar); | ||||
| /* view3d_draw.c */ | /* view3d_draw.c */ | ||||
| void view3d_main_region_draw(const struct bContext *C, struct ARegion *ar); | void view3d_main_region_draw(const struct bContext *C, struct ARegion *ar); | ||||
| /* view3d_draw_legacy.c */ | /* view3d_draw_legacy.c */ | ||||
| void view3d_main_region_draw_legacy(const struct bContext *C, struct ARegion *ar); | void view3d_main_region_draw_legacy(const struct ViewportEngine *engine, const struct bContext *C); | ||||
| void ED_view3d_draw_depth(Scene *scene, struct ARegion *ar, View3D *v3d, bool alphaoverride); | void ED_view3d_draw_depth(Scene *scene, struct ARegion *ar, View3D *v3d, bool alphaoverride); | ||||
| void ED_view3d_draw_depth_gpencil(Scene *scene, ARegion *ar, View3D *v3d); | void ED_view3d_draw_depth_gpencil(Scene *scene, ARegion *ar, View3D *v3d); | ||||
| void ED_view3d_after_add(ListBase *lb, Base *base, const short dflag); | void ED_view3d_after_add(ListBase *lb, Base *base, const short dflag); | ||||
| void circ(float x, float y, float rad); | void circ(float x, float y, float rad); | ||||
| void view3d_update_depths_rect(struct ARegion *ar, struct ViewDepths *d, struct rcti *rect); | void view3d_update_depths_rect(struct ARegion *ar, struct ViewDepths *d, struct rcti *rect); | ||||
| float view3d_depth_near(struct ViewDepths *d); | float view3d_depth_near(struct ViewDepths *d); | ||||
| ▲ Show 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
| * any direction it starts to fail */ | * any direction it starts to fail */ | ||||
| #define VIEW3D_CAMERA_BORDER_HACK | #define VIEW3D_CAMERA_BORDER_HACK | ||||
| #ifdef VIEW3D_CAMERA_BORDER_HACK | #ifdef VIEW3D_CAMERA_BORDER_HACK | ||||
| extern unsigned char view3d_camera_border_hack_col[3]; | extern unsigned char view3d_camera_border_hack_col[3]; | ||||
| extern bool view3d_camera_border_hack_test; | extern bool view3d_camera_border_hack_test; | ||||
| #endif | #endif | ||||
| /* temporary test for blender 2.8 viewport */ | /* temporary test for blender 2.8 viewport */ | ||||
| #define IS_VIEWPORT_LEGACY(v3d) (v3d->tmp_compat_flag & V3D_NEW_VIEWPORT) == 0 | #define IS_VIEWPORT_LEGACY(v3d) STREQ(v3d->viewport_engine->type->idname, "LEGACY_VIEWPORT") | ||||
| /* temporary for legacy viewport to work */ | /* temporary for legacy viewport to work */ | ||||
| void VP_legacy_drawgrid(UnitSettings *unit, ARegion *ar, View3D *v3d, const char **grid_unit); | void VP_legacy_drawgrid(UnitSettings *unit, ARegion *ar, View3D *v3d, const char **grid_unit); | ||||
| void VP_legacy_drawfloor(Scene *scene, View3D *v3d, const char **grid_unit, bool write_depth); | void VP_legacy_drawfloor(Scene *scene, View3D *v3d, const char **grid_unit, bool write_depth); | ||||
| void VP_legacy_view3d_main_region_setup_view(Scene *scene, View3D *v3d, ARegion *ar, float viewmat[4][4], float winmat[4][4]); | void VP_legacy_view3d_main_region_setup_view(Scene *scene, View3D *v3d, ARegion *ar, float viewmat[4][4], float winmat[4][4]); | ||||
| bool VP_legacy_view3d_stereo3d_active(const struct bContext *C, Scene *scene, View3D *v3d, RegionView3D *rv3d); | bool VP_legacy_view3d_stereo3d_active(const struct bContext *C, Scene *scene, View3D *v3d, RegionView3D *rv3d); | ||||
| void VP_legacy_view3d_stereo3d_setup(Scene *scene, View3D *v3d, ARegion *ar); | void VP_legacy_view3d_stereo3d_setup(Scene *scene, View3D *v3d, ARegion *ar); | ||||
| void draw_dupli_objects(Scene *scene, ARegion *ar, View3D *v3d, Base *base); | void draw_dupli_objects(Scene *scene, ARegion *ar, View3D *v3d, Base *base); | ||||
| bool VP_legacy_use_depth(Scene *scene, View3D *v3d); | bool VP_legacy_use_depth(Scene *scene, View3D *v3d); | ||||
| #endif /* __VIEW3D_INTERN_H__ */ | #endif /* __VIEW3D_INTERN_H__ */ | ||||