[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

cache information is needed



Hello

I am searching information about rdesktop caching functions.

I know rdesktop supports the following caches:
  - bitmap
  - font
  - text
  - desktop
  - mouse cursor
  - colourmap

The bitmap and desktop caches can be easily disabled (at the connection
time, the rdp client negotiates these caches are not supported).

But the other caches are needed.

I saw in the rdesktop source code predefined sizes are allocated to these
caches:
  - fonts: 12 entries, each font offers 256 characters, and each character
exhibits its own parameters (baseline, offset, bitmap...).
  - text: 256 entries
  - mouse cursor: 32 entries
  - colourmap: 6 entries

So my questions are:

1 - Is it possible to negotiate other sizes for these caches ?
Why there are 12 fonts. Is it possible to reduce this max number.

2 - Can the rdp client reset caches ?
For example, when the memory client is almost full, is there an rdp command
which orders the rdp server to reset caches. (this command will allows the
rdp client to free all the allocated memory).

Of course, I am aware reducing cache will decrease performances. But I think
these features should exist. Indeed there are strongly needed to get a
correct cache support.

In advance thank you

Vincent