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

Copy pixels to d3d texture in openxr backend #40

Merged
merged 7 commits into from Aug 16, 2019
Merged

Copy pixels to d3d texture in openxr backend #40

merged 7 commits into from Aug 16, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Aug 16, 2019

This is inefficient, but it works.

We should figure out ANGLE sharing to do a direct blit, next.

r? @jdm

@jdm
jdm approved these changes Aug 16, 2019
@@ -498,7 +499,7 @@ fn init_device_for_adapter(
adapter.as_raw(),
D3D_DRIVER_TYPE_UNKNOWN,
ptr::null_mut(),
d3d11::D3D11_CREATE_DEVICE_BGRA_SUPPORT,
d3d11::D3D11_CREATE_DEVICE_BGRA_SUPPORT | d3d11::D3D11_CREATE_DEVICE_DEBUG,

This comment has been minimized.

@jdm

jdm Aug 16, 2019

Member

Should we remove this, or at least file an issue so we don't end up shipping with it on? It might even be nice to make it configurable from the embedding.

This comment has been minimized.

@Manishearth

Manishearth Aug 16, 2019

Author Member

I'll remove it for now

@@ -416,6 +419,9 @@ impl Device for OpenXrDevice {
])],
)
.unwrap();
if let Some(sync) = sync {

This comment has been minimized.

@jdm

jdm Aug 16, 2019

Member

Don't we want this before we do the readback?

This comment has been minimized.

@Manishearth

Manishearth Aug 16, 2019

Author Member

idk, cc @asajeffrey ?

This comment has been minimized.

@Manishearth

Manishearth Aug 16, 2019

Author Member

I think you're right.

@Manishearth
Copy link
Member Author

Manishearth commented Aug 16, 2019

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Aug 16, 2019

📌 Commit ddcf3d4 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Aug 16, 2019

Testing commit ddcf3d4 with merge 17dcfc9...

bors-servo added a commit that referenced this pull request Aug 16, 2019
Copy pixels to d3d texture in openxr backend

This is inefficient, but it works.

We should figure out ANGLE sharing to do a direct blit, next.

r? @jdm
@bors-servo
Copy link
Contributor

bors-servo commented Aug 16, 2019

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 17dcfc9 to master...

@bors-servo bors-servo merged commit ddcf3d4 into master Aug 16, 2019
4 of 5 checks passed
4 of 5 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Travis CI - Branch Build Passed
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.