aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 29ac95a918..89cd171a5c 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -928,8 +928,14 @@ private:
// for use with textures released from an GrAutoScratchTexture.
void addExistingTextureToCache(GrTexture* texture);
- GrEffect* createPMToUPMEffect(GrTexture* texture, bool swapRAndB);
- GrEffect* createUPMToPMEffect(GrTexture* texture, bool swapRAndB);
+ bool installPMToUPMEffect(GrTexture* texture,
+ bool swapRAndB,
+ const GrMatrix& matrix,
+ GrEffectStage* stage);
+ bool installUPMToPMEffect(GrTexture* texture,
+ bool swapRAndB,
+ const GrMatrix& matrix,
+ GrEffectStage* stage);
typedef GrRefCnt INHERITED;
};