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. |
* |