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

Unified Diff: include/gpu/GrContext.h

Issue 1216243003: Rename flushForExternalRead->flushForExternalIO and always call in SkSurface::getTextureHandle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 5 years, 6 months 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
« no previous file with comments | « include/core/SkImage.h ('k') | include/gpu/GrSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 63f577fb152c423d914e7ff1fc00e1c03f85dedb..1f1ebc2db2ba329c15eba6d80149b300e27997c4 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -304,15 +304,14 @@ public:
void flushSurfaceWrites(GrSurface* surface);
/**
- * Equivalent to flushSurfaceWrites but also performs MSAA resolve if necessary. This call is
- * used to make the surface contents available to be read in the backend 3D API, usually for a
- * compositing step external to Skia.
+ * Finalizes all pending reads and writes to the surface and also performs an MSAA resolve
+ * if necessary.
*
* It is not necessary to call this before reading the render target via Skia/GrContext.
* GrContext will detect when it must perform a resolve before reading pixels back from the
* surface or using it as a texture.
*/
- void prepareSurfaceForExternalRead(GrSurface*);
+ void prepareSurfaceForExternalIO(GrSurface*);
/**
* An ID associated with this context, guaranteed to be unique.
« no previous file with comments | « include/core/SkImage.h ('k') | include/gpu/GrSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698