qxl-wddm-dod/qxldod
yuri.benditovich@daynix.com 06a4f7a846 qxl-wddm-dod: Optimize allocation of memory chunks
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>
2017-04-12 08:21:01 +01:00
..
include Add arbitrary resolution and monitors_config Escape 2016-09-12 10:13:33 +01:00
BaseObject.cpp Change licence to Apache v2 2016-11-04 11:18:09 +00:00
BaseObject.h Change licence to Apache v2 2016-11-04 11:18:09 +00:00
compat.cpp Update some file copyright statements 2016-11-07 09:45:14 +00:00
compat.h Update some file copyright statements 2016-11-07 09:45:14 +00:00
driver.cpp qxl-wddm-dod: Registry-based control over VSync 2017-04-03 10:14:40 +01:00
driver.h qxl-wddm-dod: Preparation for VSync activation 2017-02-22 16:38:28 +00:00
getVisualStudioCmdLine.vbs Change licence to Apache v2 2016-11-04 11:18:09 +00:00
mspace.c initial commit 2014-09-02 17:36:27 +10:00
mspace.h initial commit 2014-09-02 17:36:27 +10:00
QxlDod.cpp qxl-wddm-dod: Optimize allocation of memory chunks 2017-04-12 08:21:01 +01:00
QxlDod.h qxl-wddm-dod: PutBytesAlign supports non-forced allocation 2017-04-12 08:20:58 +01:00
qxldod.inf Convert UTF-16LE files to single byte unix format 2016-09-09 11:09:36 +01:00
qxldod.inx Change licence to Apache v2 2016-11-04 11:18:09 +00:00
qxldod.rc Configurable version information in binary and INF 2016-11-04 08:50:50 +00:00
qxldod.vcxproj Configurable version information in binary and INF 2016-11-04 08:50:50 +00:00
qxldod.vcxproj.filters Use MmMapIoSpaceEx instead of MmMapIoSpace 2016-10-19 17:39:42 +01:00
qxldod.vcxproj.user Upgrade to Windows 10 WDK 2016-09-09 11:09:31 +01:00
resource.h initial commit 2014-09-02 17:36:27 +10:00
Version.props Configurable version information in binary and INF 2016-11-04 08:50:50 +00:00