From 5d2ae66f5022187e0028a1d7ccf67fe48fdaa94b Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Tue, 1 Jun 2010 10:30:51 +0300 Subject: support for lossy images in the pixmap cache and fill bits 1) add an option to determine if a bitmap can be sent lossy to the client 2) when required, replacing lossy cache items with their correspending lossless bitmaps --- client/canvas.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'client/canvas.cpp') diff --git a/client/canvas.cpp b/client/canvas.cpp index 0a4d8e5e..4ed1e184 100644 --- a/client/canvas.cpp +++ b/client/canvas.cpp @@ -91,6 +91,7 @@ void Canvas::localalize_image(SPICE_ADDRESS* in_bitmap) case SPICE_IMAGE_TYPE_JPEG: break; case SPICE_IMAGE_TYPE_FROM_CACHE: + case SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS: break; default: THROW("invalid image type %u", image->type); -- cgit