Home | History | Annotate | Download | only in batches

Lines Matching defs:that

4  * Use of this source code is governed by a BSD-style license that can be
195 GrAtlasTextBatch* that = t->cast<GrAtlasTextBatch>();
196 if (!GrPipeline::CanCombine(*this->pipeline(), this->bounds(), *that->pipeline(),
197 that->bounds(), caps)) {
201 if (fMaskType != that->fMaskType) {
206 if (kColorBitmapMask_MaskType == fMaskType && this->color() != that->color()) {
209 if (this->usesLocalCoords() && !this->viewMatrix().cheapEqualTo(that->viewMatrix())) {
213 if (!this->viewMatrix().cheapEqualTo(that->viewMatrix())) {
217 if (fFilteredColor != that->fFilteredColor) {
221 if (fUseBGR != that->fUseBGR) {
226 fBatch.fNumGlyphs += that->numGlyphs();
228 // Reallocate space for geo data if necessary and then import that's geo data.
229 int newGeoCount = that->fGeoCount + fGeoCount;
230 // We assume (and here enforce) that the allocation size is the smallest power of two that
240 memcpy(&fGeoData[fGeoCount], that->fGeoData.get(), that->fGeoCount * sizeof(Geometry));
241 // We steal the ref on the blobs from the other TextBatch and set its count to 0 so that
244 for (int i = 0; i < that->fGeoCount; ++i) {
245 that->fGeoData.get()[i].fBlob = (Blob*)0x1;
248 that->fGeoCount = 0;
251 this->joinBounds(that->bounds());