diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 15:42:39 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-21 11:46:06 (GMT) |
commit | 512c2284cafb3eb23d06fc5cdc4e424b711a04b7 (patch) | |
tree | 01ca4c0a62e14d1e7e28d89ec7fcc7aa7f4a0610 /src/corelib/animation | |
parent | 0689a85ca20a36808b388efc452892606d47b34d (diff) | |
download | Qt-512c2284cafb3eb23d06fc5cdc4e424b711a04b7.zip Qt-512c2284cafb3eb23d06fc5cdc4e424b711a04b7.tar.gz Qt-512c2284cafb3eb23d06fc5cdc4e424b711a04b7.tar.bz2 |
(Windows) Don't create a file mapping for each view that is mapped
Creating a file mapping for each view mapped to memory is sub-optimal
and slow. With this change, a single mapping is created and reused when
mapping subsequent views of the file.
The handle returned from CreateFileForMapping (used in WinCE 5) is now
discarded, since the kernel manages it automatically with the file
mapping. This simplifies use of the deprecated map API.
Reviewed-by: Maurice Kalinowski
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'src/corelib/animation')
0 files changed, 0 insertions, 0 deletions