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

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

Issue 1275853005: All child GrFragmentProcs' transforms and textures will be stored in the root GrFragmentProc in pre… (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: child procs keep copy of their arrays Created 5 years, 4 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 | « include/gpu/GrFragmentProcessor.h ('k') | include/gpu/GrProcessor.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef GrPaint_DEFINED 10 #ifndef GrPaint_DEFINED
11 #define GrPaint_DEFINED 11 #define GrPaint_DEFINED
12 12
13 #include "GrColor.h" 13 #include "GrColor.h"
14 #include "GrStagedProcessor.h" 14 #include "GrStagedProcessor.h"
15 #include "GrProcessorDataManager.h" 15 #include "GrProcessorDataManager.h"
16 #include "GrXferProcessor.h" 16 #include "GrXferProcessor.h"
17 #include "effects/GrPorterDuffXferProcessor.h" 17 #include "effects/GrPorterDuffXferProcessor.h"
18 #include "GrFragmentProcessor.h"
18 19
19 #include "SkRegion.h" 20 #include "SkRegion.h"
20 #include "SkXfermode.h" 21 #include "SkXfermode.h"
21 22
22 /** 23 /**
23 * The paint describes how color and coverage are computed at each pixel by GrCo ntext draw 24 * The paint describes how color and coverage are computed at each pixel by GrCo ntext draw
24 * functions and the how color is blended with the destination pixel. 25 * functions and the how color is blended with the destination pixel.
25 * 26 *
26 * The paint allows installation of custom color and coverage stages. New types of stages are 27 * The paint allows installation of custom color and coverage stages. New types of stages are
27 * created by subclassing GrProcessor. 28 * created by subclassing GrProcessor.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 SkSTArray<2, GrFragmentStage> fCoverageStages; 149 SkSTArray<2, GrFragmentStage> fCoverageStages;
149 150
150 bool fAntiAlias; 151 bool fAntiAlias;
151 bool fDither; 152 bool fDither;
152 153
153 GrColor fColor; 154 GrColor fColor;
154 SkAutoTUnref<GrProcessorDataManager> fProcDataManager; 155 SkAutoTUnref<GrProcessorDataManager> fProcDataManager;
155 }; 156 };
156 157
157 #endif 158 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrFragmentProcessor.h ('k') | include/gpu/GrProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698