Skip to content

Merge most impl Device blocks in src/hardware_buffer#374

Merged
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:merge-device-block-hardware_buffer
Jun 9, 2026
Merged

Merge most impl Device blocks in src/hardware_buffer#374
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:merge-device-block-hardware_buffer

Conversation

@mrobinson

Copy link
Copy Markdown
Member

This change just moves code and adjust imports. It was very previously
difficult to know where any particular Device method was implemented.
This will also make it easier to eliminate macros.rs, necessary to
implement the new version of the API. The downside is that now much of
the implementation is gathered into the device.rs files, but these
usually do not go beyond 1500 lines. Further changes to the API will
eliminate many lines of code and spread the logic more equally between
files.

Signed-off-by: Martin Robinson mrobinson@igalia.com

This change just moves code and adjust imports.  It was very previously
difficult to know where any particular `Device` method was implemented.
This will also make it easier to eliminate `macros.rs, necessary to
implement the new version of the API. The downside is that now much of
the implementation is gathered into the `device.rs` files, but these
usually do not go beyond 1500 lines. Further changes to the API will
eliminate many lines of code and spread the logic more equally between
files.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
@jdm jdm added this pull request to the merge queue Jun 9, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jun 9, 2026
@jdm jdm added this pull request to the merge queue Jun 9, 2026
@mrobinson mrobinson removed this pull request from the merge queue due to a manual request Jun 9, 2026
@mrobinson mrobinson added this pull request to the merge queue Jun 9, 2026
Merged via the queue into servo:main with commit faaa35c Jun 9, 2026
29 checks passed
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