Closed
Bug 1319004
Opened 8 years ago
Closed 8 years ago
Update ANGLE to chromium/2924
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla53
People
(Reporter: ethlin, Assigned: ethlin)
References
()
Details
Attachments
(3 files, 3 obsolete files)
4.29 KB,
patch
|
mtseng
:
review+
jcristau
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
1.13 KB,
patch
|
mtseng
:
review+
|
Details | Diff | Splinter Review |
5.23 MB,
patch
|
jcristau
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
The new ANGLE fixes some crash problems and conformance tests. The latest version is 2924 and I'll update it.
Assignee | ||
Comment 1•8 years ago
|
||
Update to ANGLE/2924.
Attachment #8813532 -
Flags: review?(jgilbert)
Assignee | ||
Comment 2•8 years ago
|
||
We had workaround in ReadPixels for ANGLE. It seems like we don't need the workaround anymore since ANGLE has some fixes, like [1], [2].
[1] https://github.com/google/angle/commit/0a337e93bf945dc76d8d4f77912ea00e25986bb3
[2] https://github.com/google/angle/commit/ece7c5a848df6b64e361184bbf3a9739b209e40c
Comment 3•8 years ago
|
||
Comment on attachment 8813532 [details] [diff] [review]
Part1. Update ANGLE/2924
Review of attachment 8813532 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, I /totally/ reviewed this whole cset. :)
Attachment #8813532 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Remove some files from UNIFIED_SOURCES which are not compatible with unified build.
Attachment #8813542 -
Flags: review?(mtseng)
Assignee | ||
Comment 5•8 years ago
|
||
Fix build break on windows for ANGLE.
Attachment #8813552 -
Flags: review?(mtseng)
Assignee | ||
Updated•8 years ago
|
Attachment #8813532 -
Attachment description: Update ANGLE/2924 → Part1. Update ANGLE/2924
Assignee | ||
Updated•8 years ago
|
Attachment #8813539 -
Attachment description: Fix try crash problem → Part2. Fix try crash problem
Assignee | ||
Updated•8 years ago
|
Attachment #8813542 -
Attachment description: Fix angle build script → Fix angle build script (for mozilla/angle)
Assignee | ||
Updated•8 years ago
|
Attachment #8813552 -
Attachment description: Fix build break after angle update → Fix build break after angle update (for mozilla/angle)
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Ethan Lin[:ethlin] from comment #5)
> Created attachment 8813552 [details] [diff] [review]
> Fix build break after angle update (for mozilla/angle)
>
> Fix build break on windows for ANGLE.
try result of the build break:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5eb322f99df7f89f48c32f4ed9eff53b1f96ecc7&selectedJob=31551538
Assignee | ||
Comment 7•8 years ago
|
||
Per dicussion with Morris, we just need this fix.
Attachment #8813542 -
Attachment is obsolete: true
Attachment #8813552 -
Attachment is obsolete: true
Attachment #8813542 -
Flags: review?(mtseng)
Attachment #8813552 -
Flags: review?(mtseng)
Attachment #8813593 -
Flags: review?(mtseng)
Assignee | ||
Updated•8 years ago
|
Attachment #8813539 -
Flags: review?(jgilbert)
Assignee | ||
Comment 8•8 years ago
|
||
so far try result looks good:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=487a2e93b3840b6ef9f8eb48ec58335cd70ea74a
Assignee | ||
Comment 9•8 years ago
|
||
Upload new patch due the change of ANGLE/gyp_mozbuild.
Attachment #8813532 -
Attachment is obsolete: true
Comment 10•8 years ago
|
||
milan, we would like to land this in central this week. If everything goes well, we would like to uplift this to aurora/beta. Do you have any concern?
Flags: needinfo?(milan)
Updated•8 years ago
|
Attachment #8813593 -
Flags: review?(mtseng) → review+
(In reply to Peter Chang[:pchang] from comment #10)
> milan, we would like to land this in central this week. If everything goes
> well, we would like to uplift this to aurora/beta. Do you have any concern?
Well, it is somewhat scary, but let's land it on central this week, aurora early next week, and beta towards the end of the week following, assuming nothing bad shows up.
Flags: needinfo?(milan)
Assignee | ||
Updated•8 years ago
|
Attachment #8813539 -
Flags: review?(jgilbert) → review?(mtseng)
Updated•8 years ago
|
Attachment #8813539 -
Flags: review?(mtseng) → review+
Assignee | ||
Comment 12•8 years ago
|
||
Keywords: checkin-needed
Comment 13•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fcf8c42bf382
Update to ANGLE/2924. r=jgilbert
https://hg.mozilla.org/integration/mozilla-inbound/rev/797ee4b5a948
Remove workaround for ANGLE. r=jgilbert
Keywords: checkin-needed
Comment 14•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fcf8c42bf382
https://hg.mozilla.org/mozilla-central/rev/797ee4b5a948
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 15•8 years ago
|
||
I'm experiencing this compile failure:
c:/t1/hg/comm-central/mozilla/gfx/angle/src/libANGLE/renderer/Format_table_autogen.cpp(28): error C2131: expression did not evaluate
to a constant
c:\t1\hg\comm-central\mozilla\gfx\angle\src\libANGLE/renderer/Format.h(81): note: a non-constant (sub-)expression was encountered
c:/t1/hg/comm-central/mozilla/gfx/angle/src/libANGLE/renderer/Format_table_autogen.cpp(149): fatal error C1903: unable to recover fr
om previous error(s); stopping compilation
c:/t1/hg/comm-central/mozilla/config/rules.mk:963: recipe for target 'Unified_cpp_angle_src_libANGLE9.obj' failed
mozmake[4]: *** [Unified_cpp_angle_src_libANGLE9.obj] Error 2
Any hints?
Comment 16•8 years ago
|
||
more context
c:/t1/hg/comm-central/mozilla/gfx/angle/src/libANGLE/renderer/Format_table_autogen.cpp(28): error C2131: expression did not evaluate
to a constant
c:\t1\hg\comm-central\mozilla\gfx\angle\src\libANGLE/renderer/Format.h(81): note: a non-constant (sub-)expression was encountered
c:/t1/hg/comm-central/mozilla/gfx/angle/src/libANGLE/renderer/Format_table_autogen.cpp(149): fatal error C1903: unable to recover fr
om previous error(s); stopping compilation
c:/t1/hg/comm-central/mozilla/config/rules.mk:963: recipe for target 'Unified_cpp_angle_src_libANGLE9.obj' failed
mozmake[4]: *** [Unified_cpp_angle_src_libANGLE9.obj] Error 2
mozmake[4]: *** Waiting for unfinished jobs....
Comment 17•8 years ago
|
||
Looks like I need VS 2015 Update 3
I only have Update 3
Comment 18•8 years ago
|
||
note to self:
The "correct" fix is of course to use a better compiler but VS2015 is a supported target so the correct fix would be to make all of these jump tables static const instead of constexpr.
Comment 19•8 years ago
|
||
FYI, bug 1319901 tracks enforcing Update 3 as the minimum version supported.
Ethan, it looks like we need to backport this to at least Aurora52. Do we need to go back further than that? Please nominate accordingly.
Flags: needinfo?(ethlin)
Updated•8 years ago
|
Updated•8 years ago
|
Flags: needinfo?(ethlin)
Summary: Update to ANGLE/2924 → Update ANGLE to chromium/2924
Comment 20•8 years ago
|
||
(In reply to Philip Chee from comment #17)
> Looks like I need VS 2015 Update 3
> I only have Update 3
Sorry, which version do you have that *doesn't* work? I assume u2?
We should take a stab at getting this building with u2 before uplifting to Aurora.
Flags: needinfo?(philip.chee)
Comment 21•8 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #19)
> FYI, bug 1319901 tracks enforcing Update 3 as the minimum version supported.
>
> Ethan, it looks like we need to backport this to at least Aurora52. Do we
> need to go back further than that? Please nominate accordingly.
Yes, we need this for Aurora and uplift to beta51 few days later if no bad things happen.
(In reply to Jeff Gilbert [:jgilbert] from comment #20)
> (In reply to Philip Chee from comment #17)
> > Looks like I need VS 2015 Update 3
> > I only have Update 3
>
> Sorry, which version do you have that *doesn't* work? I assume u2?
>
>
> We should take a stab at getting this building with u2 before uplifting to
> Aurora.
I'm building this patch with 2015u2 and will update later.
Comment 22•8 years ago
|
||
I got the same error in comment 16 with 20155u2.
Assignee | ||
Comment 23•8 years ago
|
||
Comment on attachment 8813597 [details] [diff] [review]
Part1. Update ANGLE/2924 (carry r+: jgilbert)
Approval Request Comment
[Feature/Bug causing the regression]: webgl2
[User impact if declined]: some webgl api may malfunction
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: newer ANGLE should fix some bugs
[String changes made/needed]: none
Attachment #8813597 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 24•8 years ago
|
||
Comment on attachment 8813539 [details] [diff] [review]
Part2. Fix try crash problem
Approval Request Comment
[Feature/Bug causing the regression]: webgl2
[User impact if declined]: some webgl api may malfunction
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: newer ANGLE should fix some bugs
[String changes made/needed]: none
Attachment #8813539 -
Flags: approval-mozilla-aurora?
Comment 25•8 years ago
|
||
I had VS2015 Update 2. Didn't work Updated to VS2015 Update 3. Compiles ANGLE fine.
Flags: needinfo?(philip.chee)
Comment 26•8 years ago
|
||
Comment on attachment 8813597 [details] [diff] [review]
Part1. Update ANGLE/2924 (carry r+: jgilbert)
ANGLE update for aurora52. wcpgw.
Attachment #8813597 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 27•8 years ago
|
||
Comment on attachment 8813539 [details] [diff] [review]
Part2. Fix try crash problem
remove workaround for ANGLE bug after updating it, for aurora52
Attachment #8813539 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 28•8 years ago
|
||
bugherder uplift |
Comment 30•8 years ago
|
||
Ryan, we would like to uplift patches in Comment 28 to beta51. I made a patch in bug 1321094 attachment 8815609 [details] to fix compiler error with VS2015u2. I got build passed in my local. But I'm not sure how could I make sure it works for beta. Any suggestion?
Flags: needinfo?(ryanvm)
Comment 31•8 years ago
|
||
The choice of compiler we use to build with is actually controlled via in-tree manifests these days. You should be able to push your patch to Try on top of Beta have things Just Work.
Flags: needinfo?(ryanvm)
Comment 32•8 years ago
|
||
The compiler problem for beta was solved and I didn't hear negative things from aurora channel about new ANGLE update.
Comment 33•8 years ago
|
||
Comment on attachment 8813597 [details] [diff] [review]
Part1. Update ANGLE/2924 (carry r+: jgilbert)
Approval Request Comment
[Feature/Bug causing the regression]: webgl2
[User impact if declined]: some webgl api may malfunction
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: newer ANGLE should fix some bugs
[String changes made/needed]: none
Attachment #8813597 -
Flags: approval-mozilla-beta?
Comment 34•8 years ago
|
||
Comment on attachment 8813539 [details] [diff] [review]
Part2. Fix try crash problem
Approval Request Comment
[Feature/Bug causing the regression]: webgl2
[User impact if declined]: some webgl api may malfunction
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: newer ANGLE should fix some bugs
[String changes made/needed]: none
Attachment #8813539 -
Flags: approval-mozilla-beta?
Comment 35•8 years ago
|
||
Comment on attachment 8813539 [details] [diff] [review]
Part2. Fix try crash problem
WebGL 2 will be shipped in 51. Angle update is important to this. Beta51+. Should be in 51 beta 8.
Attachment #8813539 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•8 years ago
|
Attachment #8813597 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 36•8 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•