| Index: include/gpu/GrSurface.h
|
| diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
|
| index 9d891493b00f9f3e97fc64f0c1e7d5948d613433..0de626d16e61c4217adc316046780f68807b0660 100644
|
| --- a/include/gpu/GrSurface.h
|
| +++ b/include/gpu/GrSurface.h
|
| @@ -116,6 +116,13 @@ public:
|
| */
|
| void flushWrites();
|
|
|
| +
|
| + /**
|
| + * After this returns any pending writes to the surface will be issued to the backend 3D API and
|
| + * if the surface has MSAA it will be resolved.
|
| + */
|
| + void prepareForExternalRead();
|
| +
|
| /** Access methods that are only to be used within Skia code. */
|
| inline GrSurfacePriv surfacePriv();
|
| inline const GrSurfacePriv surfacePriv() const;
|
|
|