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

[hal] Document resource destruction methods, and a few other things. #5627

Merged
merged 1 commit into from May 23, 2024

Conversation

jimblandy
Copy link
Member

Document some more safety expectations for

  • resource destruction methods
  • CommandEncoder methods
  • Queue::submit

Document Fence creation a bit.

Document the Queue trait a bit.

@jimblandy jimblandy requested a review from a team as a code owner April 29, 2024 04:31
@jimblandy jimblandy force-pushed the hal-document-destroy-methods branch 2 times, most recently from ca58eee to daa3653 Compare May 2, 2024 20:23
@ErichDonGubler ErichDonGubler self-assigned this May 3, 2024
@ErichDonGubler ErichDonGubler self-requested a review May 3, 2024 13:59
Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

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

:shipit:, minus nits I'm trusting to be handled.

wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
@jimblandy jimblandy force-pushed the hal-document-destroy-methods branch from f3ac026 to bf6cce0 Compare May 7, 2024 02:59
@jimblandy
Copy link
Member Author

@ErichDonGubler I've accepted most of your suggestions, but had some questions.

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Approved with nits

wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/lib.rs Outdated Show resolved Hide resolved
@jimblandy jimblandy requested a review from a team as a code owner May 23, 2024 21:52
@jimblandy
Copy link
Member Author

that didn't go well

@jimblandy jimblandy force-pushed the hal-document-destroy-methods branch from e58e2d7 to 7080697 Compare May 23, 2024 21:56
@jimblandy
Copy link
Member Author

Okay, I think I've undone the damage.

@jimblandy jimblandy enabled auto-merge (squash) May 23, 2024 21:57
@jimblandy jimblandy force-pushed the hal-document-destroy-methods branch from 7080697 to 5ce674b Compare May 23, 2024 22:13
Document some more safety expectations for
- resource destruction methods
- `CommandEncoder` methods
- `Queue::submit`

Document `Fence` creation a bit.

Document the `Queue` trait a bit.

Document `vulkan` shader module handling a bit.
@jimblandy jimblandy force-pushed the hal-document-destroy-methods branch from 5ce674b to c92968e Compare May 23, 2024 22:14
@jimblandy jimblandy merged commit 9e0fd17 into gfx-rs:trunk May 23, 2024
25 checks passed
@jimblandy jimblandy deleted the hal-document-destroy-methods branch May 24, 2024 00:23
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.

None yet

3 participants