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

Side by Side Diff: src/gpu/GrProcOptInfo.h

Issue 1229303003: Another trivial cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 5 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/GrPipelineBuilder.h ('k') | src/gpu/GrProcOptInfo.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 2014 Google Inc. 2 * Copyright 2014 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 GrProcOptInfo_DEFINED 8 #ifndef GrProcOptInfo_DEFINED
9 #define GrProcOptInfo_DEFINED 9 #define GrProcOptInfo_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "GrInvariantOutput.h" 12 #include "GrInvariantOutput.h"
13 #include "GrStagedProcessor.h"
13 14
14 class GrBatch; 15 class GrBatch;
15 class GrFragmentStage;
16 class GrFragmentProcessor; 16 class GrFragmentProcessor;
17 class GrPrimitiveProcessor; 17 class GrPrimitiveProcessor;
18 class GrProcessor; 18 class GrProcessor;
19 19
20 /** 20 /**
21 * GrProcOptInfo gathers invariant data from a set of processor stages.It is use d to recognize 21 * GrProcOptInfo gathers invariant data from a set of processor stages.It is use d to recognize
22 * optimizations related to eliminating stages and vertex attributes that aren't necessary for a 22 * optimizations related to eliminating stages and vertex attributes that aren't necessary for a
23 * draw. 23 * draw.
24 */ 24 */
25 class GrProcOptInfo { 25 class GrProcOptInfo {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void internalCalc(const GrFragmentStage*, int stagecount, bool initWillReadF ragPosition); 91 void internalCalc(const GrFragmentStage*, int stagecount, bool initWillReadF ragPosition);
92 92
93 GrInvariantOutput fInOut; 93 GrInvariantOutput fInOut;
94 int fFirstEffectStageIndex; 94 int fFirstEffectStageIndex;
95 bool fInputColorIsUsed; 95 bool fInputColorIsUsed;
96 GrColor fInputColor; 96 GrColor fInputColor;
97 bool fReadsFragPosition; 97 bool fReadsFragPosition;
98 }; 98 };
99 99
100 #endif 100 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPipelineBuilder.h ('k') | src/gpu/GrProcOptInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698