diff options
author | Brian Osman <brianosman@google.com> | 2016-11-23 09:37:01 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-23 15:52:27 +0000 |
commit | 45580d3e3024c1536e8e1b2017b704805442b634 (patch) | |
tree | 9ed9fe3bdc0d949ec8e83b06691b37b6ffdcc54a /include/gpu/GrRenderTarget.h | |
parent | 07764cefbb18041a77897df3453903b0a2016583 (diff) |
Added GrSurfaceContext and GrTextureContext
This lets copy-to-texture to be treated like copy-to-rt.
To match current behavior, though, copies to texture are
still executed immediately (forcing a flush).
Once MDB is enabled, copies to texture will be deferred.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5093
Change-Id: Icc0ce5435507a5f0a237c22eedef879824952367
Reviewed-on: https://skia-review.googlesource.com/5093
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
-rw-r--r-- | include/gpu/GrRenderTarget.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index dcbe8ea974..2d4eaf7482 100644 --- a/include/gpu/GrRenderTarget.h +++ b/include/gpu/GrRenderTarget.h @@ -115,10 +115,6 @@ public: GrRenderTargetPriv renderTargetPriv(); const GrRenderTargetPriv renderTargetPriv() const; - GrRenderTargetOpList* getLastRenderTargetOpList() { - return (GrRenderTargetOpList*) this->getLastOpList(); - } - protected: enum class Flags { kNone = 0, |