Commit Graph

2193 Commits

Author SHA1 Message Date
Sylvestre Ledru
a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Emilio Cobos Álvarez
33db0fe1e3 Bug 1420026: Disable this code path for now for permafailure. r=me
It's permafailing devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js |

MozReview-Commit-ID: 2aolifj0asm
2017-12-05 19:59:54 +01:00
Boris Chiou
570057e075 Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.

MozReview-Commit-ID: 6orXtddp9ZU

--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Cameron McCormack
9993c9819d Bug 1420026 - Part 3: Report canvas color parsing errors to the console. r=TYLin
MozReview-Commit-ID: BcWat5wfGJJ

--HG--
extra : rebase_source : 6ac8d7e8db6c2c08fb23670bbb0b3486b59a938d
2017-12-04 12:53:57 +08:00
Cameron McCormack
040ca098ab Bug 1420026 - Part 2: Replace one more use of nsCSSParser::ParseColor with ServoCSSParser::ComputeColor. r=TYLin
MozReview-Commit-ID: FIqhPFKS1IR

--HG--
extra : rebase_source : 551e9a9a7effe1bf447b58495560aba0b8a06594
2017-11-24 11:30:02 +08:00
Jamie Nicol
501b6f7440 Bug 1421481 - Increase allowed number of webgl contexts on mobile. r=snorp
This was previously limited to 2 per principal and 4 total on
mobile. Mobile GPU drivers have progressed a lot since the limit was
put in place, and the strict limit is causing webcompat issues on
google maps.

Increase to 8 per principal and 16 in total, bringing us
closer in line with Chrome. Make these limits contrallable via a pref
so that if there are any problems it is easy to change.

MozReview-Commit-ID: 8Tsbrjr4KCE

--HG--
extra : rebase_source : 8efd43265a665237a8bfcb689f5fc758466bcd71
2017-11-30 11:40:57 +00:00
Cameron McCormack
98bddd976d Bug 1422676 - Fix small CSS error in test_2d.fill.pattern.imageSmoothingEnabled.html. r=TYLin
MozReview-Commit-ID: JEBm4hNrnfw

--HG--
extra : rebase_source : a6722cd4add5d3a55f5da8f8f12ea779d8c2d628
2017-12-04 14:57:53 +08:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Jeff Gilbert
41f0a05667 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Andrea Marchesini
3316d7de4d Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 3 - ImageBitmap must use imgITools::decodeImageAsync, r=aosmond 2017-11-27 17:05:57 +01:00
Daosheng Mu
e3f511fffd Bug 1413269 - Apply REQUIRE_COMPAT_PROFILE flag for WebGL 1 on Intel HD Grahpics 3000 on OSX. - r=jgilbert
MozReview-Commit-ID: FZzZpaU9uiv

--HG--
extra : rebase_source : 83dbb20a1106c6280793abedfa7520c198d3cafa
2017-11-24 16:51:37 +08:00
Nika Layzell
f1ac9bf744 Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Gerald Squelart
f666a49c31 Bug 1259291 - Remove -wd4312, as the issue was fixed in bug 1259291 - r=JamesCheng
MozReview-Commit-ID: 92cuZgyfXgz

--HG--
extra : rebase_source : b7b23d5f095e66d28be1aaeb4ff2d0243b0b865b
2017-11-29 15:15:51 +11:00
Daosheng Mu
e60d6db954 Bug 1409677 - Adjust kCommonAliasedLineWidthRangeMax to 1 in WebGL resistFingerprint mode; r=cfu,jgilbert
MozReview-Commit-ID: 4gusUhU9VMI

--HG--
extra : rebase_source : fb478a56f0eaa5794d562e3e669d320174017a80
2017-11-20 17:19:22 +08:00
Jon Coppeard
a06421a289 Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8 2017-11-16 12:21:08 +00:00
Tooru Fujisawa
4ac42f3d2f Bug 1416250 - Remove conditional catch consumers in dom/. r=billm 2017-11-18 22:57:17 +09:00
Noemi Erli
c7026c5a77 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/pyasn1/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/ber/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/cer/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/der/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/compat/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/type/__init__.py
extra : rebase_source : d9b683c2142cb0edada8891c1c3539fd2f3593ee
2017-11-18 00:33:17 +02:00
Jeff Gilbert
0343981d98 Bug 1417312 - Adjust visibility of some CacheMap.h members. - r=daoshengmu
MozReview-Commit-ID: fTsP6xbrMU
2017-11-17 13:06:20 -08:00
Jeff Gilbert
257e273541 Bug 1417312 - Use copy instead of reference to avoid UAF in ASSERT. - r=daoshengmu
MozReview-Commit-ID: BWr9rkVhIHG
2017-11-17 13:06:17 -08:00
Csoregi Natalia
635fe8c86f Backed out 4 changesets (bug 1417123) for failing Spidermonkey builds js/src/jspubtd.h:100 r=backout
Backed out changeset 5af31f9f6bb5 (bug 1417123)
Backed out changeset f287a77b84c2 (bug 1417123)
Backed out changeset 57be86412a37 (bug 1417123)
Backed out changeset 14a6856d7361 (bug 1417123)
2017-11-16 15:05:54 +02:00
Jon Coppeard
853c90510c Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8 2017-11-16 12:21:08 +00:00
sotaro
222b1d574f Bug 1411472 - Add support of PersistentBufferProviderShared r=nical 2017-11-16 14:47:26 +09:00
Daosheng Mu
f42cd09455 Bug 1405600 - Part 2: Add WebGL2 uniform block crash test case; r=jgilbert
MozReview-Commit-ID: DLDcXz2iLKR

