mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-10 00:45:37 +00:00
[rpcsx-gpu] Implemented swapchain
This commit is contained in:
parent
2ab5cfb1f3
commit
1e733facaa
8 changed files with 698 additions and 490 deletions
|
|
@ -159,10 +159,10 @@ static std::int64_t dce_instance_ioctl(IoDeviceInstance *instance,
|
|||
|
||||
// TODO: lock bridge header
|
||||
rx::bridge.header->buffers[args->index] = {
|
||||
.bufferIndex = static_cast<uint32_t>(args->index),
|
||||
.width = dceInstance->bufferAttributes.width,
|
||||
.height = dceInstance->bufferAttributes.height,
|
||||
.pitch = dceInstance->bufferAttributes.pitch,
|
||||
.address = args->address,
|
||||
.pixelFormat = dceInstance->bufferAttributes.pixelFormat,
|
||||
.tilingMode = dceInstance->bufferAttributes.tilingMode
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue