/external/skia/include/gpu/ |
H A D | GrSamplerParams.h | 17 class GrSamplerParams { class 19 static const GrSamplerParams& ClampNoFilter() { 20 static const GrSamplerParams gParams; 23 static const GrSamplerParams& ClampBilerp() { 24 static const GrSamplerParams gParams(SkShader::kClamp_TileMode, kBilerp_FilterMode); 28 GrSamplerParams() { function in class:GrSamplerParams 38 GrSamplerParams(SkShader::TileMode tileXAndY, FilterMode filterMode) { function in class:GrSamplerParams 42 GrSamplerParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { function in class:GrSamplerParams 46 GrSamplerParams(const GrSamplerParams function in class:GrSamplerParams [all...] |
H A D | GrTexture.h | 13 #include "GrSamplerParams.h" 54 GrSamplerParams::FilterMode highestFilterMode, bool wasMipMapDataProvided); 68 GrSamplerParams::FilterMode fHighestFilterMode;
|
/external/skia/src/gpu/vk/ |
H A D | GrVkSampler.h | 15 class GrSamplerParams; 21 static GrVkSampler* Create(const GrVkGpu* gpu, const GrSamplerParams&, uint32_t mipLevels); 26 static uint16_t GenerateKey(const GrSamplerParams&, uint32_t mipLevels);
|
H A D | GrVkSampler.cpp | 25 GrVkSampler* GrVkSampler::Create(const GrVkGpu* gpu, const GrSamplerParams& params, 60 bool useMipMaps = GrSamplerParams::kMipMap_FilterMode == params.filterMode() && mipLevels > 1; 79 uint16_t GrVkSampler::GenerateKey(const GrSamplerParams& params, uint32_t mipLevels) {
|
/external/skia/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.h | 30 GrSamplerParams(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode))); 37 GrSamplerParams::FilterMode filterMode) { 40 GrSamplerParams(SkShader::kClamp_TileMode, filterMode))); 47 const GrSamplerParams& p) { 55 SkMatrix44 matrix, GrSamplerParams samplerParams)
|
H A D | GrSimpleTextureEffect.fp | 13 GrSamplerParams samplerParams 30 GrSamplerParams(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode))); 37 GrSamplerParams::FilterMode filterMode) { 40 GrSamplerParams(SkShader::kClamp_TileMode, filterMode))); 46 const GrSamplerParams& p) { 74 GrSamplerParams params(tileModes, testData->fRandom->nextBool() 75 ? GrSamplerParams::kBilerp_FilterMode 76 : GrSamplerParams::kNone_FilterMode);
|
H A D | GrSingleTextureEffect.h | 39 GrSamplerParams::FilterMode filterMode); 41 sk_sp<GrColorSpaceXform>, const SkMatrix&, const GrSamplerParams&);
|
H A D | GrBicubicEffect.cpp | 143 GrSamplerParams(tileModes, GrSamplerParams::kNone_FilterMode)} 154 GrSamplerParams(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode)) 193 GrSamplerParams::FilterMode* filterMode) { 195 *filterMode = GrSamplerParams::kNone_FilterMode; 203 *filterMode = GrSamplerParams::kMipMap_FilterMode; 210 *filterMode = GrSamplerParams::kNone_FilterMode; 213 *filterMode = GrSamplerParams::kBilerp_FilterMode; 219 *filterMode = GrSamplerParams [all...] |
H A D | GrBitmapTextGeoProc.h | 19 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams). The input 25 sk_sp<GrTextureProxy> proxy, const GrSamplerParams& p, 52 const GrSamplerParams& params,
|
H A D | GrSingleTextureEffect.cpp | 28 GrSamplerParams::FilterMode filterMode) 40 const SkMatrix& m, const GrSamplerParams& params)
|
H A D | GrDistanceFieldGeoProc.h | 48 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams). The input 56 const GrSamplerParams& params, 65 const GrSamplerParams& params, 94 sk_sp<GrTextureProxy> proxy, const GrSamplerParams& params, 121 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams). The input 128 const GrSamplerParams& params, 153 sk_sp<GrTextureProxy>, const GrSamplerParams&, uint32_t flags, 173 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams). The input 196 const GrSamplerParams& params, 225 sk_sp<GrTextureProxy> proxy, const GrSamplerParams [all...] |
H A D | GrSimpleTextureEffect.cpp | 85 GrSamplerParams params(tileModes, 86 testData->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode 87 : GrSamplerParams::kNone_FilterMode);
|
/external/skia/src/gpu/ |
H A D | GrTextureMaker.cpp | 14 sk_sp<GrTextureProxy> GrTextureMaker::refTextureProxyForParams(const GrSamplerParams& params, 19 bool willBeMipped = params.filterMode() == GrSamplerParams::kMipMap_FilterMode; 76 const GrSamplerParams::FilterMode* filterOrNullForBicubic, 79 const GrSamplerParams::FilterMode* fmForDetermineDomain = filterOrNullForBicubic; 80 if (filterOrNullForBicubic && GrSamplerParams::kMipMap_FilterMode == *filterOrNullForBicubic && 87 static const GrSamplerParams::FilterMode kBilerp = GrSamplerParams::kBilerp_FilterMode; 91 GrSamplerParams params; 96 params.reset(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode);
|
H A D | GrTextureProducer.h | 11 #include "GrSamplerParams.h" 21 * texture compatible with a given GrSamplerParams. There are two immediate subclasses defined 29 GrSamplerParams::FilterMode fFilter; 64 const GrSamplerParams::FilterMode* filterOrNullForBicubic, 130 const GrSamplerParams::FilterMode* filterModeOrNullForBicubic, 139 const GrSamplerParams::FilterMode* filterOrNullForBicubic);
|
H A D | GrTextureProxy.cpp | 58 GrSamplerParams::FilterMode GrTextureProxy::highestFilterMode() const { 65 return GrSamplerParams::kNone_FilterMode; 71 return GrSamplerParams::kMipMap_FilterMode;
|
H A D | GrTextureProducer.cpp | 43 if (copyParams.fFilter != GrSamplerParams::kNone_FilterMode) { 58 SkASSERT(copyParams.fFilter != GrSamplerParams::kMipMap_FilterMode); 63 GrSamplerParams params(SkShader::kClamp_TileMode, copyParams.fFilter); 91 const GrSamplerParams::FilterMode* filterModeOrNullForBicubic, 126 case GrSamplerParams::kNone_FilterMode: 133 case GrSamplerParams::kBilerp_FilterMode: 136 case GrSamplerParams::kMipMap_FilterMode: 226 const GrSamplerParams::FilterMode* filterOrNullForBicubic) { 235 GrSamplerParams params(SkShader::kClamp_TileMode, *filterOrNullForBicubic);
|
H A D | GrPaint.cpp | 33 const GrSamplerParams& params) { 47 const GrSamplerParams& params) {
|
H A D | GrProcessor.h | 17 #include "GrSamplerParams.h" 212 * along with an associated GrSamplerParams. TextureSamplers don't perform any coord manipulation to 222 TextureSampler(sk_sp<GrTextureProxy>, const GrSamplerParams&); 224 GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode, 227 void reset(sk_sp<GrTextureProxy>, const GrSamplerParams&, 230 GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode, 255 const GrSamplerParams& params() const { return fParams; } 265 GrSamplerParams fParam [all...] |
H A D | GrTextureAdjuster.cpp | 69 const GrSamplerParams& params, 81 if (contentArea && GrSamplerParams::kMipMap_FilterMode == params.filterMode()) { 86 copyParams.fFilter = GrSamplerParams::kBilerp_FilterMode; 111 const GrSamplerParams::FilterMode* filterOrNullForBicubic, 127 GrSamplerParams params; 155 GrSamplerParams::kMipMap_FilterMode == *filterOrNullForBicubic); 156 static const GrSamplerParams::FilterMode kBilerp = GrSamplerParams::kBilerp_FilterMode;
|
H A D | GrTextureAdjuster.h | 27 sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerParams&, SkIPoint* outOffset, 35 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
|
H A D | GrTextureMaker.h | 28 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerParams&, 38 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
|
H A D | GrPaint.h | 116 const GrSamplerParams&); 120 const SkMatrix&, const GrSamplerParams&);
|
/external/skia/include/private/ |
H A D | GrTextureProxy.h | 11 #include "GrSamplerParams.h" 29 GrSamplerParams::FilterMode highestFilterMode() const;
|
/external/skia/src/gpu/gl/ |
H A D | GrGLTexture.cpp | 36 static inline GrSamplerParams::FilterMode highest_filter_mode(const GrGLTexture::IDDesc& idDesc, 41 return GrSamplerParams::kNone_FilterMode; 45 return GrSamplerParams::kBilerp_FilterMode; 47 return GrSamplerParams::kMipMap_FilterMode;
|
/external/skia/src/image/ |
H A D | SkImage_Base.h | 23 class GrSamplerParams; 51 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&,
|