• 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()
130 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()
134 static const int kQuadCount = 2; in TEST() local
137 static_assert(SK_ARRAY_COUNT(kTypesA) == kQuadCount, "quadsA count"); in TEST()
138 static_assert(SK_ARRAY_COUNT(kTypesB) == kQuadCount, "quadsB count"); in TEST()
140 std::vector<GrQuad> quadsA = generate_quads(1.f, kQuadCount, kTypesA); in TEST()
141 std::vector<GrQuad> quadsB = generate_quads(2.f, kQuadCount, kTypesB); in TEST()
147 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()
176 int j = i - kQuadCount; in TEST()
190 ASSERTF(i == 2 * kQuadCount, "Expected %d iterations, got: %d",2 * kQuadCount, i); in TEST()
194 static const int kQuadCount = 3; in TEST() local
201 for (int i = 0; i < kQuadCount; ++i) { in TEST()
215 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()
236 ASSERTF(i == kQuadCount, "Expected %d iterations, got: %d", kQuadCount, i); in TEST()