Closed Bug 1642834 Opened 1 month ago Closed 1 month ago

Add a comment to RenderCompositorANGLE::RequestFullRender()

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

Bug 1637497 Comment 27 requests comments about why full render is necessary when DWM is disabled.

Assignee: nobody → sotaro.ikeda.g

When DWM is disabled, each window does not have own back buffer. They share a buffer and WM_PAINT triggers necessary re-paint. On compositor, the followings handles it.

And WebRender does not support invalid region yet. WebRenderLayerManager::SendInvalidRegion()

Instead WebRenderBridgeParent::RecvInvalidateRenderedFrame() is used for now.

The following article explains about non-dwm paint.

In all versions of Windows, up until Windows XP, applications were asked by Windows to paint their visible region, and they would paint directly to the buffer that was to be displayed by the video card.

(In reply to Sotaro Ikeda [:sotaro] from comment #1)

And WebRender does not support invalid region yet. WebRenderLayerManager::SendInvalidRegion()

Instead WebRenderBridgeParent::RecvInvalidateRenderedFrame() is used for now.

There is a choice to call WebRenderBridgeChild::SendInvalidateRenderedFrame() in WebRenderLayerManager::SendInvalidRegion().

See Also: → 1642839

There is a choice to call WebRenderBridgeChild::SendInvalidateRenderedFrame() in WebRenderLayerManager::SendInvalidRegion().

Bug 1642839 is created for it.

Summary: Add comment to RenderCompositorANGLE::RequestFullRender() → Add a comment to RenderCompositorANGLE::RequestFullRender()
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e69116203259
Add a comment to RenderCompositorANGLE::RequestFullRender() r=jrmuizel
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.