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

Unified Diff: include/gpu/GrContext.h

Issue 2262233002: Make GrTextureStripAtlas flush pending IO on newly acquired texture (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 4 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 | « gyp/gpu.gypi ('k') | include/private/GrTextureStripAtlas.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 a34a43733a8fc18040e9f15424458eb954598519..41292fe5cde94558f0f5f480eb68a64ec0204c7c 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -307,6 +307,12 @@ public:
void flushSurfaceWrites(GrSurface* surface);
/**
+ * After this returns any pending reads or writes to the surface will have been issued to the
+ * backend 3D API.
+ */
+ void flushSurfaceIO(GrSurface* surface);
+
+ /**
* Finalizes all pending reads and writes to the surface and also performs an MSAA resolve
* if necessary.
*
« no previous file with comments | « gyp/gpu.gypi ('k') | include/private/GrTextureStripAtlas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698