-
Notifications
You must be signed in to change notification settings - Fork 45
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
Consider renaming SwapChainSurface.suboptimal to optimal. #257
Labels
has resolution
Issue is resolved, just needs to be done
presentation
Presenting images to surfaces like windows and canvases
Comments
kainino0x
added
!discuss
Needs discussion (at meeting or online)
presentation
Presenting images to surfaces like windows and canvases
has resolution
Issue is resolved, just needs to be done
needs docs
Non-trivial API contract needs to be documented. Orthogonal to open vs closed; remove when doc'd.
labels
Jan 3, 2024
Meeting Jan 4:
Something like: typedef enum WGPUSurfaceGetCurrentTextureStatus {
WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal = 0x00000000,
WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal = 0x00000001,
WGPUSurfaceGetCurrentTextureStatus_Timeout = 0x00000002,
// ...
} WGPUSurfaceGetCurrentTextureStatus WGPU_ENUM_ATTRIBUTE;
typedef struct WGPUSurfaceTexture {
WGPUTexture texture;
WGPUSurfaceGetCurrentTextureStatus status;
} WGPUSurfaceTexture WGPU_STRUCTURE_ATTRIBUTE;
Or |
👍 For merging |
kainino0x
removed
the
needs docs
Non-trivial API contract needs to be documented. Orthogonal to open vs closed; remove when doc'd.
label
Oct 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
has resolution
Issue is resolved, just needs to be done
presentation
Presenting images to surfaces like windows and canvases
A slight nit is that negative member names often end up creating double negations in code that are slightly harder to parse. Renaming
suboptimal
tooptimal
would help.The text was updated successfully, but these errors were encountered: