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

Side by Side Diff: include/gpu/GrFragmentProcessor.h

Issue 1458913003: Change prealloc number of child FPs be 1 rather than 2" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | 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 GrFragmentProcessor_DEFINED 8 #ifndef GrFragmentProcessor_DEFINED
9 #define GrFragmentProcessor_DEFINED 9 #define GrFragmentProcessor_DEFINED
10 10
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 * / / \ 204 * / / \
205 * / / \ 205 * / / \
206 * (C) (E) (F) 206 * (C) (E) (F)
207 * [c1] [e1,e2,e3] [f1,f2] 207 * [c1] [e1,e2,e3] [f1,f2]
208 * 208 *
209 * The same goes for fTextureAccesses with textures. 209 * The same goes for fTextureAccesses with textures.
210 */ 210 */
211 SkSTArray<4, const GrCoordTransform*, true> fCoordTransforms; 211 SkSTArray<4, const GrCoordTransform*, true> fCoordTransforms;
212 int fNumTexturesExclChildren; 212 int fNumTexturesExclChildren;
213 int fNumTransformsExclChildren; 213 int fNumTransformsExclChildren;
214 SkSTArray<2, const GrFragmentProcessor*, true> fChildProcessors; 214 SkSTArray<1, const GrFragmentProcessor*, true> fChildProcessors;
215 215
216 typedef GrProcessor INHERITED; 216 typedef GrProcessor INHERITED;
217 }; 217 };
218 218
219 #endif 219 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698