Lines Matching refs:kQuadCount
82 static const int kQuadCount = 6;
92 static_assert(SK_ARRAY_COUNT(kDeviceTypes) == kQuadCount, "device quad count");
93 static_assert(SK_ARRAY_COUNT(kLocalTypes) == kQuadCount, "local quad count");
95 std::vector<GrQuad> expectedDeviceQuads = generate_quads(1.f, kQuadCount, kDeviceTypes);
96 std::vector<GrQuad> expectedLocalQuads = generate_quads(2.f, kQuadCount, kLocalTypes);
100 for (int i = 0; i < kQuadCount; ++i) {
107 ASSERT(kQuadCount == buffer.count());
130 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i);
134 static const int kQuadCount = 2;
137 static_assert(SK_ARRAY_COUNT(kTypesA) == kQuadCount, "quadsA count");
138 static_assert(SK_ARRAY_COUNT(kTypesB) == kQuadCount, "quadsB count");
140 std::vector<GrQuad> quadsA = generate_quads(1.f, kQuadCount, kTypesA);
141 std::vector<GrQuad> quadsB = generate_quads(2.f, kQuadCount, kTypesB);
147 for (int i = 0; i < kQuadCount; ++i) {
152 ASSERT(kQuadCount == buffer1.count());
153 ASSERT(kQuadCount == buffer2.count());
158 ASSERT(2 * kQuadCount == buffer1.count());
162 if (i < kQuadCount) {
176 int j = i - kQuadCount;
190 ASSERTF(i == 2 * kQuadCount, "Expected %d iterations, got: %d",2 * kQuadCount, i);
194 static const int kQuadCount = 3;
201 for (int i = 0; i < kQuadCount; ++i) {
215 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i);
236 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i);