Cleanup: remove declarations for removed functions

This commit is contained in:
Campbell Barton 2024-03-27 10:23:53 +11:00
parent 3f594f7b2f
commit d6c4433451
3 changed files with 2 additions and 30 deletions

View File

@ -106,7 +106,7 @@ void DRW_draw_render_loop_2d_ex(Depsgraph *depsgraph,
GPUViewport *viewport,
const bContext *evil_C);
/**
* object mode select-loop, see: #ED_view3d_draw_select_loop (legacy drawing).
* Object mode select-loop.
*/
void DRW_draw_select_loop(Depsgraph *depsgraph,
ARegion *region,
@ -121,7 +121,7 @@ void DRW_draw_select_loop(Depsgraph *depsgraph,
DRW_ObjectFilterFn object_filter_fn,
void *object_filter_user_data);
/**
* Object mode select-loop, see: #ED_view3d_draw_depth_loop (legacy drawing).
* Object mode select-loop.
*/
void DRW_draw_depth_loop(Depsgraph *depsgraph,
ARegion *region,

View File

@ -1273,18 +1273,6 @@ void ED_view3d_shade_update(Main *bmain, View3D *v3d, ScrArea *area);
#define RETOPOLOGY_ENABLED(v3d) (OVERLAY_RETOPOLOGY_ENABLED((v3d)->overlay))
#define RETOPOLOGY_OFFSET(v3d) (OVERLAY_RETOPOLOGY_OFFSET((v3d)->overlay))
/* view3d_draw_legacy.c */
/**
* Try avoid using these more move out of legacy.
*/
void ED_view3d_draw_bgpic_test(const Scene *scene,
Depsgraph *depsgraph,
ARegion *region,
View3D *v3d,
bool do_foreground,
bool do_camera_frame);
/* `view3d_gizmo_preselect_type.cc` */
void ED_view3d_gizmo_mesh_preselect_get_active(const bContext *C,

View File

@ -70,22 +70,6 @@ void view3d_main_region_draw(const struct bContext *C, struct ARegion *region);
*/
void view3d_draw_region_info(const struct bContext *C, struct ARegion *region);
/* view3d_draw_legacy.c */
void ED_view3d_draw_select_loop(struct Depsgraph *depsgraph,
struct ViewContext *vc,
struct Scene *scene,
struct ViewLayer *view_layer,
struct View3D *v3d,
struct ARegion *region,
bool use_obedit_skip,
bool use_nearest);
void ED_view3d_draw_depth_loop(struct Depsgraph *depsgraph,
struct Scene *scene,
struct ARegion *region,
View3D *v3d);
void view3d_depths_rect_create(struct ARegion *region, struct rcti *rect, struct ViewDepths *r_d);
/**
* Utility function to find the closest Z value, use for auto-depth.