Skip to content

Client buffer mapping - #50

Merged
kdashg merged 4 commits into
gpuweb:masterfrom
kdashg:client-buffers
Apr 6, 2018
Merged

kdashg merged 4 commits into
gpuweb:masterfrom
kdashg:client-buffers

Conversation

@kdashg

@kdashg kdashg commented Mar 7, 2018

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread design/buffer-mapping.md Outdated

## WebGLBuffer.map

`ArrayBuffer? WebGLBuffer.map(WebGPUMapFlags flags);`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

WebGPU?

Comment thread design/buffer-mapping.md Outdated
For a Buffer with MAP_WRITE usage, mapping for WRITE requires that all submitted reads
from the Buffer have also been confirmed completed. (via Fences)

## WebGLBuffer.unmap

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Haha, good catch!

Comment thread design/sketch.webidl Outdated
interface WebGPUFence {
u32 getValue();
bool wait(u64 timeout);
Promise then();

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.

nits: bool->boolean; Promise then()->something like this

@kdashg kdashg self-assigned this Mar 28, 2018
@kdashg kdashg changed the title Client buffers (WIP) Client buffer mapping Mar 28, 2018

@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.

I think this is the right starting point, thanks! LGTM

@kdashg

kdashg commented Apr 6, 2018

Copy link
Copy Markdown
Contributor Author

Since there's been no comments here in a week, let's merge this.

@kdashg
kdashg merged commit 8b39c4c into gpuweb:master Apr 6, 2018
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
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.

3 participants