diff options
author | 2015-06-29 07:37:01 -0700 | |
---|---|---|
committer | 2015-06-29 07:37:01 -0700 | |
commit | fa5e68e4b4a10227d3e2c0725b55260175903a80 (patch) | |
tree | c6171685792b29e70a1912b280f758013d855a9b /src/image/SkSurface_Base.h | |
parent | e784db417d72ce08828c572ed107e91222e0c0f1 (diff) |
add getTextureHandle to SkSurface
BUG=485243
Review URL: https://codereview.chromium.org/1210303003
Diffstat (limited to 'src/image/SkSurface_Base.h')
-rw-r--r-- | src/image/SkSurface_Base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/image/SkSurface_Base.h b/src/image/SkSurface_Base.h index 30af9761d3..3f1301ee34 100644 --- a/src/image/SkSurface_Base.h +++ b/src/image/SkSurface_Base.h @@ -18,6 +18,10 @@ public: SkSurface_Base(const SkImageInfo&, const SkSurfaceProps*); virtual ~SkSurface_Base(); + virtual GrBackendObject onGetTextureHandle(TextureHandleAccess) { + return 0; + } + /** * Allocate a canvas that will draw into this surface. We will cache this * canvas, to return the same object to the caller multiple times. We |