aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrTextureContext.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/GrTextureContext.cpp b/src/gpu/GrTextureContext.cpp
index 22620fed0f..59dae3f0f2 100644
--- a/src/gpu/GrTextureContext.cpp
+++ b/src/gpu/GrTextureContext.cpp
@@ -45,6 +45,12 @@ GrTextureContext::~GrTextureContext() {
SkSafeUnref(fOpList);
}
+GrRenderTargetProxy* GrTextureContext::asDeferredRenderTarget() {
+ // If the proxy can return an RTProxy it should've been wrapped in a RTContext
+ SkASSERT(!fTextureProxy->asRenderTargetProxy());
+ return nullptr;
+}
+
GrTextureOpList* GrTextureContext::getOpList() {
ASSERT_SINGLE_OWNER
SkDEBUGCODE(this->validate();)