Lines Matching refs:mapPtr
2844 void* mapPtr; in attemptBufferMap() local
2853 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, result.writtenSize, m_mapFlags); in attemptBufferMap()
2857 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, result.writtenSize, m_mapFlags); in attemptBufferMap()
2861 if (!mapPtr) in attemptBufferMap()
2869 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], result.writtenSize); in attemptBufferMap()
3064 void* mapPtr; in attemptBufferMap() local
3073 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, mappedSize, m_mapFlags); in attemptBufferMap()
3077 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, mappedSize, m_mapFlags); in attemptBufferMap()
3081 if (!mapPtr) in attemptBufferMap()
3090 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], result.writtenSize); in attemptBufferMap()
3092 …result.duration.writeDuration = medianTimeMemcpy((deUint8*)mapPtr + bufferSize / 4, &m_zeroData[0]… in attemptBufferMap()
3649 void* mapPtr; in testWithBufferSize() local
3657 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, subdataOffset, subdataSize, m_mapFlags); in testWithBufferSize()
3660 if (!mapPtr) in testWithBufferSize()
3668 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], subdataSize); in testWithBufferSize()
3766 void* mapPtr; in testWithBufferSize() local
3774 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, subdataOffset, subdataSize, m_mapFlags); in testWithBufferSize()
3777 if (!mapPtr) in testWithBufferSize()
3785 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], subdataSize); in testWithBufferSize()
4532 void* mapPtr; in runSample() local
4540 …mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, unrelatedUploadSize, GL_MAP_WRITE_BIT | GL_MAP_INVA… in runSample()
4541 if (!mapPtr) in runSample()
4544 deMemcpy(mapPtr, &vertexData[0], unrelatedUploadSize); in runSample()
4965 void* mapPtr; in runSample() local
4972 …mapPtr = gl.mapBufferRange(target, offset, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT | … in runSample()
4973 if (!mapPtr) in runSample()
4976 deMemcpy(mapPtr, source, (int)size); in runSample()
5303 void* mapPtr; in runSample() local
5306 mapPtr = gl.mapBufferRange(target, offset, size, mapFlags); in runSample()
5307 if (!mapPtr) in runSample()
5310 deMemcpy(mapPtr, source, (int)size); in runSample()
5768 void* mapPtr; in uploadBuffer() local
5771 …mapPtr = gl.mapBufferRange(target, 0, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT | GL_M… in uploadBuffer()
5772 if (!mapPtr) in uploadBuffer()
5775 deMemcpy(mapPtr, source, (int)size); in uploadBuffer()