Chromium Code Reviews

Side by Side Diff: gm/beziereffects.cpp

Issue 1131553002: Isolate GrBufferAllocPools inside GrBatchTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: minor cleanup Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | gm/convexpolyeffect.cpp » ('j') | src/gpu/GrBatchTarget.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 // This test only works with the GPU backend. 9 // This test only works with the GPU backend.
10 10
11 #include "gm.h" 11 #include "gm.h"
12 12
13 #if SK_SUPPORT_GPU 13 #if SK_SUPPORT_GPU
14 14
15 #include "GrBatchTarget.h" 15 #include "GrBatchTarget.h"
16 #include "GrBufferAllocPool.h"
17 #include "GrContext.h" 16 #include "GrContext.h"
18 #include "GrPathUtils.h" 17 #include "GrPathUtils.h"
19 #include "GrTest.h" 18 #include "GrTest.h"
20 #include "GrTestBatch.h" 19 #include "GrTestBatch.h"
21 #include "SkColorPriv.h" 20 #include "SkColorPriv.h"
22 #include "SkDevice.h" 21 #include "SkDevice.h"
23 #include "SkGeometry.h" 22 #include "SkGeometry.h"
24 23
25 #include "effects/GrBezierEffect.h" 24 #include "effects/GrBezierEffect.h"
26 25
(...skipping 588 matching lines...)
615 typedef GM INHERITED; 614 typedef GM INHERITED;
616 }; 615 };
617 616
618 DEF_GM( return SkNEW(BezierCubicEffects); ) 617 DEF_GM( return SkNEW(BezierCubicEffects); )
619 DEF_GM( return SkNEW(BezierConicEffects); ) 618 DEF_GM( return SkNEW(BezierConicEffects); )
620 DEF_GM( return SkNEW(BezierQuadEffects); ) 619 DEF_GM( return SkNEW(BezierQuadEffects); )
621 620
622 } 621 }
623 622
624 #endif 623 #endif
OLDNEW
« no previous file with comments | « no previous file | gm/convexpolyeffect.cpp » ('j') | src/gpu/GrBatchTarget.h » ('J')

Powered by Google App Engine