Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds GDK Xbox d3d12 compatibility with dxgi wrapper #2949

Closed
wants to merge 6 commits into from

Conversation

cigumo
Copy link
Contributor

@cigumo cigumo commented Oct 6, 2022

Requires

GENie PR: bkaradzic/GENie#547
BX PR: bkaradzic/bx#288

Original code by devonsoft.

@cigumo cigumo requested a review from bkaradzic as a code owner October 6, 2022 13:18
planeParameters.ResourceCount = 1;
planeParameters.ppResources = &m_backBufferColor[m_backBufferColorIdx];
DX_CHECK(m_cmd.m_commandQueue->PresentX(1, &planeParameters, 0));
if (m_framePipelineToken != D3D12XBOX_FRAME_PIPELINE_TOKEN_NULL) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indent + brace goes to next line...

@@ -317,6 +317,7 @@ namespace bgfx
std::atomic<bool> g_suspendRequested = false;
std::atomic<bool> g_suspendComplete = false;
std::atomic<bool> g_resumeRequested = false;
std::atomic<bool> g_resumeComplete = true;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bgfx is not using STL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm removing the pull request. Will resubmit once I have a chance to replace std::atomic and the game passes certicication.

@cigumo
Copy link
Contributor Author

cigumo commented Dec 5, 2022

I will resubmit once I can remove std::atomic. Closing it for now.

@cigumo cigumo closed this Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants