diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-02 15:41:08 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-08 19:45:27 +0100 |
commit | c0fdcd1a10d0eae92fec9e00382b445d669c7428 (patch) | |
tree | 590429cdba9b115c90e5beaec90f1981ed513121 /client/canvas.cpp | |
parent | 04b35fe7ff6b09885a2af9ef8627b45b892e3fb0 (diff) | |
download | spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.tar.gz spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.tar.xz spice-c0fdcd1a10d0eae92fec9e00382b445d669c7428.zip |
Make canvas Glz decoder integration nicer
We use a dynamic interface similar to e.g. SpiceImageCache instead
of passing both function and opaque
Diffstat (limited to 'client/canvas.cpp')
-rw-r--r-- | client/canvas.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/canvas.cpp b/client/canvas.cpp index 24ebd01b..516a874c 100644 --- a/client/canvas.cpp +++ b/client/canvas.cpp @@ -212,10 +212,3 @@ void Canvas::draw_stroke(SpiceMsgDisplayDrawStroke& stroke, int size) localalize_attr(stroke.data.attr); draw_stroke(&stroke.base.box, &stroke.base.clip, &stroke.data); } - -void Canvas::glz_decode(void *opaque, uint8_t *data, SpicePalette *plt, void *usr_data) -{ - GlzDecoder* decoder = static_cast<GlzDecoder*>(opaque); - decoder->decode(data, plt, usr_data); -} - |