diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-01 17:02:46 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-01 17:02:46 +0000 |
commit | d8b5faca043100d7a1e4594b4d10e462532af390 (patch) | |
tree | b1606326d0bf74396695da623c048fe0921402db /include/gpu/GrContext.h | |
parent | 6e7251669cc57515fd2783865fc1cdd49b8b6b9a (diff) |
Reland r6233 with fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@6241 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 10 |
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; }; |