这是indexloc提供的服务,不要输入任何密码
Skip to content

HTMLCanvasElement copyExternalImageToTexture under specifed? #4255

@greggman

Description

@greggman

The spec currently says

GPUImageCopyExternalImage has the following members:

source, of type GPUImageCopyExternalImageSource
The source of the image copy. The copy source data is captured at the moment that copyExternalImageToTexture() is issued. Source size is defined by source type, given by this table:

Source Type Width Height
HTMLCanvasElement HTMLCanvasElement.width HTMLCanvasElement.height

It's not clear what happens if you have a WebGL canvas where canvas.width > gl.drawingBufferWidth etc...

Metadata

Metadata

Assignees

Labels

apiWebGPU APIneeds-cts-issueThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions