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

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

Issue 1139743002: GLProgramsTest 3.0 (Closed) Base URL: https://skia.googlesource.com/skia.git@randbatch11
Patch Set: feedback 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 | « include/gpu/GrTestUtils.h ('k') | src/gpu/GrAADistanceFieldPathRenderer.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 2012 Google Inc. 3 * Copyright 2012 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 "GrAAConvexPathRenderer.h" 9 #include "GrAAConvexPathRenderer.h"
10 10
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 target->drawBatch(pipelineBuilder, batch); 1035 target->drawBatch(pipelineBuilder, batch);
1036 1036
1037 return true; 1037 return true;
1038 1038
1039 } 1039 }
1040 1040
1041 //////////////////////////////////////////////////////////////////////////////// /////////////////// 1041 //////////////////////////////////////////////////////////////////////////////// ///////////////////
1042 1042
1043 #ifdef GR_TEST_UTILS 1043 #ifdef GR_TEST_UTILS
1044 1044
1045 BATCH_TEST_DEFINE(AAConvexPath) { 1045 BATCH_TEST_DEFINE(AAConvexPathBatch) {
1046 AAConvexPathBatch::Geometry geometry; 1046 AAConvexPathBatch::Geometry geometry;
1047 geometry.fColor = GrRandomColor(random); 1047 geometry.fColor = GrRandomColor(random);
1048 geometry.fViewMatrix = GrTest::TestMatrix(random); 1048 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random);
1049 geometry.fPath = GrTest::TestPathConvex(random); 1049 geometry.fPath = GrTest::TestPathConvex(random);
1050 1050
1051 return AAConvexPathBatch::Create(geometry); 1051 return AAConvexPathBatch::Create(geometry);
1052 } 1052 }
1053 1053
1054 #endif 1054 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrTestUtils.h ('k') | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698