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

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

Issue 1277233002: Make folder for batches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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 | « src/gpu/GrAAConvexPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 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 #include "GrAADistanceFieldPathRenderer.h" 9 #include "GrAADistanceFieldPathRenderer.h"
10 10
11 #include "GrBatch.h"
12 #include "GrBatchTarget.h" 11 #include "GrBatchTarget.h"
13 #include "GrBatchTest.h" 12 #include "GrBatchTest.h"
14 #include "GrContext.h" 13 #include "GrContext.h"
15 #include "GrPipelineBuilder.h" 14 #include "GrPipelineBuilder.h"
16 #include "GrResourceProvider.h" 15 #include "GrResourceProvider.h"
17 #include "GrSurfacePriv.h" 16 #include "GrSurfacePriv.h"
18 #include "GrSWMaskHelper.h" 17 #include "GrSWMaskHelper.h"
19 #include "GrTexturePriv.h" 18 #include "GrTexturePriv.h"
20 #include "GrVertexBuffer.h" 19 #include "GrVertexBuffer.h"
20 #include "batches/GrBatch.h"
21 #include "effects/GrDistanceFieldGeoProc.h" 21 #include "effects/GrDistanceFieldGeoProc.h"
22 22
23 #include "SkDistanceFieldGen.h" 23 #include "SkDistanceFieldGen.h"
24 #include "SkRTConf.h" 24 #include "SkRTConf.h"
25 25
26 #define ATLAS_TEXTURE_WIDTH 1024 26 #define ATLAS_TEXTURE_WIDTH 1024
27 #define ATLAS_TEXTURE_HEIGHT 2048 27 #define ATLAS_TEXTURE_HEIGHT 2048
28 #define PLOT_WIDTH 256 28 #define PLOT_WIDTH 256
29 #define PLOT_HEIGHT 256 29 #define PLOT_HEIGHT 256
30 30
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 geometry.fPath = GrTest::TestPath(random); 625 geometry.fPath = GrTest::TestPath(random);
626 geometry.fAntiAlias = random->nextBool(); 626 geometry.fAntiAlias = random->nextBool();
627 627
628 return AADistanceFieldPathBatch::Create(geometry, color, viewMatrix, 628 return AADistanceFieldPathBatch::Create(geometry, color, viewMatrix,
629 gTestStruct.fAtlas, 629 gTestStruct.fAtlas,
630 &gTestStruct.fPathCache, 630 &gTestStruct.fPathCache,
631 &gTestStruct.fPathList); 631 &gTestStruct.fPathList);
632 } 632 }
633 633
634 #endif 634 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAAConvexPathRenderer.cpp ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698