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

Possibly allow the host to avoid server Metal pipeline state if they will always blit #86

Open
bangnoise opened this issue Jan 6, 2023 · 0 comments
Assignees

Comments

@bangnoise
Copy link
Member

SyphonMetalServer always creates a SyphonServerRendererMetal with associated pipeline state. This will never be used if the host only provides blittable textures. Although we could lazily initialise it, that would cause some delay to the first frame published.

Possibly add an option to be passed to the options dictionary which takes a MTLTextureDescriptor for textures the host intends to publish, and skip SyphonServerRendererMetal creation if the textures will be blittable.

The harm in this will be somewhat mitigated by #85.

@bangnoise bangnoise self-assigned this Jan 6, 2023
@bangnoise bangnoise changed the title Possibly allow the host to avoid the Metal pipeline state if they will always blit Possibly allow the host to avoid server Metal pipeline state if they will always blit Jan 6, 2023
@bangnoise bangnoise mentioned this issue Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant