Closed
Bug 994088
Opened 12 years ago
Closed 12 years ago
BasicCompositor repaints everything on every frame
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: cwiiis, Assigned: cwiiis)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.12 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
BasicCompositor currently redraws everything on every frame to work around an unfiled bug (see bug #993639 comment #2). Seeing as this is apparently an e10s issue, let's at least special-case this to e10s.
| Assignee | ||
Comment 1•12 years ago
|
||
Note, I see errors with masks when doing partial updates - I don't know if this is an error in BasicCompositor or Moz2D yet. (or some third option)
Attachment #8404000 -
Flags: review?(matt.woodrow)
Comment 2•12 years ago
|
||
Comment on attachment 8404000 [details] [diff] [review]
Only redraw everything with e10s
Review of attachment 8404000 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/basic/BasicCompositor.cpp
@@ +413,5 @@
> invalidRegionSafe.And(aInvalidRegion, intRect);
>
> + // FIXME: Redraw the whole screen in every frame to work around e10s
> + // repainting issues. See Bug 933639, comment #2.
> + if (XRE_GetProcessType() != GeckoProcessType_Default) {
I don't think this works, the compositor always runs in the parent process.
Comment 3•12 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #1)
> Created attachment 8404000 [details] [diff] [review]
> Only redraw everything with e10s
>
> Note, I see errors with masks when doing partial updates - I don't know if
> this is an error in BasicCompositor or Moz2D yet. (or some third option)
My guess would be LayerTreeInvalidation.cpp computing the wrong area for changes.
| Assignee | ||
Comment 4•12 years ago
|
||
I think you committed a patch that fixed the issue of tabs not redrawing? If not, how's that going? Would it be a good idea to just let that error go in the hope that more testing will result in better STR and an easier path to fix the bug?
Attachment #8404000 -
Attachment is obsolete: true
Attachment #8404000 -
Flags: review?(matt.woodrow)
Attachment #8416450 -
Flags: review?(matt.woodrow)
Comment 5•12 years ago
|
||
I didn't land, no. Apparently it didn't work.
Comment 6•12 years ago
|
||
I've followed up again in bug 994546. Let's figure out what the situation is exactly before landing this.
Updated•12 years ago
|
Attachment #8416450 -
Flags: review?(matt.woodrow) → review+
| Assignee | ||
Comment 7•12 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/c666f8f24d29
Comment 8•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•