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

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

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/GrAAStrokeRectBatch.cpp ('k') | src/gpu/batches/GrAtlasTextBatch.cpp » ('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 #ifndef GrAtlasTextBatch_DEFINED 8 #ifndef GrAtlasTextBatch_DEFINED
9 #define GrAtlasTextBatch_DEFINED 9 #define GrAtlasTextBatch_DEFINED
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 geo.fBlob->computeSubRunBounds(&fBounds, geo.fRun, geo.fSubRun, geo.fVie wMatrix, geo.fX, 84 geo.fBlob->computeSubRunBounds(&fBounds, geo.fRun, geo.fSubRun, geo.fVie wMatrix, geo.fX,
85 geo.fY); 85 geo.fY);
86 } 86 }
87 87
88 const char* name() const override { return "TextBatch"; } 88 const char* name() const override { return "TextBatch"; }
89 89
90 SkString dumpInfo() const override; 90 SkString dumpInfo() const override;
91 91
92 protected: 92 protected:
93 void computePipelineOptimizations(GrInitInvariantOutput* color, 93 void computePipelineOptimizations(GrInitInvariantOutput* color,
94 GrInitInvariantOutput* coverage, 94 GrInitInvariantOutput* coverage,
95 GrBatchToXPOverrides* overrides) const ove rride; 95 GrBatchToXPOverrides* overrides) const ove rride;
96 96
97 97
98 private: 98 private:
99 void initBatchTracker(const GrXPOverridesForBatch& overrides) override; 99 void initBatchTracker(const GrXPOverridesForBatch& overrides) override;
100 100
101 struct FlushInfo { 101 struct FlushInfo {
102 SkAutoTUnref<const GrBuffer> fVertexBuffer; 102 SkAutoTUnref<const GrBuffer> fVertexBuffer;
103 SkAutoTUnref<const GrBuffer> fIndexBuffer; 103 SkAutoTUnref<const GrBuffer> fIndexBuffer;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 210
211 private: 211 private:
212 const GrAtlasTextBatch* fBatch; 212 const GrAtlasTextBatch* fBatch;
213 GrVertexBatch::Target* fTarget; 213 GrVertexBatch::Target* fTarget;
214 GrAtlasTextBatch::FlushInfo* fFlushInfo; 214 GrAtlasTextBatch::FlushInfo* fFlushInfo;
215 const GrGeometryProcessor* fGP; 215 const GrGeometryProcessor* fGP;
216 }; 216 };
217 217
218 #endif 218 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrAAStrokeRectBatch.cpp ('k') | src/gpu/batches/GrAtlasTextBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698