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

Bump cocoa version. #1074

Merged
merged 1 commit into from
Oct 31, 2016
Merged

Bump cocoa version. #1074

merged 1 commit into from
Oct 31, 2016

Conversation

xales
Copy link
Contributor

@xales xales commented Oct 31, 2016

No description provided.

@kvark
Copy link
Member

kvark commented Oct 31, 2016

Thanks!

@kvark kvark merged commit 4d9c45d into gfx-rs:master Oct 31, 2016
adamnemecek pushed a commit to adamnemecek/gfx that referenced this pull request Apr 1, 2021
1074: Implement ETC2 and ASTC textures r=kvark a=cwfitzgerald

**Connections**

Closes gfx-rs#1070. Makes progress towards gfx-rs#1069.

**Description**

This PR has multiple functions:
 - Adds ETC and ASTC compressed textures behind features.
 - Adds three helper functions on `Extent3d` that help in calculating mip sizes: `at_mip_level`, `max_mips`, and `physical_size`.
 - Refactors various conversions into a public `TextureFormat::describe` function. I have used a decl macro to ease in the declaration and modifcation of an otherwise horribly verbose function.

I have tried to use clever multi-select based data copying to reduce the possibility for errors, but there's a _lot_ of data moving around here.

**Testing**

Upcoming wgpu-rs pr adding wider compressed texture support to the skybox example. Helper functions were tested with doctests.

Marked as draft until I can get the wgpu-rs pr done and prove it works, it is, however, ready for review.


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
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