diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-07-10 09:52:31 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-07-10 09:52:31 +0000 |
commit | a47f148f2d9a7f06c7dddaf55d7e89c6e04349ef (patch) | |
tree | 1d0db22a55693f79ce5a4f267ebfde00c682d176 /gtk/gtk_plotters.c | |
parent | 0fe0a709ceeae77cc5d91aab318aec27320e09af (diff) | |
download | netsurf-a47f148f2d9a7f06c7dddaf55d7e89c6e04349ef.tar.gz netsurf-a47f148f2d9a7f06c7dddaf55d7e89c6e04349ef.tar.bz2 |
Optimise out redundant group_start and group_end calls (speed up rendering.)
svn path=/trunk/netsurf/; revision=2725
Diffstat (limited to 'gtk/gtk_plotters.c')
-rw-r--r-- | gtk/gtk_plotters.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index e646a0644..27f173eef 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -44,8 +44,6 @@ static bool nsgtk_plot_bitmap(int x, int y, int width, int height, static bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height, struct bitmap *bitmap, colour bg, bool repeat_x, bool repeat_y); -static bool nsgtk_plot_group_start(const char *name); -static bool nsgtk_plot_group_end(void); static void nsgtk_set_solid(void); /**< Set for drawing solid lines */ static void nsgtk_set_dotted(void); /**< Set for drawing dotted lines */ static void nsgtk_set_dashed(void); /**< Set for drawing dashed lines */ @@ -67,8 +65,8 @@ const struct plotter_table nsgtk_plotters = { nsgtk_plot_arc, nsgtk_plot_bitmap, nsgtk_plot_bitmap_tile, - nsgtk_plot_group_start, - nsgtk_plot_group_end + NULL, + NULL }; @@ -321,16 +319,6 @@ bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height, return true; } -bool nsgtk_plot_group_start(const char *name) -{ - return true; -} - -bool nsgtk_plot_group_end(void) -{ - return true; -} - void nsgtk_set_colour(colour c) { int r, g, b; |