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

GPUExternalTexture [[active_imports]] only works if there are RAFs #2785

@Kangz

Description

@Kangz

Right now GPUExternalTextures are guaranteed to be valid until the end of the next RAF. This might cause issues for example for backgrounded tabs that don't run RAFs. I kind of remember this issue being brought up before but I don't see any open issue for it, so here it is.

I suggest that we change this to say that GPUExternalTexture may only change expired at microtask boundary. Such that if you check a GPUExternalTexture expiredness and submit it in the same microtask, things are guaranteed to work.

CC @shaoboyan @kainino0x

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions