Rework Presentation Flow #15

Merged
cosmonaut merged 4 commits from present_rewrite into main 2022-03-02 06:33:59 +00:00

Removes Refresh_RenderTarget, Refresh_CreateRenderTarget and Refresh_QueueDestroyRenderTarget. Render targets are now managed by the implementation.

Adds REFRESH_TEXTUREFORMAT_B8G8R8A8.

Adds Refresh_AcquireSwapchainTexture. Returns a swapchain texture for the requested window.

Removes Refresh_QueuePresent. It is now assumed that the texture returned by Refresh_AcquireSwapchainTexture will be presented. This texture can be manipulated like any other texture.

Adds Refresh_GetSwapchainFormat. Returns the swapchain format for the requested window.

Removes `Refresh_RenderTarget`, `Refresh_CreateRenderTarget` and `Refresh_QueueDestroyRenderTarget`. Render targets are now managed by the implementation. Adds `REFRESH_TEXTUREFORMAT_B8G8R8A8`. Adds `Refresh_AcquireSwapchainTexture`. Returns a swapchain texture for the requested window. Removes `Refresh_QueuePresent`. It is now assumed that the texture returned by `Refresh_AcquireSwapchainTexture` will be presented. This texture can be manipulated like any other texture. Adds `Refresh_GetSwapchainFormat`. Returns the swapchain format for the requested window.
cosmonaut added 4 commits 2022-03-02 06:32:51 +00:00
continuous-integration/drone/push Build is passing Details
4c73c6c200
initial present rewrite
continuous-integration/drone/push Build is passing Details
c9290c90ce
add BGRA support to Image_SavePNG
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
ed020691cc
add swapchain format query
cosmonaut merged commit cb99489b3c into main 2022-03-02 06:33:59 +00:00
cosmonaut deleted branch present_rewrite 2022-03-02 06:33:59 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/Refresh#15
There is no content yet.