Lines Matching refs:subset

130 // Normalize the subset. If 'subsetRect' is null, it is assumed no subset constraint is desired,
132 // subsets overall. When there is a subset it will be inset based on the filter mode. Normalization
139 // Either the quad has no subset constraint and is batched with a subset constrained op
140 // (in which case we want a subset that doesn't restrict normalized tex coords), or the
141 // entire op doesn't use the subset, in which case the returned value is ignored.
198 // can push all the way up to the edges of the the subset rect and the sampler shouldn't
211 // If the local quad is inset by at least 0.5 pixels into the subset rect's bounds, the
217 // The subset rect cannot be ignored safely.
238 const SkRect* subset) {
241 filter, mm, color, saturate, aaType, quad, subset);
354 Subset subset,
363 , fSubset(static_cast<uint16_t>(subset))
388 Subset subset() const { return static_cast<Subset>(fSubset); }
468 // Normalize src coordinates and the subset (if set)
472 SkRect subset = normalize_and_inset_subset(filter, params, subsetRect);
479 int quadCount = this->appendQuad(quad, color, subset);
560 // to determine if the subset is needed for the entry as well.
600 // Check (briefly) if the subset rect is actually needed for this set entry.
615 // This subset may represent a no-op, otherwise it will have the origin and dimensions
617 SkRect subset = normalize_and_inset_subset(filter, proxyParams, subsetForQuad);
621 fViewCountPairs[p].fQuadCnt += this->appendQuad(&quad, set[q].fColor, subset);
636 int appendQuad(DrawQuad* quad, const SkPMColor4f& color, const SkRect& subset) {
646 fQuads.append(quad->fDevice, {color, subset, quad->fEdgeFlags}, &quad->fLocal);
648 fQuads.append(extra.fDevice, {color, subset, extra.fEdgeFlags}, &extra.fLocal);
810 Subset subset = Subset::kNo;
824 if (op.fMetadata.subset() == Subset::kYes) {
825 subset = Subset::kYes;
848 subset, overallAAType, /* alpha as coverage */ true,
990 if (fMetadata.subset() != that->fMetadata.subset()) {
991 // It is technically possible to combine operations across subset modes, but performance
1140 const SkRect* subset) {
1142 if (subset && subset->contains(proxyView.proxy()->backingStoreBoundsRect())) {
1143 // No need for a shader-based subset if hardware clamping achieves the same effect
1144 subset = nullptr;
1159 mm, color, saturate, aaType, std::move(quad), subset);
1169 if (subset) {
1173 samplerState, *subset, localRect, caps);
1176 samplerState, *subset, caps);
1300 const SkRect* subset = constraint == SkCanvas::kStrict_SrcRectConstraint
1304 filter, mm, set[i].fColor, saturate, blendMode, aaType, &quad, subset);