Home
last modified time | relevance | path

Searched refs:vertexData (Results 1 – 25 of 35) sorted by relevance

12

/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2177 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
2182 { 4, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2183 { 3, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2184 { 2, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2185 { 1, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2186 { 4, GL_INT, 0, GL_FALSE, vertexData }, in test()
2187 { 3, GL_INT, 0, GL_FALSE, vertexData }, in test()
2188 { 2, GL_INT, 0, GL_FALSE, vertexData }, in test()
2189 { 1, GL_INT, 0, GL_FALSE, vertexData }, in test()
2261 const GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
[all …]
Des3fRasterizationTests.cpp123 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
124 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const st…
351 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum pri… in drawPrimitives() argument
354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
356 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives()
359 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vect… in drawPrimitives() argument
371 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertexData[0]); in drawPrimitives()
376 gl.drawArrays (primitiveType, 0, (glw::GLsizei)vertexData.size()); in drawPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp71 const void* vertexData, in runTest() argument
90 deMemcpy(alloc.getHostPtr(), vertexData, static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
300 std::vector<float> vertexData; in test() local
301 vertexData.reserve(caseDef.inPatchSize); in test()
305 vertexData.push_back(f*f); in test()
307 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test()
316 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
468 std::vector<float> vertexData (INPUT_PATCH_SIZE * numPrimitives, 0.0f); in test() local
469 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test()
472 vertexData[INPUT_PATCH_SIZE * i] = static_cast<float>(i) / static_cast<float>(numPrimitives); in test()
[all …]
DvktTessellationMiscDrawTests.cpp139 const std::vector<tcu::Vec2> vertexData = genVertexPositions(caseDef.primitiveType); in runTest() local
146 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(vertexData); in runTest()
151 DE_ASSERT(inPatchSize == vertexData.size()); in runTest()
152 DE_ASSERT(sizeof(vertexData[0]) == vertexStride); in runTest()
156 deMemcpy(alloc.getHostPtr(), &vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
DvktTessellationInvarianceTests.cpp560 void uploadVertexAttributes (const std::vector<float>& vertexData);
697 void BaseTestInstance::uploadVertexAttributes (const std::vector<float>& vertexData) in uploadVertexAttributes() argument
703 deMemcpy(alloc.getHostPtr(), &vertexData[0], sizeInBytes(vertexData)); in uploadVertexAttributes()
704 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), sizeInBytes(vertexData)); in uploadVertexAttributes()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1519 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
1525 { 4, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1526 { 3, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1527 { 2, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1528 { 1, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1529 { 4, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1530 { 3, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1531 { 2, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1532 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1555 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
[all …]
Des2fRasterizationTests.cpp95 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
96 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const st…
185 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum pri… in drawPrimitives() argument
188 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
190 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives()
193 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vect… in drawPrimitives() argument
205 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertexData[0]); in drawPrimitives()
210 gl.drawArrays (primitiveType, 0, (glw::GLsizei)vertexData.size()); in drawPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp538 std::vector<tcu::Vec2> vertexData; in recordCommands() local
540 vertexData.push_back(tcu::Vec2(-1.0f,-1.0f)); in recordCommands()
541 vertexData.push_back(tcu::Vec2( 0.0f, 0.0f)); in recordCommands()
543 vertexData.push_back(tcu::Vec2(-1.0f, 1.0f)); in recordCommands()
544 vertexData.push_back(tcu::Vec2( 0.0f, 1.0f)); in recordCommands()
546 vertexData.push_back(tcu::Vec2( 1.0f,-1.0f)); in recordCommands()
547 vertexData.push_back(tcu::Vec2( 1.0f, 0.0f)); in recordCommands()
549 vertexData.push_back(tcu::Vec2( 1.0f, 1.0f)); in recordCommands()
550 vertexData.push_back(tcu::Vec2( 1.0f, 1.0f)); in recordCommands()
552 const VkDeviceSize vertexDataSizeInBytes = sizeInBytes(vertexData); in recordCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp99 std::vector<Vec4> vertexData; in NegativeViewportHeightTestInstance() local
102 vertexData.push_back(Vec4(-0.8f, -0.6f, 0.0f, 1.0f)); // 0-----2 in NegativeViewportHeightTestInstance()
103 vertexData.push_back(Vec4(-0.8f, 0.6f, 0.0f, 1.0f)); // | / in NegativeViewportHeightTestInstance()
104 vertexData.push_back(Vec4(-0.2f, -0.6f, 0.0f, 1.0f)); // 1|/ in NegativeViewportHeightTestInstance()
107 vertexData.push_back(Vec4( 0.2f, -0.6f, 0.0f, 1.0f)); // 0-----1 in NegativeViewportHeightTestInstance()
108 vertexData.push_back(Vec4( 0.8f, -0.6f, 0.0f, 1.0f)); // \ | in NegativeViewportHeightTestInstance()
109 vertexData.push_back(Vec4( 0.8f, 0.6f, 0.0f, 1.0f)); // \|2 in NegativeViewportHeightTestInstance()
111 const VkDeviceSize dataSize = vertexData.size() * sizeof(Vec4); in NegativeViewportHeightTestInstance()
115 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &vertexData[0], static_cast<std::size_t>(d… in NegativeViewportHeightTestInstance()
DvktDrawInvertedDepthRangesTests.cpp104 std::vector<Vec4> vertexData; in InvertedDepthRangesTestInstance() local
106 vertexData.push_back(Vec4(-0.8f, -0.8f, -0.2f, 1.0f)); // 0-----2 in InvertedDepthRangesTestInstance()
107 vertexData.push_back(Vec4(-0.8f, 0.8f, 0.0f, 1.0f)); // | / in InvertedDepthRangesTestInstance()
108 vertexData.push_back(Vec4( 0.8f, -0.8f, 1.2f, 1.0f)); // 1|/ in InvertedDepthRangesTestInstance()
110 const VkDeviceSize dataSize = vertexData.size() * sizeof(Vec4); in InvertedDepthRangesTestInstance()
114 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &vertexData[0], static_cast<std::size_t>(d… in InvertedDepthRangesTestInstance()
/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.cpp76 auto vertexData = fArena.makeArrayDefault<char>(vertexDataSize); in recordDraw() local
77 memcpy(vertexData, srcVertexData, vertexDataSize); in recordDraw()
79 auto* vertex = reinterpret_cast<SkAtlasTextRenderer::SDFVertex*>(vertexData) + i; in recordDraw()
87 Draw{glyphCnt, fTokenTracker.issueDrawToken(), targetHandle, vertexData}); in recordDraw()
DSkInternalAtlasTextContext.h43 void recordDraw(const void* vertexData, int glyphCnt, const SkMatrix&, void* targetHandle);
/external/skia/src/atlastext/
DSkInternalAtlasTextContext.cpp76 auto vertexData = fArena.makeArrayDefault<char>(vertexDataSize); in recordDraw() local
77 memcpy(vertexData, srcVertexData, vertexDataSize); in recordDraw()
79 auto* vertex = reinterpret_cast<SkAtlasTextRenderer::SDFVertex*>(vertexData) + i; in recordDraw()
87 Draw{glyphCnt, fTokenTracker.issueDrawToken(), targetHandle, vertexData}); in recordDraw()
DSkInternalAtlasTextContext.h43 void recordDraw(const void* vertexData, int glyphCnt, const SkMatrix&, void* targetHandle);
/external/skia/experimental/nima/
DNimaActor.cpp197 float* vertexData = fActorImage->vertices(); in updateVertices() local
223 float* attrPosition = vertexData + j; in updateVertices()
224 float* attrTex = vertexData + j + 2; in updateVertices()
225 float* attrBoneIdx = vertexData + j + 4; in updateVertices()
226 float* attrBoneWgt = vertexData + j + 8; in updateVertices()
/external/skqp/experimental/nima/
DNimaActor.cpp197 float* vertexData = fActorImage->vertices(); in updateVertices() local
223 float* attrPosition = vertexData + j; in updateVertices()
224 float* attrTex = vertexData + j + 2; in updateVertices()
225 float* attrBoneIdx = vertexData + j + 4; in updateVertices()
226 float* attrBoneWgt = vertexData + j + 8; in updateVertices()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp3882 static void generateLayeredGridVertexAttribData4C4V (std::vector<tcu::Vec4>& vertexData, const Laye… in generateLayeredGridVertexAttribData4C4V() argument
3888 vertexData.resize(getLayeredGridNumVertices(scene) * 2); in generateLayeredGridVertexAttribData4C4V()
3900vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3901vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3903vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3904vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3906vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3907vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3909vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3910vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
[all …]
/external/skqp/tests/
DGrMeshTest.cpp98 SkTArray<std::array<Box, 4>> vertexData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
120 std::array<Box, 4>& boxVertices = vertexData.push_back(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
151 expandedVertexData.push_back(vertexData[i][kIndexPattern[j]]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
193 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DGrMeshTest.cpp98 SkTArray<std::array<Box, 4>> vertexData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
120 std::array<Box, 4>& boxVertices = vertexData.push_back(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 expandedVertexData.push_back(vertexData[i][kIndexPattern[j]]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1242 std::vector<tcu::Vec4> vertexData (12 * GRID_SIZE * GRID_SIZE); in createBuffers() local
1249vertexData[(y * GRID_SIZE + x) * 12 + 0] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1250 vertexData[(y * GRID_SIZE + x) * 12 + 1] = color; in createBuffers()
1251vertexData[(y * GRID_SIZE + x) * 12 + 2] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1252 vertexData[(y * GRID_SIZE + x) * 12 + 3] = color; in createBuffers()
1253vertexData[(y * GRID_SIZE + x) * 12 + 4] = tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1254 vertexData[(y * GRID_SIZE + x) * 12 + 5] = color; in createBuffers()
1255vertexData[(y * GRID_SIZE + x) * 12 + 6] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1256 vertexData[(y * GRID_SIZE + x) * 12 + 7] = color; in createBuffers()
1257vertexData[(y * GRID_SIZE + x) * 12 + 8] = tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
[all …]
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp311 static void setupAttributes (sglr::Context& ctx, const VertexDataStorage& vertexData, deUint32 prog… in setupAttributes() argument
313 for (int attribNdx = 0; attribNdx < vertexData.getNumEntries(); ++attribNdx) in setupAttributes()
315 const glu::VertexArrayBinding bindingPtr = getEntryWithPointer(vertexData, attribNdx); in setupAttributes()
517 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices); in iterate() local
543 const glu::VertexArrayBinding layoutEntry = getEntryWithPointer(vertexData, attribNdx); in iterate()
573 const glu::VertexArrayPointer posPtr = getEntryWithPointer(vertexData, positionNdx).pointer; in iterate()
587 setupAttributes(ctx, vertexData, program); in iterate()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp399 GLfloat vertexData[] = {-0.4f,-0.4f, 0.0f, // Bottom Left in InitialiseBuffer() local
413 glBufferData(GL_ARRAY_BUFFER, sizeof(vertexData), vertexData, GL_STATIC_DRAW); in InitialiseBuffer()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp750 Vertex4RGBA vertexData[3] = in generateVertices() local
769 vertexData[i].color = tcu::Vec4(); in generateVertices()
772 vertices = std::vector<Vertex4RGBA>(vertexData, vertexData + 3); in generateVertices()
778 const Vertex4RGBA vertexData[2] = in generateVertices() local
790 vertices = std::vector<Vertex4RGBA>(vertexData, vertexData + 2); in generateVertices()
812 Vertex4RGBA vertexData[4] = in generateVertices() local
835 vertexData[i].color.w() = 0.25f; in generateVertices()
840 vertexData[i].color.w() = 0.0f; in generateVertices()
844 vertexData[0].color.w() = 0.0f; in generateVertices()
845 vertexData[2].color.w() = 0.0f; in generateVertices()
[all …]
DvktPipelineInputAssemblyTests.cpp86 std::vector<Vertex4RGBA>& vertexData) const = 0;
109 std::vector<Vertex4RGBA>& vertexData) const;
129 std::vector<Vertex4RGBA>& vertexData) const;
287 …kIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData()
615 vertexData = vertices; in createBufferData()
641 …kIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData()
895 vertexData = vertices; in createBufferData()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp1429 vector<Vec4> vertexData; in iterateInternal() local
1470 vertexData.push_back(Vec4(x, y, primitiveDepth, 1.0f)); in iterateInternal()
1475 const size_t vertexCount = vertexData.size(); in iterateInternal()
1514 deMemcpy(vertexBufPtr, vertexData.data(), vertexDataSize); in iterateInternal()
1518 vkd.cmdDraw(*commandBuffer, (deUint32)vertexData.size(), 1u, 0u, 0u); in iterateInternal()
1703 …rimitiveList primitiveList (rr::PrimitiveList(primitiveType, (deUint32)vertexData.size(), 0)); in iterateInternal()
1706 …vertices = rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, &vertexData[0]); in iterateInternal()

12