/external/skia/src/gpu/vk/ |
D | GrVkSampler.cpp | 29 GrVkSampler* GrVkSampler::Create(GrVkGpu* gpu, const GrSamplerState& samplerState, in Create() argument 47 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; in Create() 48 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; in Create() 50 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); in Create() 51 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); in Create() 64 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter(); in Create() 112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create() 129 GrVkSampler::Key GrVkSampler::GenerateKey(const GrSamplerState& samplerState, in GenerateKey() argument 134 SkASSERT(static_cast<int>(samplerState.filter()) <= 3); in GenerateKey() 135 uint8_t samplerKey = static_cast<uint16_t>(samplerState.filter()); in GenerateKey() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkSampler.cpp | 29 GrVkSampler* GrVkSampler::Create(GrVkGpu* gpu, const GrSamplerState& samplerState, in Create() argument 47 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; in Create() 48 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; in Create() 50 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); in Create() 51 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); in Create() 64 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter(); in Create() 112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create() 129 GrVkSampler::Key GrVkSampler::GenerateKey(const GrSamplerState& samplerState, in GenerateKey() argument 134 SkASSERT(static_cast<int>(samplerState.filter()) <= 3); in GenerateKey() 135 uint8_t samplerKey = static_cast<uint16_t>(samplerState.filter()); in GenerateKey() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlSampler.mm | 36 GrMtlSampler* GrMtlSampler::Create(const GrMtlGpu* gpu, const GrSamplerState& samplerState, 50 samplerDesc.sAddressMode = wrap_mode_to_mtl_sampler_address(samplerState.wrapModeX(), 52 samplerDesc.tAddressMode = wrap_mode_to_mtl_sampler_address(samplerState.wrapModeY(), 54 samplerDesc.magFilter = mtlMinMagFilterModes[static_cast<int>(samplerState.filter())]; 55 samplerDesc.minFilter = mtlMinMagFilterModes[static_cast<int>(samplerState.filter())]; 58 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter() && maxMipLevel > 0;
|
/external/skia/src/gpu/mtl/ |
D | GrMtlSampler.mm | 36 GrMtlSampler* GrMtlSampler::Create(const GrMtlGpu* gpu, const GrSamplerState& samplerState, 50 samplerDesc.sAddressMode = wrap_mode_to_mtl_sampler_address(samplerState.wrapModeX(), 52 samplerDesc.tAddressMode = wrap_mode_to_mtl_sampler_address(samplerState.wrapModeY(), 54 samplerDesc.magFilter = mtlMinMagFilterModes[static_cast<int>(samplerState.filter())]; 55 samplerDesc.minFilter = mtlMinMagFilterModes[static_cast<int>(samplerState.filter())]; 58 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter() && maxMipLevel > 0;
|
/external/skia/src/gpu/ |
D | GrPrimitiveProcessor.cpp | 58 const GrSamplerState& samplerState, in TextureSampler() argument 60 this->reset(textureType, config, samplerState, extraSamplerKey); in TextureSampler() 72 const GrSamplerState& samplerState, in reset() argument 75 fSamplerState = samplerState; in reset() 76 fSamplerState.setFilterMode(clamp_filter(textureType, samplerState.filter())); in reset()
|
D | GrPaint.cpp | 43 const GrSamplerState& samplerState) { in addColorTextureProcessor() argument 45 samplerState)); in addColorTextureProcessor()
|
D | GrTextureProducer.cpp | 76 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu() local 77 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); in CopyOnGpu() 219 GrSamplerState samplerState(wrapMode, *filterOrNullForBicubic); in createFragmentProcessorForDomainAndFilter() local 220 return GrSimpleTextureEffect::Make(std::move(proxy), textureMatrix, samplerState); in createFragmentProcessorForDomainAndFilter()
|
D | GrFragmentProcessor.cpp | 429 const GrSamplerState& samplerState) { in TextureSampler() argument 430 this->reset(std::move(proxy), samplerState); in TextureSampler() 440 const GrSamplerState& samplerState) { in reset() argument 442 fSamplerState = samplerState; in reset() 443 fSamplerState.setFilterMode(SkTMin(samplerState.filter(), this->proxy()->highestFilterMode())); in reset()
|
/external/skqp/src/gpu/ |
D | GrPrimitiveProcessor.cpp | 58 const GrSamplerState& samplerState, in TextureSampler() argument 60 this->reset(textureType, config, samplerState, extraSamplerKey); in TextureSampler() 72 const GrSamplerState& samplerState, in reset() argument 75 fSamplerState = samplerState; in reset() 76 fSamplerState.setFilterMode(clamp_filter(textureType, samplerState.filter())); in reset()
|
D | GrTextureMaker.cpp | 124 GrSamplerState samplerState; in createFragmentProcessor() local 126 samplerState = GrSamplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); in createFragmentProcessor() 129 samplerState = GrSamplerState::ClampNearest(); in createFragmentProcessor() 132 sk_sp<GrTextureProxy> proxy(this->refTextureProxyForParams(samplerState, scaleAdjust)); in createFragmentProcessor()
|
D | GrTextureAdjuster.cpp | 122 GrSamplerState samplerState; in createFragmentProcessor() local 124 samplerState.setFilterMode(*filterOrNullForBicubic); in createFragmentProcessor() 128 this->refTextureProxyForParams(samplerState, scaleAdjust)); in createFragmentProcessor()
|
D | GrTextureProducer.cpp | 73 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu() local 74 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); in CopyOnGpu() 211 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); in CreateFragmentProcessorForDomainAndFilter() local 212 return GrSimpleTextureEffect::Make(std::move(proxy), textureMatrix, samplerState); in CreateFragmentProcessorForDomainAndFilter()
|
D | GrPaint.cpp | 43 const GrSamplerState& samplerState) { in addColorTextureProcessor() argument 45 samplerState)); in addColorTextureProcessor()
|
D | GrFragmentProcessor.cpp | 509 const GrSamplerState& samplerState) { in TextureSampler() argument 510 this->reset(std::move(proxy), samplerState); in TextureSampler() 520 const GrSamplerState& samplerState) { in reset() argument 522 fSamplerState = samplerState; in reset() 523 fSamplerState.setFilterMode(SkTMin(samplerState.filter(), this->proxy()->highestFilterMode())); in reset()
|
D | SkGpuDevice.cpp | 769 GrSamplerState samplerState; in shouldTileImage() local 783 samplerState.setFilterMode(textureFilterMode); in shouldTileImage() 792 samplerState, srcRectPtr, maxTileSize, &outTileSize, in shouldTileImage() 820 GrSamplerState samplerState; in drawBitmap() local 835 samplerState.setFilterMode(textureFilterMode); in drawBitmap() 839 SkMatrix::I(), samplerState, &srcRect, maxTileSizeForFilter, in drawBitmap() 842 samplerState, paint, SkCanvas::kStrict_SrcRectConstraint, in drawBitmap() 978 const GrSamplerState& samplerState, in drawBitmapTile() argument 989 SkASSERT(!samplerState.isRepeated()); in drawBitmapTile() 993 GrRefCachedBitmapTextureProxy(fContext.get(), bitmap, samplerState, scales); in drawBitmapTile() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.flattenSubset.frag.out | 13 0:33 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ t… 19 …nd child to first child ( temp structure{ temp float b, temp sampler samplerState, temp structur… 20 …ect index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structur… 21 …mp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structur… 24 0:34 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp … 31 …ect index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structur… 32 …mp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structur… 72 0:33 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ t… 78 …nd child to first child ( temp structure{ temp float b, temp sampler samplerState, temp structur… 79 …ect index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structur… [all …]
|
/external/skqp/src/gpu/effects/ |
D | GrBicubicEffect.cpp | 117 processor.textureSampler(0).samplerState()); in onSetData() 146 SkASSERT(fTextureSampler.samplerState().wrapModeX() == GrSamplerState::WrapMode::kClamp && in GrBicubicEffect() 147 fTextureSampler.samplerState().wrapModeY() == GrSamplerState::WrapMode::kClamp); in GrBicubicEffect()
|
D | GrDistanceFieldGeoProc.cpp | 295 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 310 samplerState, in TestCreate() 590 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 604 samplerState, in TestCreate() 910 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 921 return GrDistanceFieldLCDTextGeoProc::Make(*d->caps()->shaderCaps(), proxies, 1, samplerState, in TestCreate()
|
/external/deqp/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 60 SamplingState samplerState; member 119 SamplingState samplerState; member
|
/external/skqp/src/gpu/gl/ |
D | GrGLProgram.cpp | 113 fGpu->bindTexture(i, primProc.textureSampler(i).samplerState(), tex); in updatePrimitiveProcessorTextureBindings() 126 fGpu->bindTexture((*nextTexSamplerIdx)++, sampler.samplerState(), in setFragmentData()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgram.cpp | 113 fGpu->bindTexture(i, primProc.textureSampler(i).samplerState(), tex); in updatePrimitiveProcessorTextureBindings() 126 fGpu->bindTexture((*nextTexSamplerIdx)++, sampler.samplerState(), in setFragmentData()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 295 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 310 samplerState, in TestCreate() 590 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 604 samplerState, in TestCreate() 911 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate() local 922 return GrDistanceFieldLCDTextGeoProc::Make(*d->caps()->shaderCaps(), proxies, 1, samplerState, in TestCreate()
|
/external/skia/src/shaders/ |
D | SkImageShader.cpp | 223 GrSamplerState samplerState(wrapModes, textureFilterMode); in asFragmentProcessor() local 225 sk_sp<GrTextureProxy> proxy(as_IB(fImage)->asTextureProxyRef(args.fContext, samplerState, in asFragmentProcessor() 247 domainX, domainY, samplerState); in asFragmentProcessor() 249 inner = GrSimpleTextureEffect::Make(std::move(proxy), lmInverse, samplerState); in asFragmentProcessor()
|
/external/skqp/src/shaders/ |
D | SkImageShader.cpp | 218 GrSamplerState samplerState(wrapModes, textureFilterMode); in asFragmentProcessor() local 220 sk_sp<GrTextureProxy> proxy(as_IB(fImage)->asTextureProxyRef(args.fContext, samplerState, in asFragmentProcessor() 242 domainX, domainY, samplerState); in asFragmentProcessor() 244 inner = GrSimpleTextureEffect::Make(std::move(proxy), lmInverse, samplerState); in asFragmentProcessor()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 519 const GrSamplerState& samplerState, in Make() argument 523 vertexSpec, caps, textureType, textureConfig, samplerState, extraSamplerKey, in Make() 686 const GrSamplerState& samplerState, in QuadPerEdgeAAGeometryProcessor() argument 691 , fSampler(textureType, textureConfig, samplerState, extraSamplerKey) { in QuadPerEdgeAAGeometryProcessor() 761 const GrSamplerState& samplerState, uint32_t extraSamplerKey, in MakeTexturedProcessor() argument 764 samplerState, extraSamplerKey, in MakeTexturedProcessor()
|