Searched refs:latestBuffer (Results 1 – 1 of 1) sorted by relevance
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Buffer11.cpp | 986 BufferStorage *latestBuffer = nullptr; in updateBufferStorage() local 987 ANGLE_TRY(getLatestBufferStorage(context, &latestBuffer)); in updateBufferStorage() 991 if (!latestBuffer) in updateBufferStorage() 997 if (latestBuffer->getDataRevision() <= storage->getDataRevision()) in updateBufferStorage() 1005 if (latestBuffer->getUsage() != BUFFER_USAGE_STAGING && in updateBufferStorage() 1007 (!latestBuffer->isCPUAccessible(GL_MAP_READ_BIT) || in updateBufferStorage() 1014 ANGLE_TRY(stagingBuffer->copyFromStorage(context, latestBuffer, 0, latestBuffer->getSize(), in updateBufferStorage() 1016 onCopyStorage(stagingBuffer, latestBuffer); in updateBufferStorage() 1018 latestBuffer = stagingBuffer; in updateBufferStorage() 1023 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, ©Result)); in updateBufferStorage() [all …]
|