diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-22 01:58:19 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-22 01:58:19 +0000 |
commit | 3d9a1198db571973e2760d6f27c771cbe31c844b (patch) | |
tree | 5a306a7fdf135f63fa1bd031924fb18edc5ecc2b /riscos/plotters.c | |
parent | 01cc7987c7af26c70269c81e9d344fd2e91a8793 (diff) | |
download | netsurf-3d9a1198db571973e2760d6f27c771cbe31c844b.tar.gz netsurf-3d9a1198db571973e2760d6f27c771cbe31c844b.tar.bz2 |
[project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.
svn path=/import/netsurf/; revision=2089
Diffstat (limited to 'riscos/plotters.c')
-rw-r--r-- | riscos/plotters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/plotters.c b/riscos/plotters.c index d59883075..dcce28c38 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -326,7 +326,7 @@ bool ro_plot_bitmap(int x, int y, int width, int height, bitmap->height, bg, false, false, false, - bitmap->opaque ? IMAGE_PLOT_TINCT_OPAQUE : + bitmap_get_opaque(bitmap) ? IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA); } @@ -344,7 +344,7 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height, bitmap->height, bg, repeat_x, repeat_y, true, - bitmap->opaque ? IMAGE_PLOT_TINCT_OPAQUE : + bitmap_get_opaque(bitmap) ? IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA); } |