/external/skia/src/gpu/ |
H A D | GrPaint.cpp | 45 const GrSamplerState& samplerState) { 47 samplerState)); 44 addColorTextureProcessor(sk_sp<GrTextureProxy> proxy, const SkMatrix& matrix, const GrSamplerState& samplerState) argument
|
H A D | GrTextureMaker.cpp | 114 GrSamplerState samplerState; local 116 samplerState = GrSamplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); 119 samplerState = GrSamplerState::ClampNearest(); 123 sk_sp<GrTextureProxy> proxy(this->refTextureProxyForParams(samplerState, dstColorSpace,
|
H A D | GrProcessor.cpp | 203 const GrSamplerState& samplerState) { 204 this->reset(std::move(proxy), samplerState); local 215 const GrSamplerState& samplerState, 217 fSamplerState = samplerState; 219 fSamplerState.setFilterMode(SkTMin(samplerState.filter(), this->proxy()->highestFilterMode())); 202 TextureSampler(sk_sp<GrTextureProxy> proxy, const GrSamplerState& samplerState) argument 214 reset(sk_sp<GrTextureProxy> proxy, const GrSamplerState& samplerState, GrShaderFlags visibility) argument
|
H A D | GrTextureAdjuster.cpp | 108 GrSamplerState samplerState; local 110 samplerState.setFilterMode(*filterOrNullForBicubic); 114 this->refTextureProxyForParams(samplerState, nullptr, nullptr, scaleAdjust));
|
H A D | GrTextureProducer.cpp | 59 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); 60 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); local 197 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); 198 return GrSimpleTextureEffect::Make(std::move(proxy), textureMatrix, samplerState);
|
H A D | GrProcessor.h | 301 const GrSamplerState& samplerState() const { return fSamplerState; } function in class:GrResourceIOProcessor::TextureSampler
|
H A D | SkGpuDevice.cpp | 758 GrSamplerState samplerState; local 772 samplerState.setFilterMode(textureFilterMode); 781 samplerState, srcRectPtr, maxTileSize, &outTileSize, 809 GrSamplerState samplerState; local 824 samplerState.setFilterMode(textureFilterMode); 828 SkMatrix::I(), samplerState, &srcRect, maxTileSizeForFilter, 831 samplerState, paint, SkCanvas::kStrict_SrcRectConstraint, 967 const GrSamplerState& samplerState, 978 SkASSERT(!samplerState.isRepeated()); 982 GrRefCachedBitmapTextureProxy(fContext.get(), bitmap, samplerState, scale 963 drawBitmapTile(const SkBitmap& bitmap, const SkMatrix& viewMatrix, const SkRect& dstRect, const SkRect& srcRect, const GrSamplerState& samplerState, const SkPaint& paint, SkCanvas::SrcRectConstraint constraint, bool bicubic, bool needsTextureDomain) argument [all...] |
/external/skia/src/gpu/vk/ |
H A D | GrVkSampler.cpp | 26 GrVkSampler* GrVkSampler::Create(const GrVkGpu* gpu, const GrSamplerState& samplerState, argument 44 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; 45 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; 47 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); 48 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); 61 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter() && maxMipLevel > 0; 72 return new GrVkSampler(sampler, GenerateKey(samplerState, maxMipLevel)); 80 uint16_t GrVkSampler::GenerateKey(const GrSamplerState& samplerState, uint32_t maxMipLevel) { argument 85 SkASSERT(static_cast<int>(samplerState.filter()) <= 3); 86 uint16_t key = static_cast<uint16_t>(samplerState [all...] |
H A D | GrVkCopyManager.cpp | 260 GrSamplerState samplerState = GrSamplerState::ClampNearest(); local 263 samplerState, srcTex->texturePriv().maxMipMapLevel());
|
/external/skqp/src/gpu/ |
H A D | GrPaint.cpp | 45 const GrSamplerState& samplerState) { 47 samplerState)); 44 addColorTextureProcessor(sk_sp<GrTextureProxy> proxy, const SkMatrix& matrix, const GrSamplerState& samplerState) argument
|
H A D | GrTextureMaker.cpp | 114 GrSamplerState samplerState; local 116 samplerState = GrSamplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); 119 samplerState = GrSamplerState::ClampNearest(); 123 sk_sp<GrTextureProxy> proxy(this->refTextureProxyForParams(samplerState, dstColorSpace,
|
H A D | GrProcessor.cpp | 203 const GrSamplerState& samplerState) { 204 this->reset(std::move(proxy), samplerState); local 215 const GrSamplerState& samplerState, 217 fSamplerState = samplerState; 219 fSamplerState.setFilterMode(SkTMin(samplerState.filter(), this->proxy()->highestFilterMode())); 202 TextureSampler(sk_sp<GrTextureProxy> proxy, const GrSamplerState& samplerState) argument 214 reset(sk_sp<GrTextureProxy> proxy, const GrSamplerState& samplerState, GrShaderFlags visibility) argument
|
H A D | GrTextureAdjuster.cpp | 97 GrSamplerState samplerState; local 99 samplerState.setFilterMode(*filterOrNullForBicubic); 103 this->refTextureProxySafeForParams(samplerState, scaleAdjust));
|
H A D | GrTextureProducer.cpp | 55 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); 56 paint.addColorTextureProcessor(std::move(inputProxy), SkMatrix::I(), samplerState); local 193 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); 194 return GrSimpleTextureEffect::Make(std::move(proxy), textureMatrix, samplerState);
|
H A D | GrProcessor.h | 327 const GrSamplerState& samplerState() const { return fSamplerState; } function in class:GrResourceIOProcessor::TextureSampler
|
H A D | SkGpuDevice.cpp | 762 GrSamplerState samplerState; local 775 samplerState.setFilterMode(textureFilterMode); 784 samplerState, srcRectPtr, maxTileSize, &outTileSize, 812 GrSamplerState samplerState; local 826 samplerState.setFilterMode(textureFilterMode); 830 SkMatrix::I(), samplerState, &srcRect, maxTileSizeForFilter, 833 samplerState, paint, SkCanvas::kStrict_SrcRectConstraint, 969 const GrSamplerState& samplerState, 980 SkASSERT(!samplerState.isRepeated()); 983 GrRefCachedBitmapTextureProxy(fContext.get(), bitmap, samplerState, nullpt 965 drawBitmapTile(const SkBitmap& bitmap, const SkMatrix& viewMatrix, const SkRect& dstRect, const SkRect& srcRect, const GrSamplerState& samplerState, const SkPaint& paint, SkCanvas::SrcRectConstraint constraint, bool bicubic, bool needsTextureDomain) argument [all...] |
/external/skqp/src/gpu/vk/ |
H A D | GrVkSampler.cpp | 26 GrVkSampler* GrVkSampler::Create(const GrVkGpu* gpu, const GrSamplerState& samplerState, argument 44 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; 45 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; 47 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); 48 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); 61 bool useMipMaps = GrSamplerState::Filter::kMipMap == samplerState.filter() && maxMipLevel > 0; 72 return new GrVkSampler(sampler, GenerateKey(samplerState, maxMipLevel)); 80 uint16_t GrVkSampler::GenerateKey(const GrSamplerState& samplerState, uint32_t maxMipLevel) { argument 85 SkASSERT(static_cast<int>(samplerState.filter()) <= 3); 86 uint16_t key = static_cast<uint16_t>(samplerState [all...] |
H A D | GrVkCopyManager.cpp | 257 GrSamplerState samplerState = GrSamplerState::ClampNearest(); local 260 samplerState, srcTex->texturePriv().maxMipMapLevel());
|
/external/deqp/modules/glshared/ |
H A D | glsSamplerObjectTest.hpp | 60 SamplingState samplerState; member in struct:deqp::gls::TextureSamplerTest::TestSpec 119 SamplingState samplerState; member in struct:deqp::gls::MultiTextureSamplerTest::TestSpec
|
/external/swiftshader/src/D3D9/ |
H A D | Direct3DStateBlock9.hpp | 140 unsigned long samplerState[16 + 4][D3DSAMP_DMAPOFFSET + 1]; member in class:D3D9::Direct3DStateBlock9
|
H A D | Direct3DDevice9.hpp | 295 unsigned long samplerState[16 + 4][D3DSAMP_DMAPOFFSET + 1]; member in class:D3D9::Direct3DDevice9
|
/external/swiftshader/src/Renderer/ |
H A D | Sampler.cpp | 86 Sampler::State Sampler::samplerState() const function in class:sw::Sampler
|
/external/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3006 void GrGLGpu::bindTexture(int unitIdx, const GrSamplerState& samplerState, bool allowSRGBInputs, argument 3012 if (samplerState.isRepeated()) { 3041 GrSamplerState::Filter filterMode = samplerState.filter(); 3075 newTexParams.fWrapS = wrap_mode_to_gl_wrap(samplerState.wrapModeX()); 3076 newTexParams.fWrapT = wrap_mode_to_gl_wrap(samplerState.wrapModeY());
|
/external/skqp/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3026 void GrGLGpu::bindTexture(int unitIdx, const GrSamplerState& samplerState, bool allowSRGBInputs, argument 3032 if (samplerState.isRepeated()) { 3061 GrSamplerState::Filter filterMode = samplerState.filter(); 3095 newTexParams.fWrapS = wrap_mode_to_gl_wrap(samplerState.wrapModeX()); 3096 newTexParams.fWrapT = wrap_mode_to_gl_wrap(samplerState.wrapModeY());
|