Skip to content

Convert Surface and SurfaceTexture into enums - #400

Open
mrobinson wants to merge 1 commit into
servo:mainfrom
mrobinson:surface-and-surface-texture
Open

mrobinson wants to merge 1 commit into
servo:mainfrom
mrobinson:surface-and-surface-texture

Conversation

@mrobinson

Copy link
Copy Markdown
Member

This continues the work started in #397 for the new API. This does
add a large number of new conversion sites, but the hope is that once
all types are enums this conversion can be hidden mostly behind a macro.

This continues the work started in servo#397 for the new API. This does
add a large number of new conversion sites, but the hope is that once
all types are enums this conversion can be hidden mostly behind a macro.

Signed-off-by: Martin Robinson <mrobinson@abandonedwig.info>
@mrobinson

Copy link
Copy Markdown
Member Author

Apologies for the size of the change. It was impossible to transition Surface and SurfaceTexture separately due to the way that Chains was using generics.

@mrobinson mrobinson mentioned this pull request Oct 2, 2026
3 of 6 tasks
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.

1 participant