Closed Bug 1581748 Opened 7 years ago Closed 7 years ago

[Wayland] Overlapping areas are not painted sometime

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox70 --- fixed
firefox71 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Where there are screen updates which overlaps - whole window update and then partial screen update - only the partial screen update is painted when Wayland buffer is not available and the painting is cached.

It's because we set fullscreen damage flag at ::Lock() according to actual screen damage thus fullscreen damage from former ::Lock() calls is lost.

Summary: [Wayland] Overlapping areas are not painter sometime → [Wayland] Overlapping areas are not painted sometime
  • Don't store whole buffer update information at mWholeWindowBufferDamage but use damage region instead.
  • Check and remove overlapped images when they are stored at image cache.
  • Remove CanDrawToWaylandBufferDirectly() as it's not very useful.

Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f8b2c9c8bef
[Wayland] Fixed rendering of overlapping areas, r=jhorak

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

Comment on attachment 9093258 [details]
Bug 1581748 - [Wayland] Fixed rendering of overlapping areas, r=jhorak

Beta/Release Uplift Approval Request

  • User impact if declined: Overlapping areas may not be rendered correctly on Wayland.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1580152
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Linux/Wayland only.
  • String changes made/needed: none
Attachment #9093258 - Flags: approval-mozilla-beta?

Comment on attachment 9093258 [details]
Bug 1581748 - [Wayland] Fixed rendering of overlapping areas, r=jhorak

Wayland fix, approved for 70.0b8.

Attachment #9093258 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: