[Spice-devel] Render measurements

Søren Sandmann sandmann at cs.au.dk
Thu May 10 21:45:06 PDT 2012


Yonit Halperin <yhalperi at redhat.com> writes:

> Did you check if there are other operations, besides the "nomask"
> ones, that can be translated to the current QXL_DRAW commands, mainly
> the QXL_DRAW_ROP3 one?

Well, X does have some raster ops but they are very rarely used in newer
applications.

> * The number of cached bytes displayed in the spreadsheet is larger
> when caching is off. Mistake on the spreadsheet? Or just difference in
> the websites content?

The QXL driver has two different types of caching that it can do: Images
and Fallbacks. Images have to do with the X11 request PutImage which is
used whenever an application decides to draw an image. Fallback is when
the driver itself has to fall back to software rendering and needs to
draw the resulting image. Caching can be turned on or off for these two
separately.

The difference in the spreadsheet is only about the Image caching;
fallback caching was always enabled. If you look at the cached bytes for
in the PutImage column, you'll see that it's essentially zero when
caching is turned off. (I don't really know why it's not exactly zero in
all cases).



Soren


More information about the Spice-devel mailing list