commit | 1ac87ff5aaff284b337652cf3ac0b41bd56fb781 | [log] [tgz] |
---|---|---|
author | twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 27 19:39:33 2012 +0000 |
committer | twiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 27 19:39:33 2012 +0000 |
tree | 6c88a21b9de188f32c8d9ae4e23be74257d99d6d | |
parent | 8c2cc1a4ddbc99be2435674bc3512af9c9f03452 [diff] |
Addition of necessary flush to copyToTexturePixelRef(...). Ganesh batches drawing operations, which means that the copy operation, which does not flush the pipeline, can capture stale contents. By forcing a flush, the up-to-date version of the texture is copied. TEST=none BUG=124054 Review URL: https://codereview.appspot.com/6129043 git-svn-id: http://skia.googlecode.com/svn/trunk@3785 2bbb7eff-a529-9590-31e7-b0007b416f81