Searched defs:SamplerDesc (Results 1 – 3 of 3) sorted by relevance
184 struct SamplerDesc { struct187 constexpr SamplerDesc(const SkSamplingOptions& samplingOptions, SkTileMode tileMode) in SamplerDesc() function223 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 …]
91 struct alignas(4) SamplerDesc struct99 SamplerDesc &operator=(const SamplerDesc &src); argument109 uint8_t rAddressMode : 3;110 uint8_t sAddressMode : 3;111 uint8_t tAddressMode : 3;114 uint8_t minFilter : 1;115 uint8_t magFilter : 1;116 uint8_t mipFilter : 2;118 uint8_t maxAnisotropy : 5;121 uint8_t compareFunction : 3;
5569 SamplerDesc::SamplerDesc() in SamplerDesc() function in rx::vk::SamplerDesc5580 SamplerDesc::SamplerDesc(Context *context, in SamplerDesc() function in rx::vk::SamplerDesc