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

Fix missing optimized shaders on OpenHarmony #4856

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

jschwe
Copy link

@jschwe jschwe commented Aug 28, 2024

We use GLES on OpenHarmony, so the shaders should be optimizied accordingly.

Cargo guarantees that the CARGO_CFG_xxx variables are set. Using expect instead of matching improves the readability.

@jschwe jschwe force-pushed the jschwender/ohos_optimize_shaders branch from 0813c62 to 80a7393 Compare August 28, 2024 08:30
We use GLES on OpenHarmony, so the shaders should be optimizied accordingly.
Cargo guarantees that the CARG_CFG variables are set.
Using expect instead of matching improves the readability.

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
@jschwe jschwe force-pushed the jschwender/ohos_optimize_shaders branch from 80a7393 to 0348b9b Compare August 28, 2024 08:33
Copy link
Member

@mrobinson mrobinson left a comment

Choose a reason for hiding this comment

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

Would you mind also submitting this to Gecko so that we will have this change the next time we rebase onto upstream WebRender?

@mrobinson mrobinson merged commit 8468e81 into servo:0.65 Aug 28, 2024
1 of 2 checks passed
@jschwe jschwe deleted the jschwender/ohos_optimize_shaders branch August 28, 2024 10:23
@jschwe
Copy link
Author

jschwe commented Aug 28, 2024

I've added it to the tracking issue in the main servo repo so I don't forget.
How often do we rebase onto newer webrender releases (approximately)?

@mrobinson
Copy link
Member

I've added it to the tracking issue in the main servo repo so I don't forget. How often do we rebase onto newer webrender releases (approximately)?

It isn't done regularly now, but the hope is that in the future it could become more regular. So far I've done it twice.

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