diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-18 14:52:04 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-09-26 12:17:57 +0300 |
commit | fcb3b4ce5231218bcf949da4270bd85a2cfb3535 (patch) | |
tree | df40f18d0d2f8f52eade5b539ffd8fa7d78a5d37 /client/red_sw_canvas.h | |
parent | f29dc9b6201f4a575ebb1f2ea61775ab46f4ad1f (diff) | |
download | spice-fcb3b4ce5231218bcf949da4270bd85a2cfb3535.tar.gz spice-fcb3b4ce5231218bcf949da4270bd85a2cfb3535.tar.xz spice-fcb3b4ce5231218bcf949da4270bd85a2cfb3535.zip |
client: rewrite surfaces cache
use std::map instead of a specific template (CHash).
There is no need for special template. Moreover, using
std::map will allow easy iteration over the surfaces.
Diffstat (limited to 'client/red_sw_canvas.h')
-rw-r--r-- | client/red_sw_canvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_sw_canvas.h b/client/red_sw_canvas.h index ebac7109..cf97d1d3 100644 --- a/client/red_sw_canvas.h +++ b/client/red_sw_canvas.h @@ -29,7 +29,7 @@ public: SCanvas(bool onscreen, int width, int height, uint32_t format, RedWindow *win, PixmapCache& pixmap_cache, PaletteCache& palette_cache, - GlzDecoderWindow &glz_decoder_window, CSurfaces &csurfaces); + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces); virtual ~SCanvas(); virtual void thread_touch() {} |