From c9a10b99ff2f25b6807cf43c3bfa827ba185e625 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 14 Apr 2013 21:42:58 +0000 Subject: Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGL render of objects could slow things down when redrawing the view each time a new sample is displayed. Now it does a partial redraw of the viewport with only the render border area, skipping OpenGL object drawing while the render is refining. --- source/blender/editors/include/ED_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_screen.h') diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index eb364c35091..3dc5ec0ebce 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -64,7 +64,7 @@ void ED_region_panels(const struct bContext *C, struct ARegion *ar, int verti void ED_region_header_init(struct ARegion *ar); void ED_region_header(const struct bContext *C, struct ARegion *ar); void ED_region_toggle_hidden(struct bContext *C, struct ARegion *ar); -void ED_region_info_draw(struct ARegion *ar, const char *text, int block, float alpha); +void ED_region_info_draw(struct ARegion *ar, const char *text, int block, float fill_color[4]); void ED_region_grid_draw(struct ARegion *ar, float zoomx, float zoomy); float ED_region_blend_factor(struct ARegion *ar); void ED_region_visible_rect(struct ARegion *ar, struct rcti *rect); -- cgit v1.2.3