Lines Matching defs:that
4 * Use of this source code is governed by a BSD-style license that can be
507 auto that = t->cast<DrawVerticesOpImpl>();
509 if (!fHelper.isCompatible(that->fHelper, caps, this->bounds(), that->bounds())) {
513 if (!this->combinablePrimitive() || this->primitiveType() != that->primitiveType()) {
517 if (this->isIndexed() != that->isIndexed()) {
521 if (fVertexCount + that->fVertexCount > SkTo<int>(UINT16_MAX)) {
525 // We can't mix draws that use SkColor vertex colors with those that don't. We can mix uniform
528 (that->fColorArrayType == ColorArrayType::kSkColor)) {
532 // If we're acquiring a mesh with a different view matrix, or an op that needed multiple view
535 fMultipleViewMatrices || that->fMultipleViewMatrices ||
536 !SkMatrixPriv::CheapEqual(this->fMeshes[0].fViewMatrix, that->fMeshes[0].fViewMatrix);
541 that->fMeshes[0].fViewMatrix.hasPerspective())) {
548 if (that->fColorArrayType == ColorArrayType::kPremulGrColor) {
554 SkASSERT(that->fColorArrayType == ColorArrayType::kUnused);
555 if (this->fMeshes[0].fColor != that->fMeshes[0].fColor) {
562 SkASSERT(GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get()));
565 if (that->fLocalCoordsType == LocalCoordsType::kExplicit) {
575 fMeshes.push_back_n(that->fMeshes.count(), that->fMeshes.begin());
576 fVertexCount += that->fVertexCount;
577 fIndexCount += that->fIndexCount;