Home
last modified time | relevance | path

Searched refs:GrMtlSampler (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/gpu/mtl/
H A DGrMtlSampler.h21 class GrMtlSampler : public GrManagedResource { class
23 static GrMtlSampler* Create(const GrMtlGpu* gpu, GrSamplerState);
24 ~GrMtlSampler() override { fMtlSamplerState = nil; }
30 // Helpers for hashing GrMtlSampler
33 static const Key& GetKey(const GrMtlSampler& sampler) { return sampler.fKey; } in GetKey()
42 SkDebugf("GrMtlSampler: %p (%ld refs)\n", fMtlSamplerState,
52 GrMtlSampler(id<MTLSamplerState> mtlSamplerState, Key key) in GrMtlSampler() function in GrMtlSampler
H A DGrMtlResourceProvider.h20 #include "src/gpu/mtl/GrMtlSampler.h"
41 GrMtlSampler* findOrCreateCompatibleSampler(GrSamplerState);
91 SkTDynamicHash<GrMtlSampler, GrMtlSampler::Key> fSamplers;
H A DGrMtlPipelineState.h25 class GrMtlSampler;
96 GrMtlSampler* fSampler;
H A DGrMtlRenderCommandEncoder.h13 #include "src/gpu/mtl/GrMtlSampler.h"
17 class GrMtlSampler;
137 void setFragmentSamplerState(GrMtlSampler* sampler, NSUInteger index) {
255 GrMtlSampler* fCurrentSampler[GrSamplerState::kNumUniqueSamplers] = { 0 };

Completed in 2 milliseconds