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

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

Issue 1131553002: Isolate GrBufferAllocPools inside GrBatchTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 5 years, 7 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/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrPrimitiveProcessor.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 2013 Google Inc. 2 * Copyright 2013 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 "GrOvalRenderer.h" 8 #include "GrOvalRenderer.h"
9 9
10 #include "GrBatch.h" 10 #include "GrBatch.h"
11 #include "GrBatchTarget.h" 11 #include "GrBatchTarget.h"
12 #include "GrBatchTest.h" 12 #include "GrBatchTest.h"
13 #include "GrBufferAllocPool.h"
14 #include "GrDrawTarget.h" 13 #include "GrDrawTarget.h"
15 #include "GrGeometryProcessor.h" 14 #include "GrGeometryProcessor.h"
16 #include "GrInvariantOutput.h" 15 #include "GrInvariantOutput.h"
17 #include "GrPipelineBuilder.h" 16 #include "GrPipelineBuilder.h"
18 #include "GrProcessor.h" 17 #include "GrProcessor.h"
19 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
20 #include "GrVertexBuffer.h" 19 #include "GrVertexBuffer.h"
21 #include "SkRRect.h" 20 #include "SkRRect.h"
22 #include "SkStrokeRec.h" 21 #include "SkStrokeRec.h"
23 #include "SkTLazy.h" 22 #include "SkTLazy.h"
(...skipping 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 } 2127 }
2129 2128
2130 BATCH_TEST_DEFINE(RRectBatch) { 2129 BATCH_TEST_DEFINE(RRectBatch) {
2131 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random); 2130 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random);
2132 GrColor color = GrRandomColor(random); 2131 GrColor color = GrRandomColor(random);
2133 const SkRRect& rrect = GrTest::TestRRectSimple(random); 2132 const SkRRect& rrect = GrTest::TestRRectSimple(random);
2134 return create_rrect_batch(color, viewMatrix, rrect, random_strokerec(random) ); 2133 return create_rrect_batch(color, viewMatrix, rrect, random_strokerec(random) );
2135 } 2134 }
2136 2135
2137 #endif 2136 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698