Finish map-intercept handling for now.

* Currently I've decided to stick with the scheme of reading back from
  mapped pointers where necessary to either compare or serialise. This
  is because the bookkeeping for intercepting memory maps is quite
  complex and right now it seems hard to justify as the overhead of the
  readback is not significant enough to worry about. Unless we encounter
  a case where the readback is hugely slower and frame captures begin to
  take 10s of seconds longer, it's not justifiable.
This commit is contained in:
baldurk
2015-10-30 19:49:39 +01:00
parent 34e37257bd
commit fb3ccc9994
8 changed files with 166 additions and 132 deletions
+6
View File
@@ -497,4 +497,10 @@ VkResourceRecord::~VkResourceRecord()
SAFE_DELETE(layout);
SAFE_DELETE(swapInfo);
SAFE_DELETE(cmdInfo);
if(memMapState)
{
Serialiser::FreeAlignedBuffer(memMapState->refData);
SAFE_DELETE(memMapState);
}
}