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

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

Issue 1157683006: Refactor GrGpu path rendering functions to GrPathRendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase, remove include ordering Created 5 years, 6 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/effects/SkLightingImageFilter.cpp ('k') | src/gpu/GrBatchFontCache.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 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 "GrAARectRenderer.h" 8 #include "GrAARectRenderer.h"
9 #include "GrBatch.h" 9 #include "GrBatch.h"
10 #include "GrBatchTarget.h" 10 #include "GrBatchTarget.h"
11 #include "GrBatchTest.h" 11 #include "GrBatchTest.h"
12 #include "GrContext.h" 12 #include "GrContext.h"
13 #include "GrDefaultGeoProcFactory.h" 13 #include "GrDefaultGeoProcFactory.h"
14 #include "GrDrawTarget.h"
14 #include "GrGeometryProcessor.h" 15 #include "GrGeometryProcessor.h"
15 #include "GrInvariantOutput.h" 16 #include "GrInvariantOutput.h"
16 #include "GrResourceKey.h" 17 #include "GrResourceKey.h"
17 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
18 #include "GrTestUtils.h" 19 #include "GrTestUtils.h"
19 #include "GrVertexBuffer.h" 20 #include "GrVertexBuffer.h"
20 #include "SkColorPriv.h" 21 #include "SkColorPriv.h"
21 #include "gl/GrGLProcessor.h" 22 #include "gl/GrGLProcessor.h"
22 #include "gl/GrGLGeometryProcessor.h" 23 #include "gl/GrGLGeometryProcessor.h"
23 #include "gl/builders/GrGLProgramBuilder.h" 24 #include "gl/builders/GrGLProgramBuilder.h"
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 geo.fColor = GrRandomColor(random); 843 geo.fColor = GrRandomColor(random);
843 geo.fDevOutside = outside; 844 geo.fDevOutside = outside;
844 geo.fDevOutsideAssist = outsideAssist; 845 geo.fDevOutsideAssist = outsideAssist;
845 geo.fDevInside = inside; 846 geo.fDevInside = inside;
846 geo.fMiterStroke = miterStroke; 847 geo.fMiterStroke = miterStroke;
847 848
848 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random)); 849 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random));
849 } 850 }
850 851
851 #endif 852 #endif
OLDNEW
« no previous file with comments | « src/effects/SkLightingImageFilter.cpp ('k') | src/gpu/GrBatchFontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698