| 218 | } |
| 219 | |
| 220 | RectsVertexProvider::RectsVertexProvider(PlacementArray<RectRecord>&& rects, |
| 221 | PlacementArray<Rect>&& uvRects, AAType aaType, |
| 222 | bool hasUVCoord, bool hasColor, UVSubsetMode subsetMode, |
| 223 | std::shared_ptr<BlockBuffer> reference) |
| 224 | : VertexProvider(std::move(reference)), rects(std::move(rects)), uvRects(std::move(uvRects)) { |
| 225 | bitFields.aaType = static_cast<uint8_t>(aaType); |
| 226 | bitFields.hasUVCoord = hasUVCoord; |
| 227 | bitFields.hasColor = hasColor; |
| 228 | bitFields.subsetMode = static_cast<uint8_t>(subsetMode); |
| 229 | } |
| 230 | } // namespace tgfx |
nothing calls this directly
no outgoing calls
no test coverage detected