Skip to content

clear_depth, depth_range with auto select the best function#310

Merged
grovesNL merged 2 commits intogrovesNL:mainfrom
sagudev:depth-auto-type
Oct 16, 2024
Merged

clear_depth, depth_range with auto select the best function#310
grovesNL merged 2 commits intogrovesNL:mainfrom
sagudev:depth-auto-type

Conversation

@sagudev
Copy link
Copy Markdown
Contributor

@sagudev sagudev commented Oct 11, 2024

This would be useful for servo as sparkle also did this: https://github.com/servo/sparkle/blob/a61f94fff95d29e93721cdbfc4b5dde8671a6970/src/lib.rs#L736. All OpenGL versions supports f64 variant, but only 4.1>= supports f32 variant, while GLES supports only f32 variant

Second commit uses supports_f64_precision for auto selection and fixes supports_f64_precision on native for GLES to return false, but it's breaking change (as it needs &self now), although I did not find any users of it on whole GitHub.

@sagudev
Copy link
Copy Markdown
Contributor Author

sagudev commented Oct 16, 2024

Gentle ping @grovesNL

Copy link
Copy Markdown
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

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

Thanks!

@grovesNL grovesNL merged commit 3d537eb into grovesNL:main Oct 16, 2024
@sagudev
Copy link
Copy Markdown
Contributor Author

sagudev commented Oct 16, 2024

Would it be possible to get this released too? 🥺

@grovesNL
Copy link
Copy Markdown
Owner

Sure, released 0.15.0 https://crates.io/crates/glow

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