Go to the source code of this file.
◆ d3d_filter()
Definition at line 137 of file GrD3DResourceProvider.cpp.
137 {
139 return D3D12_FILTER_ANISOTROPIC;
140 }
142
145 switch (sampler.
filter()) {
148 }
151 switch (sampler.
filter()) {
154 }
156 }
158}
constexpr Filter filter() const
constexpr MipmapMode mipmapMode() const
◆ wrap_mode_to_d3d_address_mode()
Definition at line 123 of file GrD3DResourceProvider.cpp.
123 {
124 switch (wrapMode) {
126 return D3D12_TEXTURE_ADDRESS_MODE_CLAMP;
128 return D3D12_TEXTURE_ADDRESS_MODE_WRAP;
130 return D3D12_TEXTURE_ADDRESS_MODE_MIRROR;
132 return D3D12_TEXTURE_ADDRESS_MODE_BORDER;
133 }
135}
#define SK_ABORT(message,...)