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

Side by Side Diff: src/gpu/batches/GrDrawBatch.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/GrDrawAtlasBatch.cpp ('k') | src/gpu/batches/GrDrawPathBatch.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 #ifndef GrDrawBatch_DEFINED 8 #ifndef GrDrawBatch_DEFINED
9 #define GrDrawBatch_DEFINED 9 #define GrDrawBatch_DEFINED
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 for (int i = 0; i < this->pipeline()->numCoverageFragmentProcessors(); i ++) { 81 for (int i = 0; i < this->pipeline()->numCoverageFragmentProcessors(); i ++) {
82 string.appendf("\t\t%s\n\t\t%s\n", 82 string.appendf("\t\t%s\n\t\t%s\n",
83 this->pipeline()->getCoverageFragmentProcessor(i).nam e(), 83 this->pipeline()->getCoverageFragmentProcessor(i).nam e(),
84 this->pipeline()->getCoverageFragmentProcessor(i).dum pInfo().c_str()); 84 this->pipeline()->getCoverageFragmentProcessor(i).dum pInfo().c_str());
85 } 85 }
86 string.appendf("XP: %s\n", this->pipeline()->getXferProcessor().name()); 86 string.appendf("XP: %s\n", this->pipeline()->getXferProcessor().name());
87 return string; 87 return string;
88 } 88 }
89 89
90 protected: 90 protected:
91 virtual void computePipelineOptimizations(GrInitInvariantOutput* color, 91 virtual void computePipelineOptimizations(GrInitInvariantOutput* color,
92 GrInitInvariantOutput* coverage, 92 GrInitInvariantOutput* coverage,
93 GrBatchToXPOverrides* overrides) c onst = 0; 93 GrBatchToXPOverrides* overrides) c onst = 0;
94 94
95 private: 95 private:
96 /** 96 /**
97 * initBatchTracker is a hook for the some additional overrides / optimizati on possibilities 97 * initBatchTracker is a hook for the some additional overrides / optimizati on possibilities
98 * from the GrXferProcessor. 98 * from the GrXferProcessor.
99 */ 99 */
100 virtual void initBatchTracker(const GrXPOverridesForBatch&) = 0; 100 virtual void initBatchTracker(const GrXPOverridesForBatch&) = 0;
101 101
102 protected: 102 protected:
103 SkTArray<SkAutoTUnref<GrBatchUploader>, true> fInlineUploads; 103 SkTArray<SkAutoTUnref<GrBatchUploader>, true> fInlineUploads;
104 104
105 private: 105 private:
106 SkAlignedSTStorage<1, GrPipeline> fPipelineStorage; 106 SkAlignedSTStorage<1, GrPipeline> fPipelineStorage;
107 bool fPipelineInstalled; 107 bool fPipelineInstalled;
108 typedef GrBatch INHERITED; 108 typedef GrBatch INHERITED;
109 }; 109 };
110 110
111 #endif 111 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrDrawAtlasBatch.cpp ('k') | src/gpu/batches/GrDrawPathBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698