Lines Matching refs:buffer
87 // Odd indexed quads will be ignored and not stored in the buffer
98 // Fill in the buffer with the device quads, and a local quad if the index is even
99 GrQuadBuffer<TestData> buffer;
101 buffer.append(expectedDeviceQuads[i], // device quad
106 // Confirm the state of the buffer
107 ASSERT(kQuadCount == buffer.count());
108 ASSERT(GrQuad::Type::kPerspective == buffer.deviceQuadType());
109 ASSERT(GrQuad::Type::kGeneral == buffer.localQuadType());
112 auto iter = buffer.iterator();
200 GrQuadBuffer<TestData> buffer;
202 buffer.append(quad, {i, 2.f * i}, i % 2 == 0 ? &quad : nullptr);
207 auto meta = buffer.metadata();
220 auto iter = buffer.iterator();