Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 01f4ac963b47f31c96e09b6a9115e8b21e1f4091..d455acda30aaaea6b366da9aeacc9d2b7e93a923 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -281,6 +281,7 @@ public: |
} |
const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; } |
SkColorSpace* getColorSpace() const { return fColorSpace.get(); } |
+ GrSurfaceOrigin origin() const { return fRenderTarget->origin(); } |
bool wasAbandoned() const; |