HomeSort by relevance Sort by last modified time
    Searched refs:GrSamplerState (Results 1 - 16 of 16) sorted by null

  /external/skia/gpu/include/
GrSamplerState.h 24 class GrSamplerState {
87 GrSamplerState() {
91 explicit GrSamplerState(Filter filter) {
100 GrSamplerState(WrapMode wx, WrapMode wy, Filter filter) {
109 GrSamplerState(WrapMode wx, WrapMode wy,
119 GrSamplerState(WrapMode wx, WrapMode wy, SampleMode sample,
205 static const GrSamplerState& ClampNoFilter() {
222 static const GrSamplerState gClampNoFilter;
GrPaint.h 22 #include "GrSamplerState.h"
61 GrSamplerState* getTextureSampler(int i) {
66 const GrSamplerState* getTextureSampler(int i) const {
87 GrSamplerState* getMaskSampler(int i) {
92 const GrSamplerState* getMaskSampler(int i) const {
213 GrSamplerState fTextureSamplers[kMaxTextures];
214 GrSamplerState fMaskSamplers[kMaxMasks];
GrContext.h 89 const GrSamplerState&);
100 const GrSamplerState&,
135 bool supportsIndex8PixelConfig(const GrSamplerState&, int width, int height);
560 const GrSamplerState&,
GrDrawTarget.h 24 #include "GrSamplerState.h"
179 GrSamplerState fSamplerStates[kNumStages];
263 void setSamplerState(int stage, const GrSamplerState& samplerState);
    [all...]
  /external/skia/gpu/src/
GrTextContext.cpp 37 GrSamplerState::Filter filter;
39 filter = GrSamplerState::kNearest_Filter;
41 filter = GrSamplerState::kBilinear_Filter;
43 GrSamplerState sampler(GrSamplerState::kRepeat_WrapMode,
44 GrSamplerState::kRepeat_WrapMode,
GrGpuGL.h 132 GrSamplerState::SampleMode mode,
139 const GrSamplerState& sampler);
GrContext.cpp 142 const GrSamplerState& sampler,
151 bool tiled = (sampler.getWrapX() != GrSamplerState::kClamp_WrapMode) ||
152 (sampler.getWrapY() != GrSamplerState::kClamp_WrapMode);
156 if (GrSamplerState::kNearest_Filter != sampler.getFilter()) {
170 const GrSamplerState& sampler) {
203 const GrSamplerState& sampler,
218 clampEntry = findAndLockTexture(&clampKey, GrSamplerState::ClampNoFilter());
222 GrSamplerState::ClampNoFilter(),
251 GrSamplerState::Filter filter;
255 if (GrSamplerState::kNearest_Filter == sampler.getFilter())
    [all...]
GrGpuGLShaders.cpp 400 GrSamplerState::SampleMode mode =
435 const GrSamplerState& sampler = fCurrDrawState.fSamplerStates[s];
755 case GrSamplerState::kNormal_SampleMode:
758 case GrSamplerState::kRadial_SampleMode:
761 case GrSamplerState::kRadial2_SampleMode:
764 case GrSamplerState::kSweep_SampleMode:
774 case GrSamplerState::kNearest_Filter:
775 case GrSamplerState::kBilinear_Filter:
779 case GrSamplerState::k4x4Downsample_Filter:
788 GrAssert(GrSamplerState::kClamp_WrapMode =
    [all...]
GrGpu.cpp 747 const GrSamplerState GrSamplerState::gClampNoFilter(
748 GrSamplerState::kClamp_WrapMode,
749 GrSamplerState::kClamp_WrapMode,
750 GrSamplerState::kNormal_SampleMode,
752 GrSamplerState::kNearest_Filter);
GrGpuGL.cpp 106 GrSamplerState::SampleMode mode,
112 if (GrSamplerState::kRadial_SampleMode == mode) {
116 } else if (GrSamplerState::kNormal_SampleMode == mode) {
137 const GrSamplerState& sampler) {
    [all...]
GrGpuGLFixed.cpp 217 GrSamplerState::kNormal_SampleMode,
GrDrawTarget.cpp 364 void GrDrawTarget::setSamplerState(int stage, const GrSamplerState& state) {
  /external/skia/include/gpu/
SkGr.h 73 GR_STATIC_ASSERT((int)GrSamplerState::kClamp_WrapMode == (int)SkShader::kClamp_TileMode);
74 GR_STATIC_ASSERT((int)GrSamplerState::kRepeat_WrapMode ==(
76 GR_STATIC_ASSERT((int)GrSamplerState::kMirror_WrapMode ==
79 #define sk_tile_mode_to_grwrap(X) ((GrSamplerState::WrapMode)(X))
236 const GrSamplerState& sampler,
SkGpuDevice.h 129 const GrSamplerState& sampler,
139 const GrSamplerState& sampler,
143 GrTexture* set(SkGpuDevice*, const SkBitmap&, const GrSamplerState&);
  /external/skia/src/gpu/
SkGpuDevice.cpp 55 const GrSamplerState& sampler,
68 const GrSamplerState& sampler) {
133 fCache = this->lockCachedTexture(bm, GrSamplerState::ClampNoFilter(),
342 static const GrSamplerState::SampleMode sk_bmp_type_to_sample_mode[] = {
343 (GrSamplerState::SampleMode) -1, // kNone_BitmapType
344 GrSamplerState::kNormal_SampleMode, // kDefault_BitmapType
345 GrSamplerState::kRadial_SampleMode, // kRadial_BitmapType
346 GrSamplerState::kSweep_SampleMode, // kSweep_BitmapType
347 GrSamplerState::kRadial2_SampleMode, // kTwoPointRadial_BitmapType
428 GrSamplerState::SampleMode sampleMode = sk_bmp_type_to_sample_mode[bmptype]
    [all...]
SkGr.cpp 68 const GrSamplerState& sampler,

Completed in 214 milliseconds