Itseez/opencv — pull request #3055 by akarsakov (2014-08-07 09:23:03+00:00)
Title: Fixed issue: Mat::copyTo(UMat) if device copy is obsolete

`UMatAllocator::unmap()` do markHostCopyObsolete(false) although `accessFlags` in `UMat::handle()` is `ACCESS_WRITE`.
See added test case for example.
build_examples=OFF