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

Side by Side Diff: src/gpu/GrClipMaskManager.cpp

Issue 1306143005: Move Pathrenderers to batches folder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 3 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/GrAddPathRenderers_default.cpp ('k') | src/gpu/GrDashLinePathRenderer.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 2012 Google Inc. 2 * Copyright 2012 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 #include "GrClipMaskManager.h" 8 #include "GrClipMaskManager.h"
9 #include "GrAAConvexPathRenderer.h"
10 #include "GrAAHairLinePathRenderer.h"
11 #include "GrCaps.h" 9 #include "GrCaps.h"
12 #include "GrDrawContext.h" 10 #include "GrDrawContext.h"
13 #include "GrDrawTarget.h" 11 #include "GrDrawTarget.h"
14 #include "GrPaint.h" 12 #include "GrPaint.h"
15 #include "GrPathRenderer.h" 13 #include "GrPathRenderer.h"
16 #include "GrRenderTarget.h" 14 #include "GrRenderTarget.h"
17 #include "GrRenderTargetPriv.h" 15 #include "GrRenderTargetPriv.h"
18 #include "GrStencilAttachment.h" 16 #include "GrStencilAttachment.h"
19 #include "GrSWMaskHelper.h" 17 #include "GrSWMaskHelper.h"
20 #include "SkRasterClip.h" 18 #include "SkRasterClip.h"
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 fAACache.purgeResources(); 1148 fAACache.purgeResources();
1151 } 1149 }
1152 1150
1153 void GrClipMaskManager::adjustPathStencilParams(const GrStencilAttachment* stenc ilAttachment, 1151 void GrClipMaskManager::adjustPathStencilParams(const GrStencilAttachment* stenc ilAttachment,
1154 GrStencilSettings* settings) { 1152 GrStencilSettings* settings) {
1155 if (stencilAttachment) { 1153 if (stencilAttachment) {
1156 int stencilBits = stencilAttachment->bits(); 1154 int stencilBits = stencilAttachment->bits();
1157 this->adjustStencilParams(settings, fClipMode, stencilBits); 1155 this->adjustStencilParams(settings, fClipMode, stencilBits);
1158 } 1156 }
1159 } 1157 }
OLDNEW
« no previous file with comments | « src/gpu/GrAddPathRenderers_default.cpp ('k') | src/gpu/GrDashLinePathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698