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

Add support for replaying to the surface on Windows and Linux #2124

Merged
merged 6 commits into from
Aug 3, 2018

Conversation

sean-purcell
Copy link
Contributor

No description provided.

@sean-purcell sean-purcell force-pushed the surface-render-win32 branch from 0c0ce2d to f236243 Compare August 2, 2018 22:08
@sean-purcell sean-purcell force-pushed the surface-render-win32 branch from f236243 to b6a56e6 Compare August 3, 2018 16:50
@sean-purcell
Copy link
Contributor Author

Rebased on top of fix from #2125

target = gapir::SurfaceType::Android;
break;
// These are all linux, so just make an Xcb surface
case VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR:
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not strictly true, but we haven't seen anything that violates this, but technically, if you are on linux you MAY be running a MIR or Wayland compositor where X would fail.

We can handle this if we ever see a system that doesn't allow X.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah ok, yeah if it's an issue adding more window types in the future shouldn't be challenging.

@AWoloszyn
Copy link
Contributor

I will merge when the builds go green

@AWoloszyn AWoloszyn merged commit f9a3b3c into google:master Aug 3, 2018
@sean-purcell sean-purcell deleted the surface-render-win32 branch August 4, 2018 03:57
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