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

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

Issue 739673002: Create GrOptDrawState before recording draw in GrInOrderDrawBuffer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove unused function in pendingprogramelement Created 6 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 | « include/gpu/GrFragmentStage.h ('k') | include/gpu/GrProcessorStage.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 "GrProcessorStage.h" 14 #include "GrFragmentStage.h"
15 15
16 #include "SkXfermode.h" 16 #include "SkXfermode.h"
17 17
18 /** 18 /**
19 * The paint describes how color and coverage are computed at each pixel by GrCo ntext draw 19 * The paint describes how color and coverage are computed at each pixel by GrCo ntext draw
20 * functions and the how color is blended with the destination pixel. 20 * functions and the how color is blended with the destination pixel.
21 * 21 *
22 * The paint allows installation of custom color and coverage stages. New types of stages are 22 * The paint allows installation of custom color and coverage stages. New types of stages are
23 * created by subclassing GrProcessor. 23 * created by subclassing GrProcessor.
24 * 24 *
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 fColor = GrColorPackRGBA(0xff, 0xff, 0xff, 0xff); 221 fColor = GrColorPackRGBA(0xff, 0xff, 0xff, 0xff);
222 } 222 }
223 223
224 void resetStages() { 224 void resetStages() {
225 fColorStages.reset(); 225 fColorStages.reset();
226 fCoverageStages.reset(); 226 fCoverageStages.reset();
227 } 227 }
228 }; 228 };
229 229
230 #endif 230 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrFragmentStage.h ('k') | include/gpu/GrProcessorStage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698