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

[WebGPU] Expand texture usage for fromPixels #5016

Merged
merged 2 commits into from May 6, 2021

Conversation

shaoboyan
Copy link
Contributor

@shaoboyan shaoboyan commented Apr 30, 2021

In WebGPU, CopyImageBitmapToTexture will be replaced by
CopyExternalImageToTexture in future. The new API requires
the dest texture has both CopyDst and RenderAttachement usage.

FromPixels/FromPixelsAsync employee copyImageBitmapToTexture now.
This CL expand the internal dst texture usage to have both CopyDst
and RenderAttachment for the future change.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

In WebGPU, CopyImageBitmapToTexture will be replaced by
CopyExternalImageToTexture in future. The new API requires
the dest texture has both CopyDst and RenderAttachement usage.

FromPixels/FromPixelsAsync employee copyImageBitmapToTexture now.
This CL expand the internal dst texture usage to have both CopyDst
and RenderAttachment for the future change.
@google-cla google-cla bot added the cla: yes label Apr 30, 2021
@shaoboyan
Copy link
Contributor Author

@qjia7 PTAL!

Copy link
Collaborator

@qjia7 qjia7 left a comment

Choose a reason for hiding this comment

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

@kainino0x take a look, thanks.

@qjia7 qjia7 requested a review from kainino0x May 6, 2021 01:43
@kainino0x kainino0x merged commit 0e9989d into tensorflow:master May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants