Searched refs:randomSize (Results 1 – 2 of 2) sorted by relevance
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 826 VkDeviceSize randomSize (de::Random& rng, VkDeviceSize atomSize, VkDeviceSize maxSize) in randomSize() function 852 const VkDeviceSize size = randomSize(rng, atomSize, maxSize); in randomRanges() 935 const VkDeviceSize size = randomSize(rng, m_atomSize, m_size); in mapRandom() 1255 const VkDeviceSize size = randomSize(rng, atomSize, maxAllocationSize); in allocateRandom()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2037 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2042 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2048 gl.drawArrays(GL_POINTS, randomSize / (int)sizeof(float[4]) - 1, 1); in iterate() 2081 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2086 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2101 const int randomSize = deAlign32(rnd.getInt(1, maxBufferSize), 4*4); in iterate() local 2107 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2111 gl.drawArrays(GL_POINTS, randomSize / (int)sizeof(float[4]) - 1, 1); in iterate() 2116 ptr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, randomSize, GL_MAP_WRITE_BIT); in iterate() 2119 medianTimeMemcpy(ptr, &zeroData[0], randomSize); in iterate()
|