Chromium Code Reviews| Index: src/gpu/SkGpuDevice.cpp |
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
| index 075d4d8af49f337e32c6abc6fe1f855ee07ea673..da81c696d2aa5857ee5d6e5b3b878fa9bebc7ed5 100644 |
| --- a/src/gpu/SkGpuDevice.cpp |
| +++ b/src/gpu/SkGpuDevice.cpp |
| @@ -1747,7 +1747,7 @@ bool SkGpuDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) { |
| void SkGpuDevice::flush() { |
| DO_DEFERRED_CLEAR(); |
| - fContext->resolveRenderTarget(fRenderTarget); |
| + fRenderTarget->prepareForExternalRead(); |
|
joshualitt
2014/11/03 21:47:45
I thought we had to flush here?
bsalomon
2014/11/03 21:54:16
The new semantics of prepareForExternalRead() mean
|
| } |
| /////////////////////////////////////////////////////////////////////////////// |