Closed Bug 1704431 Opened 4 years ago Closed 4 years ago

RenderCompositorLayersSWGL::StartCompositing() was called multiple times before RenderCompositorLayersSWGL::EndFrame()

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

There was a case that RenderCompositorLayersSWGL::StartCompositing() was called multiple times before RenderCompositorLayersSWGL::EndFrame().

It caused test failure as in Bug 1704000 comment 2.

Assignee: nobody → sotaro.ikeda.g
Blocks: 1704000

wr_renderer_update(mRenderer) is called after mCompositor->BeginFrame(). But wr_renderer_update() could call render_impl(). StartCompositing() is called under render_impl(), but it is not expected for RenderCompositorLayersSWG.

BeforeWrRender() is added to differentiate

Attachment #9215039 - Attachment description: Bug 1704431 - RenderCompositorLayersSWGL::BeforeWrRender() → Bug 1704431 - Add RenderCompositorLayersSWGL::BeforeWrRender() call just before wr_renderer_render().
Attachment #9215039 - Attachment description: Bug 1704431 - Add RenderCompositorLayersSWGL::BeforeWrRender() call just before wr_renderer_render(). → Bug 1704431 - Add RenderCompositorLayersSWGL::BeforeWrRender() call just before wr_renderer_render()
Attachment #9215039 - Attachment description: Bug 1704431 - Add RenderCompositorLayersSWGL::BeforeWrRender() call just before wr_renderer_render() → WIP: Bug 1704431 - Handle start compositing only when dirty rect exists
Attachment #9215039 - Attachment description: WIP: Bug 1704431 - Handle start compositing only when dirty rect exists → Bug 1704431 - Handle start compositing only when dirty rect exists
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d41e799d6e62 Handle start compositing only when dirty rect exists r=lsalzman,gfx-reviewers
See Also: → 1704715
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: