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

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

Issue 2215433003: Revert of SkRTConf: reduce functionality to what we use, increase simplicity (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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/effects/SkBlurMaskFilter.cpp ('k') | src/gpu/gl/GrGLGpuProgramCache.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 2014 Google Inc. 2 * Copyright 2014 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 "GrAADistanceFieldPathRenderer.h" 8 #include "GrAADistanceFieldPathRenderer.h"
9 9
10 #include "GrBatchFlushState.h" 10 #include "GrBatchFlushState.h"
11 #include "GrBatchTest.h" 11 #include "GrBatchTest.h"
12 #include "GrBuffer.h" 12 #include "GrBuffer.h"
13 #include "GrContext.h" 13 #include "GrContext.h"
14 #include "GrPipelineBuilder.h" 14 #include "GrPipelineBuilder.h"
15 #include "GrResourceProvider.h" 15 #include "GrResourceProvider.h"
16 #include "GrSurfacePriv.h" 16 #include "GrSurfacePriv.h"
17 #include "GrSWMaskHelper.h" 17 #include "GrSWMaskHelper.h"
18 #include "GrTexturePriv.h" 18 #include "GrTexturePriv.h"
19 #include "batches/GrVertexBatch.h" 19 #include "batches/GrVertexBatch.h"
20 #include "effects/GrDistanceFieldGeoProc.h" 20 #include "effects/GrDistanceFieldGeoProc.h"
21 21
22 #include "SkDistanceFieldGen.h" 22 #include "SkDistanceFieldGen.h"
23 #include "SkRTConf.h"
23 24
24 #define ATLAS_TEXTURE_WIDTH 2048 25 #define ATLAS_TEXTURE_WIDTH 2048
25 #define ATLAS_TEXTURE_HEIGHT 2048 26 #define ATLAS_TEXTURE_HEIGHT 2048
26 #define PLOT_WIDTH 512 27 #define PLOT_WIDTH 512
27 #define PLOT_HEIGHT 256 28 #define PLOT_HEIGHT 256
28 29
29 #define NUM_PLOTS_X (ATLAS_TEXTURE_WIDTH / PLOT_WIDTH) 30 #define NUM_PLOTS_X (ATLAS_TEXTURE_WIDTH / PLOT_WIDTH)
30 #define NUM_PLOTS_Y (ATLAS_TEXTURE_HEIGHT / PLOT_HEIGHT) 31 #define NUM_PLOTS_Y (ATLAS_TEXTURE_HEIGHT / PLOT_HEIGHT)
31 32
32 #ifdef DF_PATH_TRACKING 33 #ifdef DF_PATH_TRACKING
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 shape, 613 shape,
613 antiAlias, 614 antiAlias,
614 viewMatrix, 615 viewMatrix,
615 gTestStruct.fAtlas, 616 gTestStruct.fAtlas,
616 &gTestStruct.fShapeCache, 617 &gTestStruct.fShapeCache,
617 &gTestStruct.fShapeList, 618 &gTestStruct.fShapeList,
618 gammaCorrect); 619 gammaCorrect);
619 } 620 }
620 621
621 #endif 622 #endif
OLDNEW
« no previous file with comments | « src/effects/SkBlurMaskFilter.cpp ('k') | src/gpu/gl/GrGLGpuProgramCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698