Skip to content

script: Introduce unrooted variant of GPUCanvasConfiguration - #47650

Merged
Gae24 merged 1 commit into
servo:mainfrom
Gae24:gpu-canvas-configuration-unrooted
Aug 30, 2026
Merged

Gae24 merged 1 commit into
servo:mainfrom
Gae24:gpu-canvas-configuration-unrooted

Conversation

@Gae24

@Gae24 Gae24 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Testing: It compiles
Part of #39139

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24
Gae24 requested a review from sagudev as a code owner August 30, 2026 13:50
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 30, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 30, 2026

/// <https://gpuweb.github.io/gpuweb/#dom-gpucanvascontext-configure>
fn Configure(&self, configuration: &GPUCanvasConfiguration) -> Fallible<()> {
fn Configure(&self, configuration: &RootedGPUCanvasConfiguration) -> Fallible<()> {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

off-topic: why does codegen even generate rooted stuff. What if we would make all unrooted and then use rooted macro for rooting where needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's like that because the dictionary stuff was written at least 10 years before I added support for rooting arbitrary rust types with the rooted macro :p

@Gae24
Gae24 added this pull request to the merge queue Aug 30, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 30, 2026
Merged via the queue into servo:main with commit 6cef732 Aug 30, 2026
36 checks passed
@Gae24
Gae24 deleted the gpu-canvas-configuration-unrooted branch August 30, 2026 19:54
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 30, 2026
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
…#47650)

Testing: It compiles
Part of servo#39139

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Psychpsyo pushed a commit to Psychpsyo/servo that referenced this pull request Oct 12, 2026
…#47650)

Testing: It compiles
Part of servo#39139

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Gae24 added a commit to Gae24/servo that referenced this pull request Nov 2, 2026
Gae24 added a commit to Gae24/servo that referenced this pull request Nov 3, 2026
Gae24 added a commit to Gae24/servo that referenced this pull request Nov 4, 2026
Gae24 added a commit to Gae24/servo that referenced this pull request Nov 5, 2026
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.

4 participants