Home
last modified time | relevance | path

Searched refs:positionData (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/tests/gl_tests/
DProvokingVertexTest.cpp187 GLfloat positionData[] = {-1.0f + halfPixel, -1.0f, -1.0f + halfPixel, 1.0f}; in TEST_P() local
193 glVertexAttribPointer(positionLocation, 2, GL_FLOAT, GL_FALSE, 0, positionData); in TEST_P()
209 GLfloat positionData[] = {-1.0f, -1.0f, -1.0f, 1.0f, 0.0f, -1.0f, in TEST_P() local
216 glVertexAttribPointer(positionLocation, 2, GL_FLOAT, GL_FALSE, 0, positionData); in TEST_P()
229 GLfloat sumX = positionData[triIndex * 2 + 0] + positionData[triIndex * 2 + 2] + in TEST_P()
230 positionData[triIndex * 2 + 4]; in TEST_P()
231 GLfloat sumY = positionData[triIndex * 2 + 1] + positionData[triIndex * 2 + 3] + in TEST_P()
232 positionData[triIndex * 2 + 5]; in TEST_P()
256 GLfloat positionData[] = {-1.0f, -1.0f, -1.0f, 1.0f, 0.0f, -1.0f, in TEST_P() local
263 glVertexAttribPointer(positionLocation, 2, GL_FLOAT, GL_FALSE, 0, positionData); in TEST_P()
[all …]
DDrawElementsTest.cpp165 std::vector<GLfloat> positionData = {// quad verts in TEST_P() local
192 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
294 std::vector<GLfloat> positionData = {// quad verts in TEST_P() local
312 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
DReadPixelsTest.cpp628 float positionData[] = {0.5f, 0.5f}; in TEST_P() local
633 glBufferSubData(GL_ARRAY_BUFFER, 0, 1 * 2 * 4, positionData); in TEST_P()
DStateChangeTest.cpp5530 std::vector<Vector4> positionData; in TEST_P() local
5533 positionData.emplace_back(quadVertex.x(), quadVertex.y(), quadVertex.z(), 1.0f); in TEST_P()
5538 glBufferData(GL_ARRAY_BUFFER, positionData.size() * sizeof(Vector4), positionData.data(), in TEST_P()
5582 EXPECT_EQ(positionData, actualData); in TEST_P()
5690 std::vector<Vector4> positionData; in TEST_P() local
5693 positionData.emplace_back(quadVertex.x(), quadVertex.y(), quadVertex.z(), 1.0f); in TEST_P()
5698 glBufferData(GL_ARRAY_BUFFER, positionData.size() * sizeof(Vector4), positionData.data(), in TEST_P()
/external/angle/src/tests/perf_tests/
DInstancingPerf.cpp148 std::vector<Vector2> positionData; in initializeBenchmark() local
163 positionData.push_back(basePositionData[vertexIndex]); in initializeBenchmark()
180 positionData.push_back(position); in initializeBenchmark()
203 glBufferData(GL_ARRAY_BUFFER, VectorSizeBytes(positionData), &positionData[0], GL_STATIC_DRAW); in initializeBenchmark()
DDynamicPromotionPerfTest.cpp91 std::vector<Vector2> positionData; in initializeBenchmark() local
103 positionData.push_back(position); in initializeBenchmark()
122 glBufferSubData(GL_ARRAY_BUFFER, 0, positionArraySize, positionData.data()); in initializeBenchmark()
/external/angle/src/tests/egl_tests/
DEGLPreRotationTest.cpp347 std::vector<GLfloat> positionData = {// quad vertices in TEST_P() local
351 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
444 std::vector<GLfloat> positionData = {// 4 squares each made up of quad vertices in TEST_P() local
455 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
556 std::vector<GLfloat> positionData = {// quad vertices in TEST_P() local
560 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
700 std::vector<GLfloat> positionData = {// quad vertices in TEST_P() local
704 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
780 std::vector<GLfloat> positionData = {// quad vertices in initializeGeometry() local
784 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in initializeGeometry()
[all …]
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1009 std::vector<tcu::Vec4> positionData (numPositionElements); in createBuffers() local
1016 positionData[primNdx*6 + 0] = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f); in createBuffers()
1017 positionData[primNdx*6 + 1] = tcu::Vec4(0.0f, 2.0f / float(GRID_SIZE), 0.0f, 1.0f); in createBuffers()
1018positionData[primNdx*6 + 2] = tcu::Vec4(2.0f / float(GRID_SIZE), 2.0f / float(GRID_SIZE), 0.0f, 1… in createBuffers()
1019 positionData[primNdx*6 + 3] = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f); in createBuffers()
1020positionData[primNdx*6 + 4] = tcu::Vec4(2.0f / float(GRID_SIZE), 2.0f / float(GRID_SIZE), 0.0f, 1… in createBuffers()
1021 positionData[primNdx*6 + 5] = tcu::Vec4(2.0f / float(GRID_SIZE), 0.0f, 0.0f, 1.0f); in createBuffers()
1042 …gl.bufferData(GL_ARRAY_BUFFER, (int)(positionData.size() * sizeof(tcu::Vec4)), positionData[0].get… in createBuffers()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp184 …awPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vec…
660 …::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vec… in drawPrimitives() argument
662 …drawPrimitives(result, positionData, colorData, primitiveTopology, *m_image, *m_resolvedImage, *m_… in drawPrimitives()
664 …::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vec… in drawPrimitives() argument
672 const size_t attributeBatchSize = positionData.size() * sizeof(tcu::Vec4); in drawPrimitives()
805 deMemcpy(vertexBufferMemory->getHostPtr(), positionData.data(), attributeBatchSize); in drawPrimitives()
844 vkd.cmdDraw(*commandBuffer, (deUint32)positionData.size(), 1, 0, 0); in drawPrimitives()
1846 const tcu::Vec4 positionData (point.position); in drawPoint() local
1941 deMemcpy(vertexBufferMemory->getHostPtr(), &positionData, attributeBatchSize); in drawPoint()
5289 …itivesDiscard (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, VkPrimitiveTop…
[all …]