Closed
Bug 1251431
Opened 9 years ago
Closed 9 years ago
Demo doesn't work on Win10
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
FIXED
mozilla48
People
(Reporter: canuckistani, Assigned: bas.schouten)
References
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(5 files)
(deleted),
text/html
|
Details | |
(deleted),
text/html
|
Details | |
(deleted),
text/x-review-board-request
|
jwatt
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
Sylvestre
:
approval-mozilla-release-
|
Details |
(deleted),
text/x-review-board-request
|
jwatt
:
review+
|
Details |
(deleted),
text/x-review-board-request
|
jwatt
:
review-
|
Details |
STR:
1. open this demo on Win10 / Nightly http://codepen.io/thebabydino/details/yOByme#comment-id-130071
ER: https://twitter.com/anatudor/status/702622449716822020
AR: blank
This demo seems to work correctly on Win7 and OS X just fine.
Reporter | ||
Comment 1•9 years ago
|
||
This is probably gpu or resolution dependent. bwinton tested on a Win10 VM and it worked fine, and in vmware webgl rendering and other acceleration are done in software. On any win10 / intel integrated machine we tested, Win10 fails.
Comment 2•9 years ago
|
||
I don't have any "real" Windows machines to test on sorry. :(
Comment 3•9 years ago
|
||
Just tested on Win10 with FF46: it's blank for me.
Tested in FF43: works fine!
Updated•9 years ago
|
Whiteboard: [gfx-noted]
Updated•9 years ago
|
Keywords: regressionwindow-wanted
Comment 4•9 years ago
|
||
I can reproduce the problem on Windows7 HWA on.
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=1e5f3d1151d60a1edd6424a35a2e38b5ab17adad&tochange=af5c9cf6898b0e2931a809774387cad5953363c3
Via local build,
Last Good: 11ce065429a5
First Bad: 5515fd47eb5a
Triggered by: 5515fd47eb5a Bas Schouten — Bug 1210560 - Part 3: Convert more complex SVG usecases to PushGroupForBlendBack. r=jwatt r=jrmuizel
Blocks: 1210560
status-firefox44:
--- → unaffected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
status-firefox47:
--- → affected
status-firefox-esr45:
--- → ?
Keywords: regressionwindow-wanted → regression
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
This is apparently a regression from my work. I will have a look at this.
Assignee: nobody → bas
Status: NEW → ASSIGNED
Flags: needinfo?(bas)
Assignee | ||
Comment 7•9 years ago
|
||
Flags: needinfo?(bas)
Assignee | ||
Comment 8•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39093/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39093/
Attachment #8728757 -
Flags: review?(jwatt)
Assignee | ||
Comment 9•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39095/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39095/
Attachment #8728758 -
Flags: review?(jwatt)
Assignee | ||
Comment 10•9 years ago
|
||
Reftest upcoming.
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8728757 [details]
MozReview Request: Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39093/diff/1-2/
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8728758 [details]
MozReview Request: Bug 1251431 - Part 2: Do not apply the device transform when drawing to an already intermediate surface. r=jwatt
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39095/diff/1-2/
Assignee | ||
Comment 13•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39097/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39097/
Attachment #8728760 -
Flags: review?(jwatt)
Comment 14•9 years ago
|
||
Comment on attachment 8728757 [details]
MozReview Request: Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
https://reviewboard.mozilla.org/r/39093/#review35893
::: gfx/2d/DrawTargetD2D1.cpp:1634
(Diff revision 2)
> + // See bug 1251431, at least FillOpacityMask does not appear to allow a source bitmapbrush
> + // with source format A8. This creates a BGRA surface with the same alpha values that
> + // the A8 surface has.
This comment is a bit confusing because it refers to FillOpacityMask which is called directly below it, but you're refering to other FillOpacityMask calls elsewhere that will consume the pattern. I'd suggest rewording this comment to something like:
// Some consumers of the brush that we return will not work if we return
// a source bitmapbrush with source format A8. Specifically,
// FillOpacityMask does not appear to support this - see bug 1251431.
// This code works around that by creating a BGRA surface with the same
// alpha values that the A8 surface has.
Attachment #8728757 -
Flags: review?(jwatt) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8728758 [details]
MozReview Request: Bug 1251431 - Part 2: Do not apply the device transform when drawing to an already intermediate surface. r=jwatt
https://reviewboard.mozilla.org/r/39095/#review35897
Attachment #8728758 -
Flags: review?(jwatt) → review+
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/da29c45e89db
https://hg.mozilla.org/mozilla-central/rev/1bbc2f4a3065
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 18•9 years ago
|
||
Comment 19•9 years ago
|
||
bugherder |
Assignee | ||
Comment 21•9 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #20)
> Should part1 be uplifted?
Maybe, I seem to recall more stuff was landed on top of this now..
Flags: needinfo?(bas)
Assignee | ||
Comment 22•9 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #21)
> (In reply to Jeff Muizelaar [:jrmuizel] from comment #20)
> > Should part1 be uplifted?
>
> Maybe, I seem to recall more stuff was landed on top of this now..
Like, the work you did...
Comment 23•9 years ago
|
||
Comment on attachment 8728757 [details]
MozReview Request: Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
Approval Request Comment
[Feature/regressing bug #]: This is needed to fix bug 1258650
[User impact if declined]: bug 1258650 will remain unfixed for D2D users
[Describe test coverage new/current, TreeHerder]: Has been in 48 for a while
[Risks and why]:
Attachment #8728757 -
Flags: approval-mozilla-release?
Attachment #8728757 -
Flags: approval-mozilla-beta?
Attachment #8728757 -
Flags: approval-mozilla-aurora?
Comment 24•9 years ago
|
||
Comment on attachment 8728757 [details]
MozReview Request: Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
I am sorry but I cannot take the risk for release...
Attachment #8728757 -
Flags: approval-mozilla-release? → approval-mozilla-release-
I believe bug 1258650 is on 45 ESR - we would need this one on 45 ESR then as well, right?
Flags: needinfo?(bas)
Comment 26•9 years ago
|
||
That is my understanding.
Assignee | ||
Comment 27•9 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #26)
> That is my understanding.
Only part 1 if I'm not mistaking, Jeff's patch overrides part 2.
Flags: needinfo?(bas)
Comment on attachment 8728757 [details]
MozReview Request: Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
Part 1 should uplift to aurora and beta. This should make it into beta 10.
Attachment #8728757 -
Flags: approval-mozilla-beta?
Attachment #8728757 -
Flags: approval-mozilla-beta+
Attachment #8728757 -
Flags: approval-mozilla-aurora?
Attachment #8728757 -
Flags: approval-mozilla-aurora+
Updated•9 years ago
|
Comment 29•9 years ago
|
||
bugherder uplift |
Comment 30•9 years ago
|
||
bugherder uplift |
Updated•9 years ago
|
Flags: qe-verify+
Comment 31•9 years ago
|
||
Reproduced the initial issue on Windows 10 x64 with the attached testcases using Firefox 45.0.2.
There is a small inconsistency between 46.0b10 and latest Nightly/Aurora builds, but only with the reduced test case:
*46 beta 10: http://i.imgur.com/9VzNYd5.png
*Latest Aurora/Nightly: http://i.imgur.com/ZPnetel.png
*Also mentioning that Chrome displays a square instead of a circle.
The other testcase works correctly on the mentioned versions.
Testing was performed using:
*Latest 48.0a1 Nightly, build ID:20160411030231,
*Latest 47.0a2 Aurora, build ID: 20160411004020,
*Firefox 46 beta 10, build ID: 20160411042519.
Assuming it's safe to mark this bug as verified, please let me know if we should file a separate issue for the above statement.
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Version: unspecified → 45 Branch
Comment 32•8 years ago
|
||
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b46b071d48cf
part 3 - Reftest for mask and clipPath applied to the same element. r=Bas
Comment 33•8 years ago
|
||
Comment on attachment 8728760 [details]
MozReview Request: Bug 1251431 - Part 3: Add a reftest for masked clip paths. r=jwatt
https://reviewboard.mozilla.org/r/39097/#review65256
As discussed on IRC some time ago, I wrote a new regression test that actually fails pre-patch, and that doesn't contain the unnecessary HTML junk.
Attachment #8728760 -
Flags: review?(jwatt) → review-
Comment 34•8 years ago
|
||
Backed out part 3 for failing the new reftest:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5b08ae92f655
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=b46b071d48cf7d26edcd077970e1c3445248a171
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=32970470&repo=mozilla-inbound
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/test/build/tests/reftest/tests/layout/reftests/svg/mask-and-clipPath-2.html == file:///builds/slave/test/build/tests/reftest/tests/layout/reftests/svg/pass.svg | (LOAD ONLY), max difference: 255, number of differing pixels: 755000
Flags: needinfo?(jwatt)
Comment 35•8 years ago
|
||
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/34f662c8a932
part 3 - Reftest for mask and clipPath applied to the same element. r=Bas
Comment 36•8 years ago
|
||
bugherder |
Updated•7 years ago
|
Flags: needinfo?(jwatt)
You need to log in
before you can comment on or make changes to this bug.
Description
•