Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: src/gpu/SkGpuDevice.cpp

Issue 696293004: Rename and clarify semantics of GrContext::resolveRenderTarget. (Closed) Base URL: https://skia.googlesource.com/skia.git@fix
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/gpu/GrContext.cpp ('K') | « src/gpu/GrSurface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
///////////////////////////////////////////////////////////////////////////////
« src/gpu/GrContext.cpp ('K') | « src/gpu/GrSurface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698