Closed Bug 749357 Opened 12 years ago Closed 12 years ago

TiledThebesLayerOGL can draw un-rendered areas of tiles

Categories

(Core :: Graphics: Layers, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15
Tracking Status
firefox12 --- unaffected
firefox13 --- unaffected
firefox14 --- fixed
firefox-esr10 --- unaffected
blocking-fennec1.0 --- +

People

(Reporter: cwiiis, Assigned: BenWa)

References

Details

Attachments

(1 file, 2 obsolete files)

When running native android fennec with the patch on bug 607417, and with MOZ_FIXED_POSITION_LAYERS defined, fixed position layers draw areas of the tile that have not been rendered into (and should not be visible).

This can be seen on http://bradfrostweb.com/demo/fixed/index.html

Turning off tiled layer drawing fixes the problem. Turning off retained tiles makes no difference to the behaviour.
Most likely because we're not respecting the region, should be an easy fix. I'll look at this soon.
blocking-fennec1.0: --- → ?
Taking the bug. This should be at least a release blocker.
Assignee: nobody → bgirard
blocking-fennec1.0: ? → +
Attached patch patch (obsolete) — Splinter Review
Attachment #619153 - Flags: review?(chrislord.net)
Attached patch patch (obsolete) — Splinter Review
Attachment #619153 - Attachment is obsolete: true
Attachment #619153 - Flags: review?(chrislord.net)
Attachment #619162 - Flags: review?(chrislord.net)
Attachment #619162 - Flags: review?(chrislord.net)
Comment on attachment 619162 [details] [diff] [review]
patch

Review of attachment 619162 [details] [diff] [review]:
-----------------------------------------------------------------

This looks correct to me.
Attachment #619162 - Flags: review?(chrislord.net) → review+
Attached patch Rebased patchSplinter Review
I r+'d the original patch, but it doesn't apply to current central - here it is, rebased (non-trivial, so this should be reviewed if it's used). Works, but I've only done extremely limited testing.
Rebase looks good to me. Landing.
Attachment #619162 - Attachment is obsolete: true
Comment on attachment 619196 [details] [diff] [review]
Rebased patch

[Approval Request Comment]
Regression caused by (bug #): Bug 739679 - Add a Shadowable TiledThebesLayer implementation
User impact if declined: Visual glitches for complex layers (non rectangular).
Testing completed (on m-c, etc.): Tested locally to fix a few test cases. I'm looking to allow a few days of bake time on m-c.
Risk to taking this patch (and alternatives if risky): Low, changed the draw region to reflect accurately the input value.
String changes made by this patch: None

Recommending a few days of bake time on m-c to be certain this fixes the problem to make sure we only need to uplift on patch for this problem.
Attachment #619196 - Flags: approval-mozilla-aurora?
Is there a link to the inbound changeset?
Attachment #619196 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
https://hg.mozilla.org/mozilla-central/rev/5b46705ba525
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: