Closed
Bug 1858361
Opened 2 years ago
Closed 2 years ago
Call CanvasContext::SwapChainPresent() from ShareableCanvasRenderer::UpdateCompositableClient()
Categories
(Core :: Graphics: WebGPU, enhancement)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
122 Branch
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 1 obsolete file)
CanvasContext::MaybeQueueSwapChainPresent() triggers to present swap chain by posting Runnable to current thread.
It could cause to skip to present CommandBuffer::Commit() rendering result multiple times. It depends on timing.
CommandBuffer::Commit() is called in Queue::Submit(). Then it seem better to present swap chain just after PWebGPUChild::SendQueueSubmit().
| Assignee | ||
Updated•2 years ago
|
Component: Graphics → Graphics: WebGPU
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9357775 -
Attachment is obsolete: true
| Assignee | ||
Updated•2 years ago
|
Summary: Request to present swap chain just after PWebGPUChild::SendQueueSubmit() → Call CanvasContext::SwapChainPresent() from ShareableCanvasRenderer::UpdateCompositableClient()
| Assignee | ||
Comment 2•2 years ago
|
||
It seems better to call CanvasContext::SwapChainPresent() from ShareableCanvasRenderer::UpdateCompositableClient() like other canvases.
| Assignee | ||
Comment 3•2 years ago
|
||
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c9c3025f1539
Call CanvasContext::SwapChainPresent() from ShareableCanvasRenderer::UpdateCompositableClient() r=gfx-reviewers,nical
Comment 5•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•