HomeSort by relevance Sort by last modified time
    Searched refs:GrSamplerParams (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /external/skia/include/gpu/
GrSamplerParams.h 17 class GrSamplerParams {
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() {
38 GrSamplerParams(SkShader::TileMode tileXAndY, FilterMode filterMode) {
42 GrSamplerParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) {
46 GrSamplerParams(const GrSamplerParams& params)
    [all...]
GrProcessor.h 16 #include "GrSamplerParams.h"
197 * an associated GrSamplerParams. TextureSamplers don't perform any coord manipulation to account
207 TextureSampler(GrTexture*, const GrSamplerParams&);
209 GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode,
212 void reset(GrTexture*, const GrSamplerParams&,
215 GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode,
220 TextureSampler(GrResourceProvider*, sk_sp<GrTextureProxy>, const GrSamplerParams&);
222 GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode
    [all...]
GrCoordTransform.h 38 GrCoordTransform(const GrTexture* texture, GrSamplerParams::FilterMode filter) {
45 GrSamplerParams::FilterMode filter) {
56 GrSamplerParams::FilterMode filter) {
63 GrTextureProxy* proxy, GrSamplerParams::FilterMode filter) {
78 void reset(const SkMatrix&, const GrTexture*, GrSamplerParams::FilterMode filter,
82 GrSamplerParams::FilterMode filter, bool normalize = true);
GrTexture.h 13 #include "GrSamplerParams.h"
50 GrSamplerParams::FilterMode highestFilterMode, bool wasMipMapDataProvided);
67 GrSamplerParams::FilterMode fHighestFilterMode;
  /external/skia/src/gpu/
GrTextureMaker.cpp 14 sk_sp<GrTextureProxy> GrTextureMaker::refTextureProxyForParams(const GrSamplerParams& params,
19 bool willBeMipped = params.filterMode() == GrSamplerParams::kMipMap_FilterMode;
60 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
63 const GrSamplerParams::FilterMode* fmForDetermineDomain = filterOrNullForBicubic;
64 if (filterOrNullForBicubic && GrSamplerParams::kMipMap_FilterMode == *filterOrNullForBicubic &&
71 static const GrSamplerParams::FilterMode kBilerp = GrSamplerParams::kBilerp_FilterMode;
75 GrSamplerParams params;
80 params.reset(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode);
GrTextureMaker.h 26 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerParams&,
36 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
GrCoordTransform.cpp 17 GrSamplerParams::FilterMode filter) {
23 int subPixelThresh = filter > GrSamplerParams::kNone_FilterMode ? 4 : 1;
54 GrSamplerParams::FilterMode filter, bool normalize) {
73 GrSamplerParams::FilterMode filter, bool normalize) {
GrTextureProducer.h 11 #include "GrSamplerParams.h"
22 * texture compatible with a given GrSamplerParams. There are two immediate subclasses defined
30 GrSamplerParams::FilterMode fFilter;
65 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
131 const GrSamplerParams::FilterMode* filterModeOrNullForBicubic,
141 const GrSamplerParams::FilterMode* filterOrNullForBicubic);
GrTextureProducer.cpp 47 if (copyParams.fFilter != GrSamplerParams::kNone_FilterMode) {
62 SkASSERT(copyParams.fFilter != GrSamplerParams::kMipMap_FilterMode);
68 GrSamplerParams params(SkShader::kClamp_TileMode, copyParams.fFilter);
97 const GrSamplerParams::FilterMode* filterModeOrNullForBicubic,
132 case GrSamplerParams::kNone_FilterMode:
139 case GrSamplerParams::kBilerp_FilterMode:
142 case GrSamplerParams::kMipMap_FilterMode:
233 const GrSamplerParams::FilterMode* filterOrNullForBicubic) {
242 GrSamplerParams params(SkShader::kClamp_TileMode, *filterOrNullForBicubic);
GrProcessor.cpp 12 #include "GrSamplerParams.h"
209 GrProcessor::TextureSampler::TextureSampler(GrTexture* texture, const GrSamplerParams& params) {
214 GrSamplerParams::FilterMode filterMode,
222 const GrSamplerParams& params) {
228 GrSamplerParams::FilterMode filterMode,
235 const GrSamplerParams& params,
245 GrSamplerParams::FilterMode filterMode,
257 const GrSamplerParams& params,
271 GrSamplerParams::FilterMode filterMode,
GrTextureAdjuster.cpp 71 const GrSamplerParams& params,
83 if (contentArea && GrSamplerParams::kMipMap_FilterMode == params.filterMode()) {
88 copyParams.fFilter = GrSamplerParams::kBilerp_FilterMode;
113 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
129 GrSamplerParams params;
157 GrSamplerParams::kMipMap_FilterMode == *filterOrNullForBicubic);
158 static const GrSamplerParams::FilterMode kBilerp = GrSamplerParams::kBilerp_FilterMode;
GrTextureAdjuster.h 26 sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerParams&, SkIPoint* outOffset,
34 const GrSamplerParams::FilterMode* filterOrNullForBicubic,
GrPaint.cpp 35 const GrSamplerParams& params) {
53 const GrSamplerParams& params) {
  /external/skia/src/gpu/vk/
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);
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/
GrSingleTextureEffect.h 39 GrSamplerParams::FilterMode filterMode, OptimizationFlags optFlags);
43 const GrSamplerParams&,
52 GrSamplerParams::FilterMode filterMode);
54 sk_sp<GrColorSpaceXform>, const SkMatrix&, const GrSamplerParams&);
GrSimpleTextureEffect.h 18 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams) and accepts
29 GrSamplerParams::kNone_FilterMode));
36 GrSamplerParams::FilterMode filterMode) {
44 const GrSamplerParams& p) {
57 GrSamplerParams::kNone_FilterMode));
65 GrSamplerParams::FilterMode filterMode) {
76 const GrSamplerParams& p) {
91 GrSamplerParams::FilterMode filterMode)
100 const GrSamplerParams& params)
108 GrSamplerParams::FilterMode)
    [all...]
GrSingleTextureEffect.cpp 16 , fCoordTransform(m, texture, GrSamplerParams::kNone_FilterMode)
26 GrSamplerParams::FilterMode filterMode,
38 const SkMatrix& m, const GrSamplerParams& params,
54 , fCoordTransform(resourceProvider, m, proxy.get(), GrSamplerParams::kNone_FilterMode)
66 GrSamplerParams::FilterMode filterMode)
79 const SkMatrix& m, const GrSamplerParams& params)
GrSimpleTextureEffect.cpp 19 GrSamplerParams::FilterMode filterMode)
33 const GrSamplerParams& params)
107 GrSamplerParams params(tileModes, d->fRandom->nextBool() ? GrSamplerParams::kBilerp_FilterMode
108 : GrSamplerParams::kNone_FilterMode);
GrBicubicEffect.cpp 143 GrSamplerParams(tileModes, GrSamplerParams::kNone_FilterMode)}
154 GrSamplerParams(SkShader::kClamp_TileMode, GrSamplerParams::kNone_FilterMode))
194 GrSamplerParams::FilterMode* filterMode) {
196 *filterMode = GrSamplerParams::kNone_FilterMode;
204 *filterMode = GrSamplerParams::kMipMap_FilterMode;
211 *filterMode = GrSamplerParams::kNone_FilterMode;
214 *filterMode = GrSamplerParams::kBilerp_FilterMode;
220 *filterMode = GrSamplerParams::kNone_FilterMode
    [all...]
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,
GrDistanceFieldGeoProc.h 46 * It allows explicit specification of the filtering and wrap modes (GrSamplerParams). The input
55 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,
224 sk_sp<GrTextureProxy> proxy, const GrSamplerParams& params
    [all...]
  /external/skia/src/gpu/gl/
GrGLTexture.cpp 38 static inline GrSamplerParams::FilterMode highest_filter_mode(const GrGLTexture::IDDesc& idDesc,
43 return GrSamplerParams::kNone_FilterMode;
47 return GrSamplerParams::kBilerp_FilterMode;
49 return GrSamplerParams::kMipMap_FilterMode;
  /external/skia/src/image/
SkImage_Base.h 22 class GrSamplerParams;
55 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&,
  /external/skia/src/core/
SkImageCacherator.h 17 class GrSamplerParams;
70 sk_sp<GrTextureProxy> lockAsTextureProxy(GrContext*, const GrSamplerParams&,

Completed in 564 milliseconds

1 2 3 4