Skip to content

Query API: Add Occlusion Query - #656

Merged
Kangz merged 4 commits into
gpuweb:masterfrom
haoxli:query-api-occlusion
Mar 31, 2020
Merged

Kangz merged 4 commits into
gpuweb:masterfrom
haoxli:query-api-occlusion

Conversation

@haoxli

@haoxli haoxli commented Mar 30, 2020 •

Copy link
Copy Markdown
Contributor

Add the definition of Occlusion Query and its requirements according to #614:

  • Define QuerySet, QuerySetDescriptor and QueryType.
  • Add query set in render pass descriptor for occlusion query.
  • Add begin/endOcclusionQuery on render pass encoder.
  • Resolve query result from query set on command encoder.
  • Add a new buffer usage for resolving query result.

Preview | Diff

Add the definition of Occlusion Query and its requirements.
* Add precise occlusion query as extension.
* Define QuerySet, QuerySetDescriptor and QueryType.
* Add query set in render pass descriptor for occlusion query.
* Add begin/endOcclusionQuery on render pass encoder.
* Resolve query result from query set on command encoder.
* Add a new buffer usage for resolving query result.
@haoxli
haoxli force-pushed the query-api-occlusion branch from 98f4c52 to 2092f73 Compare March 30, 2020 06:53
@haoxli haoxli mentioned this pull request Mar 30, 2020
Comment thread spec/index.bs Resolved

@kainino0x kainino0x left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Resolution from meeting: we'd like to merge with the attached changes, then work on those things as followups.

Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
haoxli and others added 3 commits March 31, 2020 10:08

@Kangz Kangz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the iteration I think this matches what the group resolved too so I'll go ahead and merge it.

@Kangz
Kangz merged commit 0245441 into gpuweb:master Mar 31, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Query API: Add Occlusion Query

Add the definition of Occlusion Query and its requirements.
* Define QuerySet, QuerySetDescriptor and QueryType.
* Add query set in render pass descriptor for occlusion query.
* Add begin/endOcclusionQuery on render pass encoder.
* Resolve query result from query set on command encoder.
* Add a new buffer usage for resolving query result.
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Query API: Add Occlusion Query

Add the definition of Occlusion Query and its requirements.
* Define QuerySet, QuerySetDescriptor and QueryType.
* Add query set in render pass descriptor for occlusion query.
* Add begin/endOcclusionQuery on render pass encoder.
* Resolve query result from query set on command encoder.
* Add a new buffer usage for resolving query result.
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