/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/ |
H A D | render_data_store_default_staging.cpp | 54 // destroy already consumed staging buffers in PostRender() 69 auto& staging = in CopyImageToBuffer() local 71 const uint32_t beginIndex = static_cast<uint32_t>(staging.bufferImageCopies.size()); in CopyImageToBuffer() 72 staging.bufferImageCopies.push_back(bufferImageCopy); in CopyImageToBuffer() 74 staging.imageToBuffer.push_back(StagingCopyStruct { StagingCopyStruct::DataType::DATA_TYPE_SRC_TO_DST_COPY, in CopyImageToBuffer() 85 auto& staging = in CopyImageToImage() local 87 const uint32_t beginIndex = static_cast<uint32_t>(staging.imageCopies.size()); in CopyImageToImage() 88 staging.imageCopies.push_back(imageCopy); in CopyImageToImage() 90 staging.imageToImage.push_back(StagingCopyStruct { StagingCopyStruct::DataType::DATA_TYPE_SRC_TO_DST_COPY, in CopyImageToImage() 101 auto& staging in CopyBufferToBuffer() local 117 auto& staging = CopyBufferToImage() local 150 auto& staging = stagingConsumeData_.beginFrame; CopyDataToBuffer() local 194 auto& staging = stagingConsumeData_.beginFrame; CopyDataToImage() local 210 auto& staging = stagingConsumeData_.beginFrame; CopyBufferToImage() local 246 const auto& staging = frameStagingConsumeData_; HasBeginStagingData() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_end_frame_staging.cpp | 69 const StagingConsumeStruct staging = {}; in ExecuteFrame() local 71 renderStaging.CopyStagingToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame() 72 renderStaging.CopyImagesToBuffers(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame() 73 renderStaging.CopyImagesToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame() 75 renderStaging.CopyBuffersToBuffers(cmdList, staging, renderDataStoreStaging); in ExecuteFrame()
|
H A D | render_node_staging.cpp | 45 PLUGIN_LOG_E("staging: direct dstHandle %" PRIu64, ref.dstHandle.GetHandle().id); in CopyHostDirectlyToBuffer() 81 PLUGIN_LOG_E("staging: dstHandle %" PRIu64, ref.dstHandle.GetHandle().id); in CopyHostDirectlyToBuffer() 93 PLUGIN_LOG_E("Copying of staging data failed"); in CopyHostDirectlyToBuffer() 149 // memcpy to staging in ExecuteFrame() 150 const StagingConsumeStruct staging = gpuResourceMgrImpl.ConsumeStagingData(); in ExecuteFrame() local 151 renderStaging.CopyHostToStaging(gpuResourceMgr, staging); in ExecuteFrame() 154 CopyHostDirectlyToBuffer(gpuResourceMgr, staging); in ExecuteFrame() 159 renderStaging.CopyStagingToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame() 160 renderStaging.CopyImagesToBuffers(cmdList, gpuResourceMgr, staging, renderDataStoreStaging); in ExecuteFrame() 161 renderStaging.CopyImagesToImages(cmdList, gpuResourceMgr, staging, renderDataStoreStagin in ExecuteFrame() [all...] |
/foundation/graphic/graphic_3d/lume/LumeFont/src/ |
H A D | font_manager.cpp | 382 auto staging = static_cast<IRenderDataStoreDefaultStaging*>( in CreateAtlasTexture() local 385 staging->ClearColorImage(tex->handle, zero); in CreateAtlasTexture() 458 // create a staging buffer big enough for all the columns in UploadPending()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 544 auto staging = static_cast<IRenderDataStoreDefaultStaging*>( in StageToBuffers() local 549 staging->CopyBufferToBuffer(stagingBuffer, handles.vertexBuffer, copyData); in StageToBuffers() 554 staging->CopyBufferToBuffer(stagingBuffer, handles.indexBuffer, copyData); in StageToBuffers() 560 staging->CopyBufferToBuffer(stagingBuffer, handles.jointBuffer, copyData); in StageToBuffers() 565 staging->CopyBufferToBuffer(stagingBuffer, handles.morphBuffer, copyData); in StageToBuffers() 1214 // Then copy the data to staging buffer. in SetIndexData() 1218 // Convert directly to the staging buffer. in SetIndexData()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 1470 IImageContainer::Ptr image, IRenderDataStoreDefaultStaging& staging, IGpuResourceManager& gpuResourceManager) in ImportTexture() 1523 staging.CopyBufferToImage(bufferHandle, imageHandle, copies); in ImportTexture() 3069 IRenderDataStoreDefaultStaging* staging; 3075 auto staging = static_cast<IRenderDataStoreDefaultStaging*>( 3079 task->data = ImageTaskData { this, i, move(uri), move(name), staging, {} }; 3088 t->data.imageHandle = ImportTexture(move(result.image), *t->data.staging, importer->gpuResourceManager_); 1469 ImportTexture( IImageContainer::Ptr image, IRenderDataStoreDefaultStaging& staging, IGpuResourceManager& gpuResourceManager) ImportTexture() argument
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_manager.cpp | 275 // staging needs to be locked when called with the input resources 638 // add staging vector index handle to resource handle in pending allocations 813 // add staging handle to resource handle in pending allocations 855 // add staging vector index to resource alloc in pending allocations 1168 // has staging lock and possible gpu buffer lock inside 1204 // staging cannot be locked when called 1255 // there cannot be staging operations because pendingData was not found 1754 // create frame staging buffers and set handles for staging 1786 // explicit destruction of staging resource [all...] |