/external/skqp/src/gpu/effects/ |
D | GrTextureDomain.cpp | 24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, in GrTextureDomain() function in GrTextureDomain 52 static SkString clamp_expression(GrTextureDomain::Mode mode, const char* inCoord, in clamp_expression() 57 case GrTextureDomain::kIgnore_Mode: in clamp_expression() 60 case GrTextureDomain::kDecal_Mode: in clamp_expression() 63 case GrTextureDomain::kClamp_Mode: in clamp_expression() 67 case GrTextureDomain::kRepeat_Mode: in clamp_expression() 79 void GrTextureDomain::GLDomain::sampleTexture(GrGLSLShaderBuilder* builder, in sampleTexture() 82 const GrTextureDomain& textureDomain, in sampleTexture() 180 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData() 181 const GrTextureDomain& textureDomain, in setData() [all …]
|
D | GrTextureDomain.h | 28 class GrTextureDomain { 46 static const GrTextureDomain& IgnoredDomain() { in IgnoredDomain() 47 static const GrTextureDomain gDomain((GrTextureProxy*)nullptr, in IgnoredDomain() 56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode modeX, Mode modeY, int index = -1); 58 GrTextureDomain(const GrTextureDomain&) = default; 100 bool operator==(const GrTextureDomain& that) const { 135 const GrTextureDomain& textureDomain, 146 void setData(const GrGLSLProgramDataManager&, const GrTextureDomain&, GrTextureProxy*, 158 static uint32_t DomainKey(const GrTextureDomain& domain) { in DomainKey() 193 GrTextureDomain::Mode mode, [all …]
|
D | GrBicubicEffect.h | 29 const GrTextureDomain& domain() const { return fDomain; } in domain() 39 return Make(std::move(proxy), matrix, wrapModes, GrTextureDomain::kIgnore_Mode, in Make() 40 GrTextureDomain::kIgnore_Mode); in Make() 51 GrTextureDomain::Mode modeX, in Make() 52 GrTextureDomain::Mode modeY) { in Make() 80 GrTextureDomain::Mode modeX, GrTextureDomain::Mode modeY); 93 GrTextureDomain fDomain;
|
D | GrGaussianConvolutionFragmentProcessor.h | 29 GrTextureDomain::Mode mode, in Make() 38 bool useBounds() const { return fMode != GrTextureDomain::kIgnore_Mode; } in useBounds() 43 GrTextureDomain::Mode mode() const { return fMode; } in mode() 76 GrTextureDomain::Mode mode, int bounds[2]); 98 GrTextureDomain::Mode fMode;
|
D | GrBicubicEffect.cpp | 22 b->add32(GrTextureDomain::GLDomain::DomainKey(bicubicEffect.domain())); in GenKey() 32 GrTextureDomain::GLDomain fDomain; 123 GrTextureDomain::Mode modeX, GrTextureDomain::Mode modeY) in GrBicubicEffect() 126 GrTextureDomain::IsDecalSampled(wrapModes, modeX,modeY))} in GrBicubicEffect() 129 GrTextureDomain::MakeTexelDomain( 143 , fDomain(proxy.get(), domain, GrTextureDomain::kClamp_Mode, GrTextureDomain::kClamp_Mode) in GrBicubicEffect()
|
D | GrMatrixConvolutionEffect.h | 26 GrTextureDomain::Mode tileMode, in Make() 39 GrTextureDomain::Mode tileMode, 51 const GrTextureDomain& domain() const { return fDomain; } in domain() 67 GrTextureDomain::Mode tileMode, 81 GrTextureDomain fDomain;
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 87 case GrTextureDomain::kClamp_Mode: { in emitCode() 92 case GrTextureDomain::kRepeat_Mode: { in emitCode() 98 case GrTextureDomain::kDecal_Mode: { in emitCode() 111 if (GrTextureDomain::kDecal_Mode == ce.mode()) { in emitCode() 143 if (GrTextureDomain::kClamp_Mode == conv.mode()) { in onSetData() 216 GrTextureDomain::Mode mode, in GrGaussianConvolutionFragmentProcessor() 220 mode == GrTextureDomain::kDecal_Mode)) in GrGaussianConvolutionFragmentProcessor() 282 int modeIdx = d->fRandom->nextRangeU(0, GrTextureDomain::kModeCount-1); in TestCreate() 300 dir, radius, sigma, static_cast<GrTextureDomain::Mode>(modeIdx), bounds); in TestCreate()
|
D | GrMatrixConvolutionEffect.cpp | 33 GrTextureDomain::GLDomain fDomain; 40 const GrTextureDomain& domain = mce.domain(); in emitCode() 122 b->add32(GrTextureDomain::GLDomain::DomainKey(m.domain())); in GenKey() 153 GrTextureDomain::Mode tileMode, in GrMatrixConvolutionEffect() 159 , fDomain(srcProxy.get(), GrTextureDomain::MakeTexelDomain(srcBounds, tileMode), in GrMatrixConvolutionEffect() 303 GrTextureDomain::Mode tileMode, in MakeGaussian() 339 GrTextureDomain::Mode tileMode = in TestCreate() 340 static_cast<GrTextureDomain::Mode>(d->fRandom->nextRangeU(0, 2)); in TestCreate()
|
D | GrRRectBlurEffect.h | 84 GrTextureDomain::kIgnore_Mode, in find_or_create_rrect_blur_mask()
|
D | GrRRectBlurEffect.fp | 84 GrTextureDomain::kIgnore_Mode,
|
/external/skqp/gm/ |
D | texturedomaineffect.cpp | 48 (kTargetWidth + 2 * kDrawPad) * GrTextureDomain::kModeCount + in onISize() 49 kTestPad * GrTextureDomain::kModeCount; in onISize() 134 for (int m = 0; m < GrTextureDomain::kModeCount; ++m) { in onDraw() 135 GrTextureDomain::Mode mode = (GrTextureDomain::Mode) m; in onDraw() 137 mode == GrTextureDomain::kRepeat_Mode) { in onDraw() 146 GrTextureDomain::MakeTexelDomain(texelDomains[d], mode), in onDraw()
|
/external/skqp/src/core/ |
D | SkGpuBlurUtils.cpp | 81 GrTextureDomain::Mode mode, in convolve_gaussian_1d() 114 GrTextureDomain::Mode mode, in convolve_gaussian_2d() 161 GrTextureDomain::Mode mode, in convolve_gaussian() 190 if (GrTextureDomain::kIgnore_Mode == mode) { in convolve_gaussian() 194 GrTextureDomain::kIgnore_Mode, bounds); in convolve_gaussian() 256 GrTextureDomain::kIgnore_Mode, bounds); in convolve_gaussian() 269 GrTextureDomain::Mode mode, in decimate() 277 if (GrTextureDomain::kIgnore_Mode == mode) { in decimate() 313 if (GrTextureDomain::kIgnore_Mode != mode && i == 1) { in decimate() 315 GrTextureDomain::Mode modeForScaling = GrTextureDomain::kRepeat_Mode == mode in decimate() [all …]
|
D | SkGpuBlurUtils.h | 46 GrTextureDomain::Mode mode,
|
D | SkBlurMF.cpp | 892 GrTextureDomain::kIgnore_Mode, in filterMaskGPU()
|
/external/skqp/src/shaders/ |
D | SkImageShader.cpp | 197 GrTextureDomain::Mode domainX = GrTextureDomain::kIgnore_Mode; in asFragmentProcessor() 198 GrTextureDomain::Mode domainY = GrTextureDomain::kIgnore_Mode; in asFragmentProcessor() 201 domainX = GrTextureDomain::kDecal_Mode; in asFragmentProcessor() 205 domainY = GrTextureDomain::kDecal_Mode; in asFragmentProcessor() 237 if (domainX != GrTextureDomain::kIgnore_Mode || domainY != GrTextureDomain::kIgnore_Mode) { in asFragmentProcessor() 238 SkRect domain = GrTextureDomain::MakeTexelDomain( in asFragmentProcessor()
|
/external/skqp/src/effects/imagefilters/ |
D | SkXfermodeImageFilter.cpp | 285 GrTextureDomain::MakeTexelDomain(bgSubset, GrTextureDomain::kDecal_Mode), in filterImageGPU() 286 GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest); in filterImageGPU() 302 GrTextureDomain::MakeTexelDomain(fgSubset, GrTextureDomain::kDecal_Mode), in filterImageGPU() 303 GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest); in filterImageGPU()
|
D | SkDisplacementMapEffect.cpp | 176 const GrTextureDomain& domain() const { return fDomain; } in domain() 204 GrTextureDomain fDomain; 414 GrTextureDomain::GLDomain fGLDomain; 444 GrTextureDomain::MakeTexelDomain(SkIRect::MakeSize(colorDimensions), in GrDisplacementMapEffect() 445 GrTextureDomain::kDecal_Mode), in GrDisplacementMapEffect() 446 GrTextureDomain::kDecal_Mode, GrTextureDomain::kDecal_Mode) in GrDisplacementMapEffect() 519 const GrTextureDomain& domain = displacementMap.domain(); in emitCode()
|
D | SkArithmeticImageFilter.cpp | 317 GrTextureDomain::MakeTexelDomain(bgSubset, GrTextureDomain::kDecal_Mode), in filterImageGPU() 318 GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest); in filterImageGPU() 334 GrTextureDomain::MakeTexelDomain(fgSubset, GrTextureDomain::kDecal_Mode), in filterImageGPU() 335 GrTextureDomain::kDecal_Mode, GrSamplerState::Filter::kNearest); in filterImageGPU()
|
D | SkMatrixConvolutionImageFilter.cpp | 293 static GrTextureDomain::Mode convert_tilemodes(SkMatrixConvolutionImageFilter::TileMode tileMode) { in convert_tilemodes() 296 return GrTextureDomain::kClamp_Mode; in convert_tilemodes() 298 return GrTextureDomain::kRepeat_Mode; in convert_tilemodes() 300 return GrTextureDomain::kDecal_Mode; in convert_tilemodes() 304 return GrTextureDomain::kIgnore_Mode; in convert_tilemodes()
|
D | SkBlurImageFilter.cpp | 135 static GrTextureDomain::Mode to_texture_domain_mode(SkBlurImageFilter::TileMode tileMode) { in to_texture_domain_mode() 138 return GrTextureDomain::kClamp_Mode; in to_texture_domain_mode() 140 return GrTextureDomain::kDecal_Mode; in to_texture_domain_mode() 142 return GrTextureDomain::kRepeat_Mode; in to_texture_domain_mode() 145 return GrTextureDomain::kDecal_Mode; in to_texture_domain_mode()
|
D | SkLightingImageFilter.cpp | 606 const GrTextureDomain& domain() const { return fDomain; } in domain() 621 GrTextureDomain fDomain; 1639 GrTextureDomain::GLDomain fDomain; 1676 static GrTextureDomain create_domain(GrTextureProxy* proxy, const SkIRect* srcBounds, in create_domain() 1677 GrTextureDomain::Mode mode) { in create_domain() 1679 SkRect texelDomain = GrTextureDomain::MakeTexelDomain(*srcBounds, mode); in create_domain() 1680 return GrTextureDomain(proxy, texelDomain, mode, mode); in create_domain() 1682 return GrTextureDomain::IgnoredDomain(); in create_domain() 1696 , fDomain(create_domain(proxy.get(), srcBounds, GrTextureDomain::kDecal_Mode)) in GrLightingEffect() 1911 b->add32(GrTextureDomain::GLDomain::DomainKey(lighting.domain())); in GenKey()
|
/external/skqp/src/gpu/ |
D | GrTextureProducer.cpp | 71 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu() 208 GrTextureDomain::kClamp_Mode, in CreateFragmentProcessorForDomainAndFilter()
|
D | SkGpuDevice.cpp | 1025 GrTextureDomain::kClamp_Mode, samplerState.filter()); in drawBitmapTile()
|
/external/skqp/gn/ |
D | gpu.gni | 363 "$_src/gpu/effects/GrTextureDomain.cpp", 364 "$_src/gpu/effects/GrTextureDomain.h",
|
/external/skqp/ |
D | Android.bp | 963 "src/gpu/effects/GrTextureDomain.cpp",
|