Home
last modified time | relevance | path

Searched refs:dstTexture (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/
DGrXferProcessor.cpp20 GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture, in GrXferProcessor() argument
26 if (dstTexture && dstTexture->texture()) { in GrXferProcessor()
28 fDstTexture.reset(dstTexture->texture()); in GrXferProcessor()
29 fDstTextureOffset = dstTexture->offset(); in GrXferProcessor()
74 if (const GrTexture* dstTexture = this->getDstTexture()) { in getGLSLProcessorKey() local
76 if (kTopLeft_GrSurfaceOrigin == dstTexture->origin()) { in getGLSLProcessorKey()
197 const DstTexture* dstTexture, in createXferProcessor() argument
202 SkASSERT(dstTexture && dstTexture->texture()); in createXferProcessor()
204 SkASSERT(!dstTexture || !dstTexture->texture()); in createXferProcessor()
207 SkASSERT(!dstTexture || !dstTexture->texture()); in createXferProcessor()
[all …]
DGrDrawTarget.cpp127 GrXferProcessor::DstTexture* dstTexture, in setupDstReadIfNecessary() argument
142 dstTexture->setTexture(rtTex); in setupDstReadIfNecessary()
143 dstTexture->setOffset(0, 0); in setupDstReadIfNecessary()
182 dstTexture->setTexture(copy); in setupDstReadIfNecessary()
183 dstTexture->setOffset(copyRect.fLeft, copyRect.fTop); in setupDstReadIfNecessary()
/external/skia/src/effects/
DSkGpuBlurUtils.cpp209 GrTexture* dstTexture; in GaussianBlur() local
214 dstTexture = temp1.get(); in GaussianBlur()
222 if (nullptr == dstTexture || nullptr == tempTexture) { in GaussianBlur()
256 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur()
264 srcTexture = dstTexture; in GaussianBlur()
265 SkTSwap(dstTexture, tempTexture); in GaussianBlur()
278 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur()
287 srcTexture = dstTexture; in GaussianBlur()
288 SkTSwap(dstTexture, tempTexture); in GaussianBlur()
312 context->drawContext(dstTexture->asRenderTarget())); in GaussianBlur()
[all …]
DSkArithmeticMode_gpu.cpp232 ArithmeticXP::ArithmeticXP(const DstTexture* dstTexture, bool hasMixedSamples, in ArithmeticXP() argument
234 : INHERITED(dstTexture, true, hasMixedSamples) in ArithmeticXP()
269 const DstTexture* dstTexture) const { in onCreateXferProcessor()
270 return new ArithmeticXP(dstTexture, hasMixedSamples, fK1, fK2, fK3, fK4, fEnforcePMColor); in onCreateXferProcessor()
DSkPixelXorXfermode.cpp230 PixelXorXP(const DstTexture* dstTexture, bool hasMixedSamples, SkPMColor opColor) in PixelXorXP() argument
231 : INHERITED(dstTexture, true, hasMixedSamples) in PixelXorXP()
339 const DstTexture* dstTexture) const override { in onCreateXferProcessor()
340 return new PixelXorXP(dstTexture, hasMixedSamples, fOpColor); in onCreateXferProcessor()
DSkAvoidXfermode.cpp353 AvoidXP(const DstTexture* dstTexture, bool hasMixedSamples, in AvoidXP() argument
355 : INHERITED(dstTexture, true, hasMixedSamples) in AvoidXP()
486 const DstTexture* dstTexture) const override { in onCreateXferProcessor()
487 return new AvoidXP(dstTexture, hasMixedSamples, fOpColor, fTolerance, fMode); in onCreateXferProcessor()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp507 ShaderPDXferProcessor(const DstTexture* dstTexture, in ShaderPDXferProcessor() argument
510 : INHERITED(dstTexture, true, hasMixedSamples) in ShaderPDXferProcessor()
741 const DstTexture* dstTexture) const { in onCreateXferProcessor()
743 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, fXfermode); in onCreateXferProcessor()
753 SkASSERT(!dstTexture || !dstTexture->texture()); in onCreateXferProcessor()
763 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, fXfermode); in onCreateXferProcessor()
766 SkASSERT(!dstTexture || !dstTexture->texture()); in onCreateXferProcessor()
859 const GrXferProcessor::DstTexture* dstTexture) { in CreateSrcOverXferProcessor() argument
861 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, SkXfermode::kSrcOver_Mode); in CreateSrcOverXferProcessor()
882 SkASSERT(!dstTexture || !dstTexture->texture()); in CreateSrcOverXferProcessor()
[all …]
DGrCustomXfermode.cpp86 CustomXP(const DstTexture* dstTexture, bool hasMixedSamples, SkXfermode::Mode mode) in CustomXP() argument
87 : INHERITED(dstTexture, true, hasMixedSamples), in CustomXP()
367 const DstTexture* dstTexture) const { in onCreateXferProcessor()
369 SkASSERT(!dstTexture || !dstTexture->texture()); in onCreateXferProcessor()
372 return new CustomXP(dstTexture, hasMixedSamples, fMode); in onCreateXferProcessor()
DGrDisableColorXP.h32 const DstTexture* dstTexture) const override;
DGrCoverageSetOpXP.cpp153 ShaderCSOXferProcessor(const DstTexture* dstTexture, in ShaderCSOXferProcessor() argument
157 : INHERITED(dstTexture, true, hasMixedSamples) in ShaderCSOXferProcessor()
/external/skia/tools/debugger/
DSkOverdrawMode.cpp145 OverdrawXP(const DstTexture* dstTexture, bool hasMixedSamples) in OverdrawXP() argument
146 : INHERITED(dstTexture, true, hasMixedSamples) { in OverdrawXP()
228 const DstTexture* dstTexture) const override { in onCreateXferProcessor()
229 return new OverdrawXP(dstTexture, hasMixedSamples); in onCreateXferProcessor()
/external/skia/tests/
DGrPorterDuffTest.cpp1202 GrXferProcessor::DstTexture* dstTexture = variable
1205 xpf->createXferProcessor(optimizations, false, dstTexture, caps));