--HG--
extra : rebase_source : be656886723ccbe541eb714e348a80d129722057
2017-11-09 14:01:07 +08:00
Joel Maher
fd50e2131c Bug 1388624 - Disable TEST-UNEXPECTED-TIMEOUT | dom/canvas/test/webgl-mochitest/test_capture.html on windows/debug for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Kartikaya Gupta
00ef028ed3 Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
  return and take a Matrix respectively, instead of converting to
  and from a gfxMatrix (which uses doubles). These functions therefore
  will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
  do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
  convert between the float matrix and the double matrix.

The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.

MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
Nika Layzell
c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
David Anderson
9365817b45 Fix DataSourceSurface mapping in ImageUtils.cpp. (bug 1405390 part 5, r=bas)
--HG--
extra : rebase_source : 691738a68b679b9a4abaf7e538d0499d5f61fe0a
2017-11-09 00:43:31 -08:00
David Anderson
9575a22267 Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas)
--HG--
extra : rebase_source : 7700599ef497a2abadc7970af5ea26b48061966e
2017-11-09 00:43:30 -08:00
David Anderson
3f697bb27d Fix canvas and GL uses of DataSourceSurface::GetData. (bug 1405390 part 2, r=jgilbert)
--HG--
extra : rebase_source : eb4dcdfe9374e317a3a1e426bf35999ea50b074d
2017-11-09 00:43:30 -08:00
Jesse Ruderman
e6a0333b3c Bug 844280 - Add crashtest. r=me 2017-11-08 08:47:08 -05:00
Jeff Gilbert
da2b4b335a Bug 1414977 - Skip DrawElements if !indexCount, not !lastVert. - r=daoshengmu
MozReview-Commit-ID: KaGFV374G5
2017-11-06 19:46:42 -08:00
Jeff Gilbert
95abd6e7a0 Bug 1414977 - Add test for drawing without index validation. - r=daoshengmu
MozReview-Commit-ID: 530Qj4dumIR
2017-11-06 19:46:39 -08:00
Jeff Gilbert
573afa08c2 Bug 1414977 - Allow webgl.force-index-validation:-1 to disable index validation for testing. - r=daoshengmu
MozReview-Commit-ID: Drw9LsIo1Qt
2017-11-06 19:46:37 -08:00
sotaro
e1d5eb970c Bug 1411472 - Backout because of test failures 2017-11-07 11:34:13 +09:00
Sebastian Hengst
af670f4147 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-07 02:47:30 +02:00
sotaro
4243be10df Bug 1411472 - Add support of PersistentBufferProviderShared r=nical 2017-11-07 09:31:58 +09:00
Sylvestre Ledru
9e8cac125b Bug 1408383 - Dead code in GetSurfaceSnapshot r=jgilbert
MozReview-Commit-ID: 2AS1OwFdiMq

--HG--
extra : rebase_source : 826f6da807f9f97a7e74cc8ba146d705ff1e3200
2017-10-13 15:32:22 +02:00
Jeff Gilbert
50176e1665 Bug 1404196 - Update test failures.
MozReview-Commit-ID: H3EFU9jnm3V
2017-11-01 15:18:31 -07:00
Jeff Gilbert
d6af1e81ba Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
Jeff Gilbert
cebb6665ed Bug 1404196 - Add CacheMap for simplifying complex cache dependency invalidation. - r=daoshengmu
MozReview-Commit-ID: IhzkHf9bhTv
2017-11-01 15:18:23 -07:00
Jeff Gilbert
41c89bf561 Bug 1404196 - Add profiling labels for WebGL draw commands. - r=daoshengmu
MozReview-Commit-ID: 5TUvfVxsfXg
2017-11-01 15:18:19 -07:00
Nika Layzell
b5701b1266 Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
MozReview-Commit-ID: 3j9jfLv7MO2
2017-11-01 11:06:26 -04:00
sotaro
23069babc9 Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange 2017-10-28 19:07:27 +09:00
Sebastian Hengst
5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Jeff Gilbert
1f167472bf Bug 1404536 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
MozReview-Commit-ID: 9LxsSJF1ggN
2017-10-26 18:43:24 -07:00
Andrew McCreight
298aa82710 Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL

--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Jonathan Kew
793b63713b Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel 2017-10-24 09:59:09 +01:00