From a47f148f2d9a7f06c7dddaf55d7e89c6e04349ef Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 10 Jul 2006 09:52:31 +0000 Subject: Optimise out redundant group_start and group_end calls (speed up rendering.) svn path=/trunk/netsurf/; revision=2725 --- riscos/plotters.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'riscos') diff --git a/riscos/plotters.c b/riscos/plotters.c index c08f7d646..81d12f3dd 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -42,8 +42,6 @@ static bool ro_plot_bitmap(int x, int y, int width, int height, static bool ro_plot_bitmap_tile(int x, int y, int width, int height, struct bitmap *bitmap, colour bg, bool repeat_x, bool repeat_y); -static bool ro_plot_group_start(const char *name); -static bool ro_plot_group_end(void); struct plotter_table plot; @@ -60,8 +58,8 @@ const struct plotter_table ro_plotters = { ro_plot_arc, ro_plot_bitmap, ro_plot_bitmap_tile, - ro_plot_group_start, - ro_plot_group_end + NULL, + NULL }; int ro_plot_origin_x = 0; @@ -404,16 +402,6 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height, IMAGE_PLOT_TINCT_ALPHA); } -bool ro_plot_group_start(const char *name) -{ - return true; -} - -bool ro_plot_group_end(void) -{ - return true; -} - /** * Set the scale for subsequent text plotting. */ -- cgit v1.2.3