Closed
Bug 1006198
Opened 11 years ago
Closed 11 years ago
[e10s] Google Maps is upside down on OS X
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
VERIFIED
FIXED
mozilla32
Tracking | Status | |
---|---|---|
e10s | + | --- |
firefox31 | --- | unaffected |
firefox32 | + | verified |
People
(Reporter: cpeterson, Assigned: mattwoodrow)
References
Details
(Keywords: regression, reproducible)
Attachments
(7 files)
373.74 KB,
image/jpeg
|
Details | |
1.55 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
5.66 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
2.63 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
3.89 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
18.96 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
2.10 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Load the New Google Maps: https://www.google.com/maps/preview
2. The map loads as expected.
3. Now open a new e10s window and load Google Maps there.
RESULT:
The map image is upside down. See the attached screenshot.
This is a recent regression in the past couple days.
Reporter | ||
Comment 1•11 years ago
|
||
I bisected this regression to the following pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b227a707080f&tochange=e2e1b19fcffc
This bug is probably a regression from WebGL bug 995745.
Blocks: 995745
Keywords: regressionwindow-wanted
Reporter | ||
Comment 2•11 years ago
|
||
roc: does this upside down WebGL bug look like a direct regression from your fix for bug 995745 or did the bug 995745 just reveal an earlier regression that happened during period Google Maps was black on OMTC?
tracking-firefox32:
--- → ?
Component: Graphics: Layers → Canvas: WebGL
Flags: needinfo?(roc)
Keywords: reproducible
I suspect the latter.
Flags: needinfo?(roc)
Comment 4•11 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #0)
> RESULT:
> The map image is upside down. See the attached screenshot.
I can't reproduce, 32.0a1 (2014-05-06), Win 7 x64
Reporter | ||
Comment 5•11 years ago
|
||
Paul: Did you test Windows in an e10s window ("File > Open e10s Window") and/or with OMTC enabled (set "layers.offmainthreadcomposition.enabled" pref to true)? I can still reproduce with Nightly 32 (2014-05-06) on OS X.
Flags: needinfo?(paul.silaghi)
Comment 6•11 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #5)
> Paul: Did you test Windows in an e10s window ("File > Open e10s Window")
> and with OMTC enabled (set "layers.offmainthreadcomposition.enabled" pref
> to true)?
Exactly, but on Win 7 x64
Flags: needinfo?(paul.silaghi)
Reporter | ||
Updated•11 years ago
|
Summary: [e10s] Google Maps tiles are upside down → [e10s] Google Maps is upside down on OS X
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → matt.woodrow
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8419957 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8419959 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #8419962 -
Flags: review?(jgilbert)
Assignee | ||
Comment 11•11 years ago
|
||
Basically the same as the last time we did this, but for the moz2d version.
Attachment #8419963 -
Flags: review?(jgilbert)
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8419964 -
Flags: review?(jgilbert)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8419966 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 14•11 years ago
|
||
Updated•11 years ago
|
Attachment #8419957 -
Flags: review?(nical.bugzilla) → review+
Comment 15•11 years ago
|
||
Comment on attachment 8419959 [details] [diff] [review]
Add PremultiplyDataSurface
Review of attachment 8419959 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/gfxUtils.cpp
@@ +89,5 @@
> }
> }
>
> void
> +gfxUtils::PremultiplyDataSurface(DataSourceSurface *aSurface)
What's the difference between this PremultiplyDataSurface, and the original PremultiplySurface with srcSurface == destSurface ?
Ah, on my laptop, PremultiplySurface takes DataSourceSurfaces so it must have been Moz2dified while you were writing this. So if the motivation was to have a moz2d version then I think you can remove this function now.
@@ +92,5 @@
> void
> +gfxUtils::PremultiplyDataSurface(DataSourceSurface *aSurface)
> +{
> + // Only premultiply ARGB32
> + if (aSurface->GetFormat() != SurfaceFormat::B8G8R8A8) {
nit: We should assert here or print a warning if the format is not ARGB32.
Assignee | ||
Comment 16•11 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #15)
> Comment on attachment 8419959 [details] [diff] [review]
> Add PremultiplyDataSurface
>
> Review of attachment 8419959 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/thebes/gfxUtils.cpp
> @@ +89,5 @@
> > }
> > }
> >
> > void
> > +gfxUtils::PremultiplyDataSurface(DataSourceSurface *aSurface)
>
> What's the difference between this PremultiplyDataSurface, and the original
> PremultiplySurface with srcSurface == destSurface ?
>
> Ah, on my laptop, PremultiplySurface takes DataSourceSurfaces so it must
> have been Moz2dified while you were writing this. So if the motivation was
> to have a moz2d version then I think you can remove this function now.
Nothing really, this is basically just moving it to gfxUtils instead of LayerUtils.
A later patch in the series gets rid of the duplication.
Updated•11 years ago
|
Attachment #8419962 -
Flags: review?(jgilbert) → review+
Updated•11 years ago
|
Attachment #8419966 -
Flags: review?(nical.bugzilla) → review+
Comment 17•11 years ago
|
||
Comment on attachment 8419959 [details] [diff] [review]
Add PremultiplyDataSurface
Review of attachment 8419959 [details] [diff] [review]:
-----------------------------------------------------------------
Canceling the review because if I understand correctly you don't need this anymore, don't hesitate to put the "r?" back if I was wrong.
Attachment #8419959 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 18•11 years ago
|
||
Comment on attachment 8419959 [details] [diff] [review]
Add PremultiplyDataSurface
Please look at the 'remove all the dead code' patch, since it removes all the duplicate code you're worried about.
Attachment #8419959 -
Flags: review?(nical.bugzilla)
Updated•11 years ago
|
Attachment #8419959 -
Flags: review?(nical.bugzilla) → review+
Updated•11 years ago
|
Attachment #8419963 -
Flags: review?(jgilbert) → review+
Updated•11 years ago
|
Attachment #8419964 -
Flags: review?(jgilbert) → review+
These all landed in https://tbpl.mozilla.org/?tree=Mozilla-Inbound&onlyunstarred=1&rev=5be3c8c44eed , and then now I backed them all out in https://hg.mozilla.org/integration/mozilla-inbound/rev/e228877ffe64 for causing WebGL assertions like this in multiple test suites: https://tbpl.mozilla.org/php/getParsedLog.php?id=39536317&tree=Mozilla-Inbound
Assignee | ||
Comment 20•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/98a354e678c2
https://hg.mozilla.org/integration/mozilla-inbound/rev/d60356c63c4f
https://hg.mozilla.org/integration/mozilla-inbound/rev/0675a2349cfc
https://hg.mozilla.org/integration/mozilla-inbound/rev/66efc0d84a37
https://hg.mozilla.org/integration/mozilla-inbound/rev/bbbe64df866e
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ff7d00bb9fb
Updated•11 years ago
|
Comment 21•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/98a354e678c2
https://hg.mozilla.org/mozilla-central/rev/d60356c63c4f
https://hg.mozilla.org/mozilla-central/rev/0675a2349cfc
https://hg.mozilla.org/mozilla-central/rev/66efc0d84a37
https://hg.mozilla.org/mozilla-central/rev/bbbe64df866e
https://hg.mozilla.org/mozilla-central/rev/0ff7d00bb9fb
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Comment 23•10 years ago
|
||
Meh. Some of the patches here duplicated the patch in bug 1001687.
You need to log in
before you can comment on or make changes to this bug.
Description
•