diff --git a/include/Refresh.h b/include/Refresh.h index aeeba81..adb2aa0 100644 --- a/include/Refresh.h +++ b/include/Refresh.h @@ -730,7 +730,7 @@ REFRESHAPI void Refresh_QueueDestroySampler( */ REFRESHAPI void Refresh_QueueDestroyGpuBuffer( Refresh_Device *device, - Refresh_GpuBuffer *buffer + Refresh_GpuBuffer *gpuBuffer ); /* Sends a buffer to be destroyed by the renderer. Note that we call it @@ -740,7 +740,7 @@ REFRESHAPI void Refresh_QueueDestroyGpuBuffer( */ REFRESHAPI void Refresh_QueueDestroyTransferBuffer( Refresh_Device *device, - Refresh_TransferBuffer *buffer + Refresh_TransferBuffer *transferBuffer ); /* Sends a shader module to be destroyed by the renderer. Note that we call it @@ -829,7 +829,7 @@ REFRESHAPI void Refresh_BindVertexBuffers( REFRESHAPI void Refresh_BindIndexBuffer( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint64_t offset, Refresh_IndexElementSize indexElementSize ); @@ -955,7 +955,7 @@ REFRESHAPI void Refresh_DrawPrimitives( REFRESHAPI void Refresh_DrawPrimitivesIndirect( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint32_t offsetInBytes, uint32_t drawCount, uint32_t stride @@ -1152,7 +1152,7 @@ REFRESHAPI void Refresh_CopyTextureToBuffer( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, Refresh_TextureSlice *textureSlice, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_BufferImageCopy *copyParams ); @@ -1160,7 +1160,7 @@ REFRESHAPI void Refresh_CopyTextureToBuffer( REFRESHAPI void Refresh_CopyBufferToTexture( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_TextureSlice *textureSlice, Refresh_BufferImageCopy *copyParams ); diff --git a/src/Refresh.c b/src/Refresh.c index b4fb534..d8f1553 100644 --- a/src/Refresh.c +++ b/src/Refresh.c @@ -345,23 +345,23 @@ void Refresh_QueueDestroySampler( void Refresh_QueueDestroyGpuBuffer( Refresh_Device *device, - Refresh_GpuBuffer *buffer + Refresh_GpuBuffer *gpuBuffer ) { NULL_RETURN(device); device->QueueDestroyGpuBuffer( device->driverData, - buffer + gpuBuffer ); } void Refresh_QueueDestroyTransferBuffer( Refresh_Device *device, - Refresh_TransferBuffer *buffer + Refresh_TransferBuffer *transferBuffer ) { NULL_RETURN(device); device->QueueDestroyTransferBuffer( device->driverData, - buffer + transferBuffer ); } @@ -478,7 +478,7 @@ void Refresh_BindVertexBuffers( void Refresh_BindIndexBuffer( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint64_t offset, Refresh_IndexElementSize indexElementSize ) { @@ -486,7 +486,7 @@ void Refresh_BindIndexBuffer( device->BindIndexBuffer( device->driverData, commandBuffer, - buffer, + gpuBuffer, offset, indexElementSize ); @@ -606,7 +606,7 @@ void Refresh_DrawPrimitives( void Refresh_DrawPrimitivesIndirect( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint32_t offsetInBytes, uint32_t drawCount, uint32_t stride @@ -615,7 +615,7 @@ void Refresh_DrawPrimitivesIndirect( device->DrawPrimitivesIndirect( device->driverData, commandBuffer, - buffer, + gpuBuffer, offsetInBytes, drawCount, stride @@ -864,7 +864,7 @@ void Refresh_CopyTextureToBuffer( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, Refresh_TextureSlice *textureSlice, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_BufferImageCopy *copyParameters ) { NULL_RETURN(device); @@ -872,7 +872,7 @@ void Refresh_CopyTextureToBuffer( device->driverData, commandBuffer, textureSlice, - buffer, + gpuBuffer, copyParameters ); } @@ -880,7 +880,7 @@ void Refresh_CopyTextureToBuffer( void Refresh_CopyBufferToTexture( Refresh_Device *device, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_TextureSlice *textureSlice, Refresh_BufferImageCopy *copyParams ) { @@ -888,7 +888,7 @@ void Refresh_CopyBufferToTexture( device->CopyBufferToTexture( device->driverData, commandBuffer, - buffer, + gpuBuffer, textureSlice, copyParams ); diff --git a/src/Refresh_Driver.h b/src/Refresh_Driver.h index 5c5ed14..e95b63f 100644 --- a/src/Refresh_Driver.h +++ b/src/Refresh_Driver.h @@ -233,12 +233,12 @@ struct Refresh_Device void (*QueueDestroyGpuBuffer)( Refresh_Renderer *driverData, - Refresh_GpuBuffer *buffer + Refresh_GpuBuffer *gpuBuffer ); void (*QueueDestroyTransferBuffer)( Refresh_Renderer *driverData, - Refresh_TransferBuffer *buffer + Refresh_TransferBuffer *transferBuffer ); void (*QueueDestroyShaderModule)( @@ -296,7 +296,7 @@ struct Refresh_Device void (*BindIndexBuffer)( Refresh_Renderer *driverData, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint64_t offset, Refresh_IndexElementSize indexElementSize ); @@ -356,7 +356,7 @@ struct Refresh_Device void (*DrawPrimitivesIndirect)( Refresh_Renderer *driverData, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, uint32_t offsetInBytes, uint32_t drawCount, uint32_t stride @@ -480,14 +480,14 @@ struct Refresh_Device Refresh_Renderer *driverData, Refresh_CommandBuffer *commandBuffer, Refresh_TextureSlice *textureSlice, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_BufferImageCopy *copyParams ); void (*CopyBufferToTexture)( Refresh_Renderer *driverData, Refresh_CommandBuffer *commandBuffer, - Refresh_GpuBuffer *buffer, + Refresh_GpuBuffer *gpuBuffer, Refresh_TextureSlice *textureSlice, Refresh_BufferImageCopy *copyParams );