Lines Matching defs:that
4 * Use of this source code is governed by a BSD-style license that can be
89 // that fractionally-aligned sample centers will not align with the device coordinate system
131 // so a sufficiently large rect is returned even if the quad ends up batched with an op that uses
140 // (in which case we want a subset that doesn't restrict normalized tex coords), or the
199 // overshoot. Unfortunately, antialiasing adds enough jitter that we can only rely on this in
222 * Op that implements TextureOp::Make. It draws textured quads. Each quad can modulate against a
255 // Allocate size based on proxyRunCnt, since that determines number of ViewCountPairs.
283 // The op implementation has an upper bound on the number of quads that it can represent.
341 // swizzle so that is stored in the op metadata.
524 // We do not placement new the first ViewCountPair since that one is allocated and
530 // We must placement new the ViewCountPairs here so that the sk_sps in the
564 // found a quad that requires linear (so net is still nearest). Similar for mip
979 auto that = t->cast<TextureOpImpl>();
982 SkDEBUGCODE(that->validate();)
984 if (fDesc || that->fDesc) {
986 // but, in any case, we should never combine ops that that been prePrepared
990 if (fMetadata.subset() != that->fMetadata.subset()) {
997 that->fTextureColorSpaceXform.get())) {
1002 if (fMetadata.aaType() != that->fMetadata.aaType()) {
1003 if (!CanUpgradeAAOnMerge(fMetadata.aaType(), that->fMetadata.aaType())) {
1010 this->numChainedQuads() + that->numChainedQuads())) {
1014 if (fMetadata.saturate() != that->fMetadata.saturate()) {
1017 if (fMetadata.filter() != that->fMetadata.filter()) {
1020 if (fMetadata.mipmapMode() != that->fMetadata.mipmapMode()) {
1023 if (fMetadata.fSwizzle != that->fMetadata.fSwizzle) {
1027 const auto* thatProxy = that->fViewCountPairs[0].fProxy.get();
1028 if (fMetadata.fProxyCount > 1 || that->fMetadata.fProxyCount > 1 ||
1030 // We can't merge across different proxies. Check if 'this' can be chained with 'that'.
1033 fMetadata.aaType() == that->fMetadata.aaType()) {
1047 fMetadata.fSubset |= that->fMetadata.fSubset;
1048 fMetadata.fColorType = std::max(fMetadata.fColorType, that->fMetadata.fColorType);
1051 fQuads.concat(that->fQuads);
1052 fViewCountPairs[0].fQuadCnt += that->fQuads.count();
1053 fMetadata.fTotalQuadCount += that->fQuads.count();
1060 // chain1 (that): opA (non-AA/mergeable) opB (non-AA/non-mergeable)
1065 that->propagateCoverageAAThroughoutChain();
1141 // Apply optimizations that are valid whether or not using TextureOp or FillRectOp
1192 // A helper class that assists in breaking up bulk API quad draws into manageable chunks.
1269 // Ensure that the index buffer limits are lower than the proxy and quad count limits of
1332 // kCoverage can be downgraded to kNone. Note that the following is conservative. kCoverage
1350 // that has just gotten too large. In either case, calve off the existing
1364 // Here we've found a consistent batch of non-AA quads that has gotten too