Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: src/gpu/batches/GrAtlasTextBatch.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/batches/GrAtlasTextBatch.h ('k') | src/gpu/batches/GrBatch.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrAtlasTextBatch.h" 8 #include "GrAtlasTextBatch.h"
9 9
10 #include "GrBatchFlushState.h" 10 #include "GrBatchFlushState.h"
(...skipping 25 matching lines...) Expand all
36 fGeoData[i].fColor, 36 fGeoData[i].fColor,
37 fGeoData[i].fX, 37 fGeoData[i].fX,
38 fGeoData[i].fY, 38 fGeoData[i].fY,
39 fGeoData[i].fBlob->runCount()); 39 fGeoData[i].fBlob->runCount());
40 } 40 }
41 41
42 str.append(INHERITED::dumpInfo()); 42 str.append(INHERITED::dumpInfo());
43 return str; 43 return str;
44 } 44 }
45 45
46 void GrAtlasTextBatch::computePipelineOptimizations(GrInitInvariantOutput* color , 46 void GrAtlasTextBatch::computePipelineOptimizations(GrInitInvariantOutput* color ,
47 GrInitInvariantOutput* cover age, 47 GrInitInvariantOutput* cover age,
48 GrBatchToXPOverrides* overri des) const { 48 GrBatchToXPOverrides* overri des) const {
49 if (kColorBitmapMask_MaskType == fMaskType) { 49 if (kColorBitmapMask_MaskType == fMaskType) {
50 color->setUnknownFourComponents(); 50 color->setUnknownFourComponents();
51 } else { 51 } else {
52 color->setKnownFourComponents(fBatch.fColor); 52 color->setKnownFourComponents(fBatch.fColor);
53 } 53 }
54 switch (fMaskType) { 54 switch (fMaskType) {
55 case kGrayscaleDistanceField_MaskType: 55 case kGrayscaleDistanceField_MaskType:
56 case kGrayscaleCoverageMask_MaskType: 56 case kGrayscaleCoverageMask_MaskType:
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 this->usesLocalCoords()); 309 this->usesLocalCoords());
310 #endif 310 #endif
311 } 311 }
312 312
313 } 313 }
314 314
315 void GrBlobRegenHelper::flush() { 315 void GrBlobRegenHelper::flush() {
316 fBatch->flush(fTarget, fFlushInfo); 316 fBatch->flush(fTarget, fFlushInfo);
317 fTarget->initDraw(fGP); 317 fTarget->initDraw(fGP);
318 } 318 }
OLDNEW
« no previous file with comments | « src/gpu/batches/GrAtlasTextBatch.h ('k') | src/gpu/batches/GrBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698