Home
last modified time | relevance | path

Searched refs:kNumVertices (Results 1 – 5 of 5) sorted by relevance

/external/angle/src/tests/gl_tests/
DClipDistanceTest.cpp928 constexpr unsigned int kNumVertices = 12; in TEST_P() local
929 const std::array<Vector3, kNumVertices> quadVertices = { in TEST_P()
937 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * 3 * kNumVertices, quadVertices.data(), in TEST_P()
959 glDrawArrays(GL_TRIANGLES, 0, kNumVertices); in TEST_P()
1029 constexpr unsigned int kNumVertices = 12; in TEST_P() local
1030 const std::array<Vector3, kNumVertices> quadVertices = { in TEST_P()
1038 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * 3 * kNumVertices, quadVertices.data(), in TEST_P()
1060 glDrawArrays(GL_TRIANGLES, 0, kNumVertices); in TEST_P()
1173 constexpr unsigned int kNumVertices = 12; in TEST_P() local
1174 const std::array<Vector3, kNumVertices> quadVertices = { in TEST_P()
[all …]
DAttributeLayoutTest.cpp44 constexpr size_t kNumVertices = ArraySize(kTriangleData) / 5; variable
116 for (unsigned i = 0; i < kNumVertices; ++i) in fillContainer()
305 Draw(0, kNumVertices, mIndices); in Run()
310 Draw(3, kNumVertices - 3, mIndices + 3); in Run()
331 static const GLushort mIndices[kNumVertices];
341 const GLushort AttributeLayoutTest::mIndices[kNumVertices] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
DBufferDataTest.cpp691 constexpr int kNumVertices = 6; in TEST_P() local
693 std::vector<GLubyte> color(8 * kNumVertices); in TEST_P()
694 for (int i = 0; i < kNumVertices; ++i) in TEST_P()
718 glMapBufferRangeEXT(GL_ARRAY_BUFFER, 4 * kNumVertices, 4 * kNumVertices, in TEST_P()
721 for (int i = 0; i < kNumVertices; ++i) in TEST_P()
738 reinterpret_cast<void *>(4 * kNumVertices)); in TEST_P()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dbackground_renderer.cc75 static_assert(std::extent<decltype(kUvs)>::value == kNumVertices * 2, in Draw()
77 static_assert(std::extent<decltype(kVertices)>::value == kNumVertices * 3, in Draw()
85 ArFrame_transformDisplayUvCoords(session, frame, kNumVertices * 2, kUvs, in Draw()
Dbackground_renderer.h48 static constexpr int kNumVertices = 4;
57 float transformed_uvs_[kNumVertices * 2];