Home
last modified time | relevance | path

Searched defs:SamplerDesc (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/m133/src/gpu/graphite/
DResourceTypes.h184 struct SamplerDesc { struct
187 constexpr SamplerDesc(const SkSamplingOptions& samplingOptions, SkTileMode tileMode) in SamplerDesc() function
223 SkTileMode tileModeX() const { return static_cast<SkTileMode>((fDesc >> 0) & 0b11); } in tileModeX()
224 SkTileMode tileModeY() const { return static_cast<SkTileMode>((fDesc >> 2) & 0b11); } in tileModeY()
225 uint32_t desc() const { return fDesc; } in desc()
226 uint32_t format() const { return fFormat; } in format()
227 uint32_t externalFormatMSBs() const { return fExternalFormatMostSignificantBits; } in externalFormatMSBs()
228 bool isImmutable() const { return (fDesc >> kImmutableSamplerInfoShift) != 0; } in isImmutable()
229 bool usesExternalFormat() const { return (fDesc >> kImmutableSamplerInfoShift) & 0b1; } in usesExternalFormat()
233 SkSamplingOptions samplingOptions() const { in samplingOptions()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.h90 struct alignas(4) SamplerDesc struct
98 SamplerDesc &operator=(const SamplerDesc &src); argument
108 uint8_t rAddressMode : 3;
109 uint8_t sAddressMode : 3;
110 uint8_t tAddressMode : 3;
113 uint8_t minFilter : 1;
114 uint8_t magFilter : 1;
115 uint8_t mipFilter : 2;
117 uint8_t maxAnisotropy : 5;
120 uint8_t compareFunction : 3;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp3214 SamplerDesc::SamplerDesc() in SamplerDesc() function in rx::vk::SamplerDesc
3225 SamplerDesc::SamplerDesc(ContextVk *contextVk, in SamplerDesc() function in rx::vk::SamplerDesc