06a4f7a846
Increased size of allocation to reduce number of allocation per bitmap. Before change the procedure ignored 'alloc_size' parameter and always allocated memory chunk according to 'size' parameter. As a result, first chunk could be up to 64K and all following are limited by line size. For example, for bitmap 1280x1024 there was more than 1008 chunks allocated, for bitmap 128x1024 - 897 chunks. We change the procedure to use chunk size up to 64K (similar to first chunk). This reduces in described examples number of allocation from 1008 to 64 and from 897 to 8 respectively. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com> |
||
---|---|---|
.. | ||
include | ||
BaseObject.cpp | ||
BaseObject.h | ||
compat.cpp | ||
compat.h | ||
driver.cpp | ||
driver.h | ||
getVisualStudioCmdLine.vbs | ||
mspace.c | ||
mspace.h | ||
QxlDod.cpp | ||
QxlDod.h | ||
qxldod.inf | ||
qxldod.inx | ||
qxldod.rc | ||
qxldod.vcxproj | ||
qxldod.vcxproj.filters | ||
qxldod.vcxproj.user | ||
resource.h | ||
Version.props |