• Home
  • Raw
  • Download

Lines Matching refs:kQuadCount

82     static const int kQuadCount = 6;  in TEST()  local
92 static_assert(SK_ARRAY_COUNT(kDeviceTypes) == kQuadCount, "device quad count"); in TEST()
93 static_assert(SK_ARRAY_COUNT(kLocalTypes) == kQuadCount, "local quad count"); in TEST()
95 std::vector<GrQuad> expectedDeviceQuads = generate_quads(1.f, kQuadCount, kDeviceTypes); in TEST()
96 std::vector<GrQuad> expectedLocalQuads = generate_quads(2.f, kQuadCount, kLocalTypes); in TEST()
100 for (int i = 0; i < kQuadCount; ++i) { in TEST()
107 ASSERT(kQuadCount == buffer.count()); in TEST()
129 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()
133 static const int kQuadCount = 2; in TEST() local
136 static_assert(SK_ARRAY_COUNT(kTypesA) == kQuadCount, "quadsA count"); in TEST()
137 static_assert(SK_ARRAY_COUNT(kTypesB) == kQuadCount, "quadsB count"); in TEST()
139 std::vector<GrQuad> quadsA = generate_quads(1.f, kQuadCount, kTypesA); in TEST()
140 std::vector<GrQuad> quadsB = generate_quads(2.f, kQuadCount, kTypesB); in TEST()
146 for (int i = 0; i < kQuadCount; ++i) { in TEST()
152 ASSERT(kQuadCount == buffer1.count()); in TEST()
153 ASSERT(kQuadCount == buffer2.count()); in TEST()
158 ASSERT(2 * kQuadCount == buffer1.count()); in TEST()
162 if (i < kQuadCount) { in TEST()
175 int j = i - kQuadCount; in TEST()
188 ASSERTF(i == 2 * kQuadCount, "Expected %d iterations, got: %d",2 * kQuadCount, i); in TEST()
192 static const int kQuadCount = 3; in TEST() local
199 for (int i = 0; i < kQuadCount; ++i) { in TEST()
213 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()
233 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()