Searched refs:GrSamplerParams (Results 1 - 25 of 74) sorted by relevance

123

/external/skia/include/gpu/
H A DGrSamplerParams.h17 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 DGrTexture.h13 #include "GrSamplerParams.h"
54 GrSamplerParams::FilterMode highestFilterMode, bool wasMipMapDataProvided);
68 GrSamplerParams::FilterMode fHighestFilterMode;
/external/skia/src/gpu/vk/
H A DGrVkSampler.h15 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 DGrVkSampler.cpp25 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 DGrSimpleTextureEffect.h30 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 DGrSimpleTextureEffect.fp13 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 DGrSingleTextureEffect.h39 GrSamplerParams::FilterMode filterMode);
41 sk_sp<GrColorSpaceXform>, const SkMatrix&, const GrSamplerParams&);
H A DGrBicubicEffect.cpp143 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 DGrBitmapTextGeoProc.h19 * 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 DGrSingleTextureEffect.cpp28 GrSamplerParams::FilterMode filterMode)
40 const SkMatrix& m, const GrSamplerParams& params)
H A DGrDistanceFieldGeoProc.h48 * 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 DGrSimpleTextureEffect.cpp85 GrSamplerParams params(tileModes,
86 testData->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode
87 : GrSamplerParams::kNone_FilterMode);
/external/skia/src/gpu/
H A DGrTextureMaker.cpp14 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 DGrTextureProducer.h11 #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 DGrTextureProxy.cpp58 GrSamplerParams::FilterMode GrTextureProxy::highestFilterMode() const {
65 return GrSamplerParams::kNone_FilterMode;
71 return GrSamplerParams::kMipMap_FilterMode;
H A DGrTextureProducer.cpp43 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 DGrPaint.cpp33 const GrSamplerParams& params) {
47 const GrSamplerParams& params) {
H A DGrProcessor.h17 #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 DGrTextureAdjuster.cpp69 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 DGrTextureAdjuster.h27 sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerParams&, SkIPoint* outOffset,
35 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
H A DGrTextureMaker.h28 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerParams&,
38 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
H A DGrPaint.h116 const GrSamplerParams&);
120 const SkMatrix&, const GrSamplerParams&);
/external/skia/include/private/
H A DGrTextureProxy.h11 #include "GrSamplerParams.h"
29 GrSamplerParams::FilterMode highestFilterMode() const;
/external/skia/src/gpu/gl/
H A DGrGLTexture.cpp36 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 DSkImage_Base.h23 class GrSamplerParams;
51 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&,

Completed in 285 milliseconds

123