Xidorn Quan
6f629d6b15
Bug 1441613: Crashtest. r=emilio
...
MozReview-Commit-ID: 9v6NLvn9PpB
2018-02-28 23:15:36 +01:00
Emilio Cobos Álvarez
8a789ce429
Bug 1441613: Properly check for shell destruction instead of just nonsensically assert. r=hiro
...
GetStyleContext can flush. As such, that flush can kill the pres shell, and the
return value could be null. I have no idea why that code was asserting it didn't
happen, but that assert is completely bogus.
Throw instead, just like GetFontParentStyleContext used to do for Gecko.
MozReview-Commit-ID: 5RxDratKumZ
--HG--
extra : rebase_source : 9ffb1f58888504d92915ecd4254847ae2e3f053b
2018-02-28 11:51:27 +01:00
Tom Ritter
f98bfacba8
Bug 1376865 Automatically decline the canvas permission if it is not in response to user input r=baku
...
The canvas prompt is extremely annoying. It happens everyone, automatically. And in
99.9% (not scientific) of cases it is not triggered by user input, but my automatic
tracking scripts.
This commit will automatically decline the canvas read if it was not triggered by
user input.
Just in case this breaks something irrepairably, we have a cutoff pref.
We don't intend to keep this pref forever, and have asked anyone who sets it to
tell us why.
MozReview-Commit-ID: CxNkuraRWpV
--HG--
extra : rebase_source : 12cfc94cecbd378c0859ae50066c6338bcaa6692
2018-02-17 13:53:05 -06:00
Emilio Cobos Álvarez
dd24e9bc5f
Bug 1441009: Use a bit less dangerous error handling in CanvasUtils. r=smaug
...
MozReview-Commit-ID: BiboyvEt0St
2018-02-26 00:32:44 +01:00
Emilio Cobos Álvarez
0ad7abf15e
Bug 1441009: Don't null-check OwnerDoc. r=smaug
...
Can't return null.
MozReview-Commit-ID: JzcNwmsCxIu
2018-02-26 00:31:42 +01:00
Emilio Cobos Álvarez
21a36fad95
Bug 1440961: Make canvas style-related code interact a bit better with Shadow DOM. r=smaug
...
The only relevant spec reference unfortunately is for color parsing[1], which
mentions:
> Otherwise, set color to the computed value of the 'color' property of element.
Using IsInComposedDoc there should be fine, since the computed style of an
element is well defined there.
The rest look like implementation limitations, for which should not be an issue
to extend the check for the composed doc.
[1]: https://html.spec.whatwg.org/#parsed-as-a-css-color-value
MozReview-Commit-ID: ADnVPNqf3X1
--HG--
extra : rebase_source : ea72f695afe86820d2d04c2b8eca1d17bc356a71
2018-02-25 02:37:44 +01:00
Emilio Cobos Álvarez
7dffe29d8f
Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
...
Everyone calls them with the shell of the current composed document, and this
allows the multi-presShell stuff to just be in UpdateCurrentStyleSources /
DoGetStyleContextNoFlush.
The only reason we need to use OwnerDoc()->GetShell() instead of the composed
doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which
does expect to get the binding URL for stuff outside of the composed doc (and
changing that gave me a useless browser).
That's technically a behavior change on the cases that used to pass nullptr, but
I think all callers are fine with that. I could also just add a special function
for that particular case, it may be worth it.
MozReview-Commit-ID: 2XlnkgdgDCK
2018-02-25 02:23:59 +01:00
Joel Maher
3cbccc44be
Bug 1438638 - global-alpha.html reftest failures on windows 10 new hardware, add fuzzy-if. r=gbrown
2018-02-23 11:20:20 -05:00
Adrian Wielgosik
ed00cb8c4e
Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot
...
MozReview-Commit-ID: GY3DdHAfQK2
--HG--
extra : rebase_source : 1fe021831984cb64cedd8c7eba486a0d29f7d66a
2018-02-21 20:49:07 +01:00
Dorel Luca
f41b03eca9
Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE
2018-02-19 22:15:23 +02:00
Milan Sreckovic
7571df7e7c
Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
...
MozReview-Commit-ID: HXWhggOMIEK
--HG--
extra : rebase_source : 9c9eacf80d2b7f78faa82a1549170b98d12cdaa8
2018-02-19 12:56:10 -05:00
Narcis Beleuzu
2d9816273c
Merge inbound to mozilla-central. a=merge
2018-02-16 11:49:59 +02:00
Jeff Muizelaar
96c7a33c31
Bug 1438425. Delete DocumentRenderer. r=jesup
...
It is unused.
2018-02-15 16:28:02 -05:00
Timothy Nikkel
ab2056b146
Bug 1414825. Clear mDataWrapper on ImageBitmap::Close because it holds gfx resources alive. r=nical
2018-02-06 02:53:21 -06:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Emilio Cobos Álvarez
0bc20b0d9b
Bug 1420026: followup: Enable Servo CSS color parsing in canvas. r=xidorn
...
MozReview-Commit-ID: 9vMlQB7139F
2018-02-01 11:00:12 +11:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Timothy Nikkel
3af81f80fc
Bug 1414825. Use a shutdown observer to release the gfx resources of ImageBitmaps. r=kaku,nical
2018-01-22 21:38:45 -06:00
Kyle Machulis
9e159ac69d
Bug 1407040 - Change HTMLMediaElement XPCOM Enums to WebIDL Enums; r=bz
...
MozReview-Commit-ID: 55GnbaL2HKl
--HG--
extra : rebase_source : 5bb6c927443bf6adcfe594e69bd70c3b597b9ea4
2018-02-14 19:23:32 -08:00
Mike Hommey
dbd4c4810a
Bug 1428608 - Forbid / or !/ in LOCAL_INCLUDES. r=froydnj
...
And remove the two cases that currently set that, without actually using
it. The webrtc gtest one never relied on it, and the gfx one was added
in bug 1427668 for a single header, and the corresponding #includes were
changed in bug 1428678.
--HG--
extra : rebase_source : ebb3aed6ff8e3438d4a2f011725cf1a15986fee6
2018-01-17 17:10:20 +09:00
Kartikaya Gupta
8903b49768
Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
...
MozReview-Commit-ID: Vd5n5e7XuW
--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Cosmin Sabou
1f9b4f0f06
Merge inbound to mozilla-central. a=merge
2018-01-17 11:46:53 +02:00
Jeff Gilbert
08ae128863
Bug 1429754 - Update test failures.
...
MozReview-Commit-ID: IrYeC06gNFb
2018-01-16 16:46:43 -08:00
Jeff Gilbert
d9815e3cac
Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
...
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.
MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Mike Hommey
2e235e5651
Bug 1429995 - Mark test_WEBGL_compressed_texture_s3tc.html as not failing on Linux anymore. r=jgilbert
...
And trigger a new Ubuntu 16.04 docker image with a different hash to get
the latest version of the GL drivers that were updated to llvmpipe 5
recently. Those new drivers make Firefox enabled
WEBGL_compressed_texture_s3tc, making the test pass.
--HG--
extra : rebase_source : 09a8995829f985aef29a8919fecaefaf90791584
2018-01-17 11:09:09 +09:00
Andrew Osmond
89c5ff6db9
Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas
2018-01-11 08:26:42 -05:00
Jeff Gilbert
f4cfe8596a
Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
...
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Lorena Diaconescu
51d9787b8e
Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. r=lsalzman
...
MozReview-Commit-ID: FhWnJIf61o8
--HG--
extra : rebase_source : 6b1a7aa3a0db732fbad8ba844dac29c748e5122d
2017-09-07 11:16:45 -04:00
Edmund Wong
03877052c1
Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix
2018-01-07 19:35:00 +02:00
Andrea Marchesini
53cbde0f48
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
9a25904cf8
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2018-01-08 14:05:03 +01:00
Jeff Gilbert
f106df25cd
Bug 1427668 - Flush on mac after EndTransformFeedback. - r=daoshengmu
...
MozReview-Commit-ID: A0Tbk2pIng
2018-01-05 15:28:01 -08:00
Jeff Gilbert
68be900a6c
Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu
...
Add probe for faulty frag_color_float implementations.
MozReview-Commit-ID: E2I0mrDuicV
2018-01-05 15:27:59 -08:00
Jeff Gilbert
db4f0399df
Bug 1427668 - Fixes and spew. - r=daoshengmu
...
MozReview-Commit-ID: 9NPkWsh2rxE
2018-01-05 15:27:56 -08:00
Jeff Gilbert
8ab9a9aa21
Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
...
MozReview-Commit-ID: 5UJdoud0f2C
2018-01-05 15:27:51 -08:00
Jeff Gilbert
7edc1cd1d7
Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
...
MozReview-Commit-ID: 8OqXYXpUv4I
2018-01-05 15:27:48 -08:00
Jeff Gilbert
182a604cde
Bug 1427668 - Special-case lazy glEnable caps. - r=daoshengmu
...
MozReview-Commit-ID: KD5N2y1U804
2018-01-05 15:27:43 -08:00
Jeff Gilbert
fad02050d8
Bug 1427668 - Use shadows instead of calling into GL. - r=daoshengmu
...
MozReview-Commit-ID: 1ZFwDNboet3
2018-01-05 15:27:41 -08:00
Jeff Gilbert
768a9730e5
Bug 1427668 - InvalidateFB should accept incomplete FBs, but just skip them for now. - r=daoshengmu
...
MozReview-Commit-ID: LZtVwzZ1HK8
2018-01-05 15:27:38 -08:00
Jeff Gilbert
9e26c20b7f
Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
...
MozReview-Commit-ID: KZJZ0Lc0vbC
2018-01-05 15:27:36 -08:00
Jeff Gilbert
df8e8db803
Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
...
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jamie Nicol
59e9b39045
Bug 1421481 - Post-review follow-up for webgl context initialization. r=jgilbert
...
MozReview-Commit-ID: Ja3t0gcWHZS
2018-01-04 13:38:47 +00:00
Chung-Sheng Fu
cae5668a08
Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
...
MozReview-Commit-ID: 40mesFLeRWU
--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
Jeff Gilbert
93dacf53b5
Bug 1425488 - Reset last fenceId on write to buffers. - r=lenzak
...
MozReview-Commit-ID: HwPpGWKNA9W
2017-12-20 18:15:12 -08:00
Jeff Gilbert
14856e7b50
Bug 1426289 - Add test for vertexAttrib4f updates.
...
MozReview-Commit-ID: E2BqeuyafUg
2017-12-19 22:56:25 -08:00
Jeff Gilbert
ff584c03d1
Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
...
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Jeff Gilbert
7c24606044
Bug 1425488 - Warn when ill-advised readbacks will cause pipeline stalls. - r=daoshengmu
...
MozReview-Commit-ID: KXZIxzqNTc2
2017-12-18 18:34:14 -08:00
Csoregi Natalia
3ec05888ca
Merge inbound to mozilla-central r=merge a=merge
2017-12-16 11:37:48 +02:00
Chih-Yi Leu
87688fa85a
Bug 1422714 - Make return value of WebGLQuery::GetQueryParameter conformant to WebGL2 Spec r=jgilbert
...
MozReview-Commit-ID: FYgoGOPrGZs
--HG--
extra : rebase_source : e12a16007412b8042d70eb536534ea881c973672
2017-12-15 10:50:31 -06:00
Jeff Gilbert
76aeb80f35
Bug 1425369 - Treat Draw* as Draw*Instanced(1). - r=daoshengmu
...
MozReview-Commit-ID: KZKNQtCSG4V
2017-12-15 11:43:50 -08:00
Samathy Barratt
d8ba79a56b
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : dbf645574aff7eefe65fa81809d6c07cb5800ec6
2017-12-11 15:37:59 +00:00
Ciure Andrei
b8d4330b53
Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
...
--HG--
rename : image/ImgDrawResult.h => image/DrawResult.h
2017-12-12 09:49:59 +02:00
Samathy Barratt
0749baf2d8
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : 4fba109b84ef456126d50e0d5e525f29f944a46d
2017-12-11 15:37:59 +00:00
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
Joel Maher
a89ccf49cd
Bug 1410306 - Disable dom/canvas/test/webgl-conf/generated/test_2_conformance__glsl__misc__shader-uniform-packing-restrictions.html on win7/debug for frequent failures. r=me, a=testonly
2017-10-24 12:37:25 -04:00
Emilio Cobos Álvarez
8181ee70ac
Bug 1410396: Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Linux debug too. rpending=jgilbert
...
Since it's timing out very frequently on central, and apparently the culprit is
bug 1409088, which just added a relatively expensive assertion in layout.
Since that assertion has caught at least two bugs already since it landed, I
really don't want to remove it...
MozReview-Commit-ID: JVeAVKZe1PE
2017-10-20 21:44:35 +02:00
Emilio Cobos Álvarez
48762a8de7
Bug 1406448 - Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Win7 debug for frequent failures. r=RyanVM
2017-10-19 20:02:35 -04:00
Sebastian Hengst
32f7c8fec3
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Phil Ringnalda
838e056c79
Backed out 4 changesets (bug 1395497) for Linux failures in test_conformance__textures__misc__texture-npot-video.html
...
Backed out changeset c99dadd2df7d (bug 1395497)
Backed out changeset 4e3dd1e01908 (bug 1395497)
Backed out changeset c9fbcd8bd4cb (bug 1395497)
Backed out changeset a8503893cc85 (bug 1395497)
MozReview-Commit-ID: C324dGFTpLb
2017-10-16 19:13:56 -07:00
Jeff Gilbert
ca2f5c0f17
Bug 1395497 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
...
MozReview-Commit-ID: 9AjnrOY4Rrc
2017-10-16 19:33:39 -05:00
Cameron McCormack
64d0481dfd
Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
...
MozReview-Commit-ID: LuB0izWz7nk
--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Kris Maglione
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Chung-Sheng Fu
6eb3e9c2c9
Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
...
MozReview-Commit-ID: AJ5F6M5S83U
--HG--
extra : rebase_source : 894b16575ebbccc26c5b639d7526cb473501d9d2
2017-08-22 14:23:41 +08:00
Sebastian Hengst
1c1a5cef77
Merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Christoph Diehl
cff3f0e02e
Bug 1349067 - Add crashtest. r=me
2017-10-12 22:41:15 -04:00
Jeff Gilbert
ced2e5986f
Bug 1406015 - Enable SH_INITIALIZE_UNINITIALIZED_LOCALS. - r=Lenzak
...
MozReview-Commit-ID: GZTk80QyVfA
--HG--
extra : rebase_source : f95550094f88ecef66c0ba681b423be0741f3486
2017-10-11 13:02:56 -07:00
Ryan VanderMeulen
7d6e25bbc3
Bug 989628 - Add crashtest. r=me
...
--HG--
extra : rebase_source : 45c516cfeff3c051fbcc7c29516c8b1d724edd8b
2017-10-11 11:52:40 -04:00
Ryan VanderMeulen
cd891905a9
Bug 1305850 - Add crashtest. r=me
...
--HG--
extra : rebase_source : 79871d178c2a32b3bae8362e62100329a2c56aae
2017-10-11 11:52:39 -04:00
Joel Maher
75e1e12eb6
Bug 1302199 - Disable dom/canvas/test/webgl-mochitest/test_pixel_pack_buffer.html on windows for frequent failures. r=me, a=test-only
2017-10-11 08:45:08 -04:00
Sebastian Hengst
3c466b2f77
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-11 11:54:59 +02:00
Sebastian Hengst
ed86a2c11f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: AgDEPuT8DNK
2017-10-11 11:41:04 +02:00
Jonathan Watt
60fa0649f2
Bug 1406819 - Remove various bits of dead code from dom/. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Hiroyuki Ikezoe
a5c66d4d97
Bug 1407463 - Drop unused pseudo atom argument from ResolveStyleLazily and ResolveStyleLazilyInternal. r=heycam
...
MozReview-Commit-ID: Lmjqbr7QsTU
--HG--
extra : rebase_source : dc1587cd9058bf279f21116a843928289b2602f2
2017-10-11 10:00:28 +09:00
Chih-Yi Leu
91f9365e55
Bug 1371190 - Part 6: Update array-length-side-effects.html conformance test. r=jgilbert
...
MozReview-Commit-ID: JfbBom0hDUX
--HG--
extra : source : c20b4b61163fb88253b02cca7ea47a7f504ee8dd
2017-10-02 16:50:08 +08:00
Chih-Yi Leu
becc62cbde
Bug 1371190 - Part 5: Force enable alpha channel to prevent ANGLE from using incompatible backbuffer format. r=jgilbert
...
MozReview-Commit-ID: JtbKebUiroM
--HG--
extra : source : 85a3dd1433e229e29b71b420913a2348e5d01978
2017-09-06 10:50:14 +08:00
Chih-Yi Leu
617c06335a
Bug 1371190 - Part 4: Update mochitest-errata. r=jgilbert
...
--HG--
extra : source : b8930cdc935710d396ef743c694a49ae85e78aa2
2017-08-04 09:52:04 +08:00
Lee Salzman
807fcbf2b1
Bug 1348976 - let OffscreenCanvas::TransferToImageBitmap report its error. r=mtseng, r=ehsan
...
MozReview-Commit-ID: 8x5i4ukIWe5
2017-10-12 14:14:54 -04:00
Chih-Yi Leu
96abdd1366
Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
...
MozReview-Commit-ID: 5iK1L4ioVFK
--HG--
extra : source : 472a419a8d65f888ebc5d64ae90c59881cef4d73
2017-05-24 15:20:02 +08:00
Jeff Gilbert
da2ce929ea
Bug 1394265 - Set MAX_COMBINED_TEXTURE_IMAGE_UNITS to 0 if GetIntegeriv fails. r=daoshengmu
...
MozReview-Commit-ID: 6VDKmtVPrVO
2017-10-09 14:28:39 -04:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Kyle Machulis
6a4d37f8bb
Bug 1403819 - Remove nsIDOMHTMLCanvasElement; r=bz
...
Removes the XPCOM interface for nsIDOMHTMLCanvasElement, replacing it
with binding class usage.
MozReview-Commit-ID: DQJhqGlY8U6
2017-10-06 10:49:26 -07:00
Sebastian Hengst
b4bb2df7c7
Backed out changeset 472a419a8d65 (bug 1371190) for build bustage, at least on Windows Static. r=backout on a CLOSED TREE
2017-10-06 15:30:44 +02:00
Sebastian Hengst
d55953a69b
Backed out changeset b8930cdc9357 (bug 1371190)
2017-10-06 15:29:40 +02:00
Sebastian Hengst
bc16594d0d
Backed out changeset 85a3dd1433e2 (bug 1371190)
2017-10-06 15:29:34 +02:00
Sebastian Hengst
b0ddb6bf3c
Backed out changeset c20b4b61163f (bug 1371190)
2017-10-06 15:29:29 +02:00
Chih-Yi Leu
1f4020f961
Bug 1371190 - Part 6: Update array-length-side-effects.html conformance test. r=jgilbert
...
MozReview-Commit-ID: JfbBom0hDUX
--HG--
extra : rebase_source : 8af3c71652996b9f1847a72724586b1a44b8453e
2017-10-02 16:50:08 +08:00
Chih-Yi Leu
4e70a461c8
Bug 1371190 - Part 5: Force enable alpha channel to prevent ANGLE from using incompatible backbuffer format. r=jgilbert
...
MozReview-Commit-ID: JtbKebUiroM
--HG--
extra : rebase_source : 1bd127749ae2e30b9526c319b49c51887f6cc3f8
2017-09-06 10:50:14 +08:00
Chih-Yi Leu
1a73cba56e
Bug 1371190 - Part 4: Update mochitest-errata. r=jgilbert
...
--HG--
extra : rebase_source : e385ea2c45279e3cb40d196cae72e9509003d7af
2017-08-04 09:52:04 +08:00
Chih-Yi Leu
99a304878d
Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
...
MozReview-Commit-ID: 5iK1L4ioVFK
--HG--
extra : rebase_source : 8aff17309936e70441c890f90a48b8c009e19f55
2017-05-24 15:20:02 +08:00
Jonathan Watt
54bad67928
Bug 1405785, part 2 - Document and rename nsSVGRenderingObserver::DoUpdate to OnRenderingChange. r=longsonr
...
MozReview-Commit-ID: 76ImwCiBeX6
2017-09-15 10:01:34 +01:00
Kearwood "Kip" Gilbert
6f85ed3a79
Bug 1400407 - Part 3: Remove IsMirror concept, as it is no longer used by WebVR,r=jgilbert
...
- This patch is the same as one from Bug 1382104 (Remove IsMirror concept
in favor of checking forwarder).
- It is safe to uplift this patch without the rest of Bug 1382104 as long
as the remaining Bug 1381084 is also uplifted.
MozReview-Commit-ID: 21YZObeSUa3
--HG--
extra : rebase_source : 8d543fe69f4ac9df5ccdc42d3ce47bb37eea4396
2017-08-28 14:50:14 -07:00
Kearwood "Kip" Gilbert
7f6e715fdf
Bug 1400407 - Part 2: Cleanup DOM Canvas mirroring dead code,r=jgilbert
...
- Refactored out Canvas layer mirror specialization, no longer needed
as we are no longer implementing a TextureForwarder to submit VR frames.
MozReview-Commit-ID: ArZO6M9kNLg
--HG--
extra : rebase_source : 2447bfb61b6575f0c6bdaf35ecd4656e7cfb762f
2017-09-15 15:06:56 -07:00
Wes Kocher
83fd890d27
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher
382a7d90d6
Merge inbound to central, a=merge
...
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Sebastian Hengst
4d183e475c
Backed out changeset 9b5b03b2114d (bug 1401379)
2017-10-02 19:57:33 +02:00
Nika Layzell
484b697044
Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
...
MozReview-Commit-ID: 3j9jfLv7MO2
2017-10-02 11:58:01 -04:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Andreas Pehrson
f421080879
Bug 1380346 - Let CaptureStreamTestHelper2D.drawColor draw squares wherever you want. r=jib
...
It was supporting a simpler case of only drawing in the upper left corner of
the input canvas. This supports that by default still, but also allows the
caller to exactly specify coordinates and size of the rectangle to draw.
MozReview-Commit-ID: GVQh0HqejqU
--HG--
extra : rebase_source : fb48fd1681f0545c53b5cb49b2791f42270ca83c
2017-09-14 19:00:20 +02:00
Andreas Pehrson
f9cccebd1e
Bug 1380346 - CaptureStreamTestHelper shouldn't need a full-size canvas to extract a pixel. r=jib
...
Our previous strategy was to draw the *entire* video we wanted a pixel from to
a canvas, then extract the pixel we wanted from that. This was all right for
most of our cases where the video was sufficiently small.
However, drawImage is more powerful than that -- we really just need a 1x1
canvas and draw the pixel we want to look at straight in.
MozReview-Commit-ID: ATdFVY3YBUv
--HG--
extra : rebase_source : 47ce69d7d9fd6505d2991895d4484fcc1f746543
2017-09-14 18:57:12 +02:00
Jeff Gilbert
ecdd005bbd
Bug 1403798 - Update sRGB expectation to "pass" on Windows.
...
MozReview-Commit-ID: 6pjoWF4DMyE
2017-09-28 13:28:21 -07:00
Kearwood "Kip" Gilbert
c5a2279e20
Bug 1400457 - Isolate VR Rendering from Compositor r=daoshengmu,jgilbert
...
- WebVR is no longer dependent on PTexture, TextureParent,
TextureHost, and TextureChild. It continues to use TextureClient
for pooling and coordinating locks with other Gecko code.
- PreserveDrawingBuffer now behaving correctly for 2d display mirroring
- Preparation for separating to VR process
MozReview-Commit-ID: 2RGOulCInSu
--HG--
extra : rebase_source : 3542b804c3def36fa74541be32d0e7cbc9698641
2017-07-21 17:30:34 -07:00
Sebastian Hengst
821bac9381
Backed out changeset f13bc708c440 (bug 1408312)
2017-10-16 16:15:34 +02:00
Cameron McCormack
cd60976c07
Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
...
MozReview-Commit-ID: LuB0izWz7nk
--HG--
extra : rebase_source : c6bb1ce19b432e6a07db7c342e54a708f63d0c4b
2017-10-16 09:06:39 +08:00
Daosheng Mu
bcda0089e4
Bug 1349067 - Make gl as current at WebGL2 ReadBuffer(); r=ethlin,jgilbert
...
MozReview-Commit-ID: 5yrsuhilb1N
--HG--
extra : rebase_source : e22d5bf358ac1e73f4073d39f99ae795d6ce65a2
2017-03-28 00:05:37 +08:00
Jeff Gilbert
c05dfaa988
Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
...
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
Jeff Gilbert
28ad7c4030
Bug 1403413 - Remove deprecated MOZ_ extension prefix aliases. - r=daoshengmu
...
MozReview-Commit-ID: JM5pVKW8po7
2017-09-27 17:46:25 -07:00
Nicholas Nethercote
dfd3b7e7aa
Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
...
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.
These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.
- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>
- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
- Count() --> Length()
- ObjectAt() --> ElementAt()
- AppendObject() --> AppendElement()
- RemoveObjectAt() --> RemoveElementAt()
- ns*Hashtable<nsISupportsHashKey, ...> -->
ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>
- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
- This requires adding a Get() method to nsRefPtrHashtable that it lacks but
nsInterfaceHashtable has.
- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
- nsArrayBase::Create() --> nsTArray()
- GetLength() --> Length()
- do_QueryElementAt() --> operator[]
The patch also has some changes to Rust code that manipulates nsIAtom.
MozReview-Commit-ID: DykOl8aEnUJ
--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Wes Kocher
a341b32d06
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Wes Kocher
22a72df7fe
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Daosheng Mu
71e33503a5
Bug 1398436 - Skip-if test_2_conformance__extensions__webgl-compressed-texture-size-limit.html in Win 7; r=jgilbert
...
MozReview-Commit-ID: JJBAvcLZPUZ
--HG--
extra : rebase_source : c40e4090edd066ea2cf8266415e792bba68efce2
2017-09-18 16:17:07 +08:00
sotaro
8c6ed26316
Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert
2017-09-26 13:15:36 +09:00
Ethan Lin
9486c23d02
Bug 1296410 - Add crashtest for the bug about NULL pointer read when opening a canvas html. r=mstange
...
MozReview-Commit-ID: I1kqQcYFxtU
--HG--
extra : rebase_source : c0b508a7504aaeb8095db5471b8c2b7fbd6bdd53
2017-09-26 01:16:27 +08:00
Andreas Pehrson
78a302848f
Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib
...
MozReview-Commit-ID: 42hT181wkvq
--HG--
extra : rebase_source : 430d7ea6156bddf98893c4b8b3d0db70c3c54831
2017-05-29 16:27:45 +02:00
Jonathan Watt
341ea5e4f1
Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr
2017-08-30 15:58:31 +01:00
Jonathan Watt
0e4feb75d3
Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
...
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Andrew Halberstadt
7527e600f0
Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
...
MozReview-Commit-ID: IQL7hWxQX9F
--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
Jeff Gilbert
4efa5737b0
Bug 1400073 - Hide MOZ_debug from getSupportedExtensions. - r=daoshengmu
...
MozReview-Commit-ID: LFTrUOGLh36
2017-09-14 19:26:49 -07:00
Daosheng Mu
6eef084a6c
Bug 1398404 - Make current context when updating max draw buffers; r=jgilbert
...
MozReview-Commit-ID: 1OSjjMwCpBb
--HG--
extra : rebase_source : 24f82404dcc4372f8b05e9778efa1d335ad786ad
2017-09-11 10:30:48 +08:00
Jon Coppeard
a3c0357907
Bug 1399141 - Attribute malloc memory when creating reflector object r=baku
2017-09-13 11:21:12 +01:00
Jon Coppeard
a4fe4cbe3c
Bug 1301863 - Tell the JS engine how much memory blob reflectors hold alive r=baku
2017-09-12 10:46:51 +01:00
Jean-Yves Avenard
cd0b3c1b7a
Bug 1392143 - P4. Change test expectations now that it passes. r=mattwoodrow
...
MozReview-Commit-ID: moLdQoJnQw
--HG--
extra : rebase_source : f787fb0669d3cc0426383e5689ee4cd319ed355a
2017-09-07 17:52:49 +02:00
Wes Kocher
4d3b3a806c
Backed out 6 changesets (bug 1392143) for lint failures in SanityTest.js a=backout
...
Backed out changeset 5e167360b1f9 (bug 1392143)
Backed out changeset c1fcfceeefae (bug 1392143)
Backed out changeset 5220b19f1fc0 (bug 1392143)
Backed out changeset ff3a335e7111 (bug 1392143)
Backed out changeset b1627a3a5d77 (bug 1392143)
Backed out changeset 40e16e34df00 (bug 1392143)
MozReview-Commit-ID: KWifvOL8d9s
2017-09-07 16:17:11 -07:00
Jean-Yves Avenard
cad4fd8f64
Bug 1392143 - P4. Change test expectations now that it passes. r=mattwoodrow
...
MozReview-Commit-ID: moLdQoJnQw
--HG--
extra : rebase_source : 260e99812d5d52426fb52088a43b096ffa460d63
2017-09-07 17:52:49 +02:00
Daosheng Mu
cbc71c63a8
Bug 1359055 - Part 3: Fail-if webgl-compressed-texture-size-limit tests on Win 7; r=jgilbert
...
MozReview-Commit-ID: 8lS9W6ju0Lv
--HG--
extra : rebase_source : 4f7aafbc5a9ab50cbb0a86977dfe422c5b07db45
2017-08-31 03:31:42 +08:00
Daosheng Mu
0129bbc1cb
Bug 1359055 - Part 2: Enable compressed texture unpack buffer tests; r=jgilbert
...
MozReview-Commit-ID: Dvdf8ORrGtg
--HG--
extra : rebase_source : f28e88731c64327b73b4947507081f529ca58d50
2017-08-31 03:02:28 +08:00
dmu@mozilla.com
280b27a0fb
Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert
...
MozReview-Commit-ID: LN2diy41A2Z
--HG--
extra : rebase_source : d77ee2b289348e0609bac248dfab670c72623fa0
2017-07-18 18:02:57 +00:00
Kris Maglione
04acc0aace
Bug 1396449: Part 2 - Use atoms to test WebExtension permissions. r=krizsa
...
The extension policy services uses atoms internally for permission names, so
using them directly rather than strings is considerably cheaper.
MozReview-Commit-ID: Io8EuOXHKVy
--HG--
extra : rebase_source : 577b4bdf7f899729e4cf92961a8e9e25bf886a72
2017-09-03 18:51:02 -07:00
Jeff Gilbert
8ad8b56fea
Bug 1322746 - Mark windows as passing video fast-upload tests.
...
MozReview-Commit-ID: EbAitGKID64
2017-09-02 21:52:50 -07:00
Jeff Gilbert
e0767b6b54
Bug 1322746 - Remove video->canvas2d fastpath for SkiaGL. - r=lsalzman
...
MozReview-Commit-ID: GjLnyS2lqDo
2017-09-02 21:52:47 -07:00
Jeff Gilbert
0086c87614
Bug 1322746 - SkiaGL should ask for a blit to OriginPos::BottomLeft. - r=lsalzman
...
MozReview-Commit-ID: Fu2VP0Va2Fk
2017-09-02 21:52:44 -07:00
Jeff Gilbert
29703124cf
Bug 1322746 - Add common func addLoadEvent to mochi-to-testcase.py.
...
MozReview-Commit-ID: 2I7qdlZ6Po6
2017-09-02 21:52:42 -07:00
Jeff Gilbert
dc78acfe2b
Bug 1322746 - No fast uploads for x/y/zOffset!=0 yet. - r=daoshengmu
...
MozReview-Commit-ID: CVq6TYhg9FP
2017-09-02 21:52:39 -07:00
Jeff Gilbert
2e54682899
Bug 1322746 - Mark mp4->webgl as fast on Mac.
...
MozReview-Commit-ID: FgnmIJZQyex
2017-09-02 21:52:36 -07:00
Jeff Gilbert
d0d2a623db
Bug 1322746 - Disable webgl reftest on Android. - r=dvander
...
WebGL isn't starting on Android slaves, likely since we made vertex_array_object mandatory in this bug.
MozReview-Commit-ID: ILFGnxWDBWn
2017-09-02 21:52:30 -07:00
Jeff Gilbert
8a890b29aa
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Chih-Yi Leu
92a212a53b
Bug 1319160 - Remove redundant webgl disjoint timer extension mochitest r=jgilbert
...
MozReview-Commit-ID: GCUNxcIiF8F
--HG--
extra : rebase_source : e6d7386320d14d6b87eb27b7f0010eace0fd6be5
2017-09-01 11:41:47 +08:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Wes Kocher
4ea67d0e07
Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
...
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt
cae249f833
Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
...
MozReview-Commit-ID: IQL7hWxQX9F
--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Chung-Sheng Fu
875538a46b
Bug 1217290 - Add test cases for WebGL fingerprinting resistance r=daoshengmu,jgilbert
...
MozReview-Commit-ID: LeEJ4V7iYto
--HG--
extra : rebase_source : 483dd5c76be7daa1f0bff09abbe9094fcb0561db
2017-07-27 15:54:36 +08:00
Chung-Sheng Fu
2077ced147
Bug 1217290 - Refactor WebGL max & min attribute constants for WebGL fingerprinting r=arthuredelstein,daoshengmu,jgilbert
...
MozReview-Commit-ID: 5fxOdV8euJ0
--HG--
extra : rebase_source : 6c961a6e1bb0bea22ee464b8e166994224170b03
2017-07-27 15:49:46 +08:00
Chung-Sheng Fu
886fe4b600
Bug 1217290 - Refine WebGLContext members r=daoshengmu,jgilbert
...
MozReview-Commit-ID: BjZCM1ygZ4k
--HG--
extra : rebase_source : eec6bbad8c6e27cb2e2c270194e6f1d50e83d16a
2017-07-27 15:49:21 +08:00
Chung-Sheng Fu
e99b682659
Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
...
MozReview-Commit-ID: DPrjaf9QHfP
--HG--
extra : rebase_source : 903236ca4a0e0cf76a631188dfa58dc28d7641e4
2017-07-27 15:48:58 +08:00
Chung-Sheng Fu
d361e812da
Bug 1217290 - Remove WebGLContext::MinCapabilityMode r=daoshengmu,jgilbert
...
MozReview-Commit-ID: 8Ggsjm8ReeR
--HG--
extra : rebase_source : f614706333c6ae5b01eab45926f7a949bfddfbe5
2017-07-27 15:48:35 +08:00
JerryShih
77bd26b1bd
Bug 1379995 - test case for webgl drawArray() call. r=jgilbert
...
Test drawArray() after calling deleteBuffer() for the binded buffer.
MozReview-Commit-ID: 306tsklZK4L
--HG--
extra : rebase_source : 9ae4b33accc57406695ad6ee8f3d71fdf4d58442
2017-08-23 17:23:05 +08:00
JerryShih
8f4560dc72
Bug 1379995 - reset the mBufferFetchingIsVerified flag after the webgl deleteBuffer call. r=jgilbert
...
If the buffer status was changed, we should do the ValidateBufferFetching() again.
MozReview-Commit-ID: 7czQFT3qauE
--HG--
extra : rebase_source : ee2635289d0d3e7c115b2a9d9f52c3ae876830d5
2017-08-23 16:57:41 +08:00
Wes Kocher
fb8abb94c7
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Nathan Froyd
c25b06189d
Bug 1378474 - part 2 - label WebGLQuery's AvailableRunnable; r=jgilbert,billm
...
If we have an associated canvas element, the query should go in the
queue of the associated document.
2017-08-23 10:39:40 -04:00
Nathan Froyd
f3703c9934
Bug 1378474 - part 1 - centralize AvailableRunnable dispatching; r=jgilbert
...
This change will make labeling AvailableRunnable simpler, as we'll only
have to modify one location.
2017-08-23 10:39:40 -04:00
Jeff Gilbert
2e973d35a6
Bug 1330433 - OES_texture_float_linear+WebGL2 should make R32F and RG32F filterable. - r=daoshengmu
...
MozReview-Commit-ID: LFv8Daa6Taj
2017-08-23 01:55:30 -07:00
Kevin Chen
9fa0238d13
Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
...
MozReview-Commit-ID: 9gJCErHosg1
--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Ethan Lin
d592c08612
Bug 1387994 - Ensure the draw target when initializing the canvas context. r=nical
...
MozReview-Commit-ID: DxqoywKaSbE
--HG--
extra : rebase_source : 142dea1433db50600fa73d5b0ed3d2eb9c584732
2017-08-10 15:04:42 +08:00
Sylvestre Ledru
4aaec5e153
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
...
MozReview-Commit-ID: IABJ8UM2ItU
--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Phil Ringnalda
1ca83fd296
Backed out 5 changesets (bug 1387569) for Windows static build bustage
...
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)
MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru
286b0eabd0
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
...
MozReview-Commit-ID: IABJ8UM2ItU
--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Sebastian Hengst
d89b7feb2e
Backed out changeset f210c7c8d115 (bug 1387569) for build bustage in crashreporter on Windows. r=backout
2017-08-19 20:23:11 +02:00
Sylvestre Ledru
f57efef2ca
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
...
MozReview-Commit-ID: IABJ8UM2ItU
--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Eric Rahm
9732475fe0
Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly
...
--HG--
extra : rebase_source : 94a2b34b21cfde0c0ebda1045e9d30c6b88a1557
2017-08-11 17:42:11 -07:00
Morris Tseng
2ad398aebc
Bug 1391136 - Handle context lost in layers-free mode. r=jgilbert
...
MozReview-Commit-ID: 1J0EggRmM4i
2017-08-18 15:13:29 +08:00
Phil Ringnalda
525ef4d843
Backed out 7 changesets (bug 1390386) for Android crashes in testSettingsPages
...
Backed out changeset 22b11f9aedd3 (bug 1390386)
Backed out changeset caffdbefd427 (bug 1390386)
Backed out changeset 3364e6589731 (bug 1390386)
Backed out changeset ed6857bdc17b (bug 1390386)
Backed out changeset 1314405cf812 (bug 1390386)
Backed out changeset 9d16670edeb5 (bug 1390386)
Backed out changeset d1286d0d2c79 (bug 1390386)
MozReview-Commit-ID: 3V3ZFwrNaGE
2017-08-17 21:06:05 -07:00
Jeff Gilbert
365866b9f5
Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 5iyGHNzoCpd
2017-08-17 16:15:48 -07:00
Bevis Tseng
4d83a58f38
Bug 1390080 - Label ImageCache.
2017-08-15 10:51:54 +08:00
Jeff Gilbert
a5518f73d7
Bug 1388565 - Mark Mac+Intel as handling no-array draw-elements well.
...
MozReview-Commit-ID: A2wq3h7y4Q8
2017-08-15 16:52:45 -07:00
Jeff Gilbert
36a76f19b6
Bug 1388565 - Improve driver-info.js. - r=daoshengmu
...
MozReview-Commit-ID: AJRnrFW5tUk
2017-08-15 16:52:43 -07:00
Jeff Gilbert
59982493b5
Bug 1388565 - Mark tests.
...
MozReview-Commit-ID: AXJx9p9JCaz
2017-08-15 16:52:40 -07:00
Jeff Gilbert
cfccc12f18
Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
...
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Jeff Gilbert
62b3bdf68b
Bug 1388565 - Use GLFeature::draw_buffers for WEBGL_draw_buffers IsSupported. - r=daoshengmu
...
MozReview-Commit-ID: 7HU2YHtjehs
2017-08-15 16:52:32 -07:00
Jeff Gilbert
d333d35042
Bug 1388565 - Add webgl.1.allow-core-profiles, enabled for osx. - r=daoshengmu
...
MozReview-Commit-ID: 2PM6jkswzRU
2017-08-15 16:52:29 -07:00
Wes Kocher
5a4357c768
Merge inbound to central, a=merge
...
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Jonathan Kew
6710df5af9
Bug 1387912 - Add missing #include to dom/canvas/ImageBitmap.h, to avoid build fragility (unified-compilation dependency. r=jrmuizel a=stability
...
MozReview-Commit-ID: 3ptkeF67jB2
--HG--
extra : amend_source : 81ecd6836ffed785617bc1f0c6a427c3148d586d
extra : transplant_source : %22sO%3DK%602S%F6%E9%BA%1BO%F9%BD6%E4%A77%12
2017-08-11 11:12:12 +01:00
Jonathan Kew
8e8d4fdf49
Bug 1387912 - Add missing #include to dom/canvas/ImageBitmap.h, to avoid build fragility (unified-compilation dependency. r=jrmuizel
2017-08-11 11:12:12 +01:00
Sylvestre Ledru
d2ed1163fe
Bug 1387002 - Replace .size() by .empty() when applicable in domv/canvas/WebGL* r=kvark
...
MozReview-Commit-ID: 3lebYmRI8TS
--HG--
extra : rebase_source : f61511c96a43342f9c53b3d90cd958bd7b926fcb
2017-08-03 12:01:38 +02:00
Masatoshi Kimura
8b713b2b0f
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack
32d1c2df59
Bug 1384824 - Part 0: Consolidate lazy style resolution entrypoints. r=bholley
...
MozReview-Commit-ID: HPdviA570N1
2017-08-04 19:26:03 +10:00
Michael Smith
f0a3973e54
Bug 1373739 - Disable WebGL in headless mode. r=bdahl
...
MozReview-Commit-ID: LWe9hRh7zXX
--HG--
extra : rebase_source : b97091b65b22e616fa6b99b819216b5b3f9c5b66
2017-06-22 10:13:12 -07:00
Morris Tseng
f3d4ff499f
Bug 1379920 - Introduce CanvasRenderer and its derived classes. r=nical,jrmuizel
...
This patch move common canvas interfaces out of layer. So I create a
base class CanvasRenderer which move interfaces from CanvasLayer.
CopyableCanvasRenderer from CopyableCanvasLayer, ClientCanvasRenderer
from ClientCanvasLayer and WebRenderCanvasRenderer from
WebRenderCanvasLayer. And finally, WebRenderCanvasRendererSync for the
non layers free mode and WebRenderCanvasRendererAsync for the layers
free mode.
Summary all changes in this patch.
* Move class CanvasLayer::Data to CanvasRenderer.h and rename it to
CanvasInitializeData. Because this class not only use by layer but also
* Move BasicCanvasLayer::UpdateSurface to
CopyableCanvasRenderer::ReadbackSurface.
* CanvasClient::Update now accepts ShareableCanvasRenderer as parameter.
not CanvasLayer.
use by layers-free mode. Move it out of layer's class makes more sense.
* Add InitializeCanvasRenderer in the canvas related classes to
initialize CanvasRenderer without involved layer.
* All canvas layer has function "CreateCanvasRendererInternal" that
initialize corresponding CanvasRenderer.
* Description of all CanvasRenderer classes:
** CanvasRenderer: Based classes.
** CopyableCanvasRenderer: Can readback canvas content to a
SourceSurface. Use by BasicCanvasLayer.
** ShareableCanvasRenderer: Provide IPC capabilities that allow sending
canvas content over IPC. This is pure virtual class because the IPC handling is
different in different LayerManager.
** ClientCanvasRenderer: Implement IPC handling for ClientLayerManager.
Use by ClientCanvasLayer.
** WebRenderCanvasRenderer: Implement IPC handling for
WebRenderLayerManager.
** WebRenderCanvasRendererSync: Use by WebRenderCanvasLayer.
** WebRenderCanvasRendererAsync: Use by layers-free mode in WebRender.
class diagram shows below:
+--------------+
|CanvasRenderer|
+-------+------+
^
|
+----------------------+
|CopyableCanvasRenderer|
+----------------------+
^
|
+-----------+-----------+
|ShareableCanvasRenderer|
+-----+-----------------+
^ ^
+-------------+ +-------+
| |
+--------------------+ +---------+-------------+
|ClientCanvasRenderer| |WebRenderCanvasRenderer|
+--------------------+ +--------+--+-----------+
^ ^
+-----------------------+ +----+
| |
+-------------+-------------+ +-------------+--------------+
|WebRenderCanvasRendererSync| |WebRenderCanvasRendererAsync|
+---------------------------+ +----------------------------+
MozReview-Commit-ID: 5hqQ19W169r
2017-08-03 13:55:14 +08:00
Andrea Marchesini
351d938b86
Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz
2017-08-10 18:04:54 -07:00
Nicholas Nethercote
581214bd8b
Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
...
--HG--
extra : rebase_source : fe566945a55c281d8290634a5b55bed19415c839
2017-07-31 10:52:51 +10:00
J. Ryan Stinnett
c79cb3fbb1
Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
...
MozReview-Commit-ID: JNsNUOZfd2e
--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Bryce Van Dyk
0fc643f349
Bug 1382718 - Expose ImageUtils.h so utils can be used more widely. r=mattwoodrow
...
MozReview-Commit-ID: D5AyqzCCXaj
--HG--
extra : rebase_source : 2e7b2c339ee6b8242c50816ed248d0b0dbf4b8fb
2017-07-24 08:59:42 +12:00
Carsten "Tomcat" Book
d360d49d2a
merge mozilla-inbound to mozilla-central a=merge
2017-07-27 10:57:25 +02:00
Bevis Tseng
95b18d794e
Bug 1382172
- Name nsITimerCallback instances in native implementation. r=billm
...
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00
Kartikaya Gupta
ba4b3b9101
Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
...
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.
MozReview-Commit-ID: 6s78RvPFMzv
--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Nicolas Silva
4c59337e27
Bug 1382185 - Check the status of GLContext::MakeCurrent in TexUnpackBlob.cpp. r=jgilber
2017-07-24 12:24:25 +02:00
Nicolas Silva
13f0f93675
Bug 13821850 - Check the status of GLContext::MakeCurrent in CanvasRenderingContext2D. r=Bas
2017-07-24 12:24:21 +02:00
Emilio Cobos Álvarez
2b7de51623
Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley
...
MozReview-Commit-ID: E0mdkhU3XBz
2017-07-22 18:02:57 +02:00
Sebastian Hengst
f16a7f8371
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Sylvestre Ledru
7c0ae251cd
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Manish Goregaokar
08c6de8178
Bug 1382017 part 4 Gecko piece - Rename ServoComputedValues -> ServoComputedData; r=heycam
...
ServoComputedValues is confusing because ComputedValues is actually
ServoStyleContext on the C++ side.
MozReview-Commit-ID: IQNVdfREAMt
2017-07-20 21:44:02 -07:00
Nicholas Nethercote
6e6ae2ea9b
Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
...
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Jeff Gilbert
537fa49680
Bug 1382358 - Allow unusual/spurious glsl versions in non-DEBUG builds. - r=kvark
...
MozReview-Commit-ID: GbJb9ankCGl
2017-07-19 18:04:03 -07:00
Samuel Vargas
df2c48e657
Bug 1377974 - WEBGL_debug_shaders extension should always be enabled. r=jgilbert
...
WEBGL_debug_shaders should be allowed if ShouldResistFingerprinting
is on. Mochitests updated to reflect that.
--HG--
extra : rebase_source : 3aa5f2c6f0b8dfd8c9d1e74f810e23922d679eaa
2017-07-18 14:41:00 -04:00
Boris Zbarsky
e12283979d
Bug 1382027. Allow using an SVGImageElement as a CanvasImageSource. r=mystor
...
--HG--
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1_ref.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1_ref.html
2017-07-19 11:48:49 -04:00
Sebastian Hengst
36e308b1fc
Backed out changeset 6e571ab7b558 (bug 1382104) for asserting at dom/canvas/WebGLContextUtils.cpp:714 in browser-chrome tests and failing GTest's Gfx.CompositorSimpleTree. r=backout
2017-07-19 09:53:13 +02:00
Jeff Gilbert
c8d4e41e8d
Bug 1382104 - Remove internal-vs-user FB bindings. - r=daoshengmu
...
MozReview-Commit-ID: 1lZouQUnaDl
2017-07-18 22:52:25 -07:00
Samuel Vargas
94c5974444
Bug 1380891 - WebGL Conformance sdk/tests/conformance/state/gl-enable-enum-test.html. r=jgilbert
...
--HG--
extra : rebase_source : 38c64d4a50d8c4fc2e5275724d0bd08bb31f0e99
2017-07-13 17:27:00 -04:00
Ryan VanderMeulen
a064d6dbfc
Merge m-c to inbound. a=merge
2017-07-18 13:00:03 -04:00
Ryan VanderMeulen
366f48ad7e
Merge inbound to m-c. a=merge
2017-07-18 12:14:50 -04:00
Samuel Vargas
107a8c4e5b
Bug 1381610 - Check bindRenderbuffer called before framebufferRenderbuffer. r=jgilbert
2017-07-17 16:52:00 -04:00
Nicolas Silva
f83cf1506c
Bug 1360415 - Enable smoothing in canvas.drawImage when down-scaling, even with imageSmoothingEnabled=false. r=bzbarsky
2017-07-18 13:13:44 +02:00
Manish Goregaokar
cdb73416fd
Bug 1367904 - Part 14: stylo: Remove FFI calls for fetching style structs from ServoComputedValues; r=bholley
...
MozReview-Commit-ID: 2HrVZl9HZu1
2017-07-17 21:01:10 -07:00
Manish Goregaokar
f33beecc59
Bug 1367904 - Part 10: stylo: Switch Gecko over to ServoStyleContext; r=bholley
...
MozReview-Commit-ID: EmopKVjEzlz
2017-07-17 21:00:46 -07:00
Samuel Vargas
cf725b7488
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Ryan VanderMeulen
992097f66b
Bug 1373007 - More manifest fixups. a=me
2017-07-14 08:43:19 -04:00
Sebastian Hengst
22d024f800
Backed out changeset 020581c23b7d (bug 1367613) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE
2017-07-14 10:11:54 +02:00
Sebastian Hengst
4a3997ebd2
Backed out changeset 49ef9e17682e (bug 1377974) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE
2017-07-14 10:11:11 +02:00
Samuel Vargas
5f920739bc
Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported. r=jgilbert
...
--HG--
extra : source : 730c95f8ee15de130a015ce6dcc94f0735c4293e
extra : histedit_source : c8ec1ffa8fe52a0670cfa342af13e1ea47281b3f%2Cd159115a0c8586a4668ea88c7cb80202c30c26e9
2017-06-22 14:45:11 -07:00
Samuel Vargas
3ca06f7de4
Bug 1376039 - Convert ValidateBlendFuncEnum to static func. r=jgilbert
...
--HG--
extra : rebase_source : 0f4603d54951436770388b79bcb6e5d4b7782f5e
2017-06-23 17:31:05 -07:00
Samuel Vargas
d7f0c12cd3
Bug 1376039 - WebGL Conformance Failure: deqp/functional/gles3/integerstatequery.html. r=jgilbert
...
--HG--
extra : rebase_source : b8beba46757c7218d573367be82e162737e4a1c7
2017-06-23 16:19:49 -07:00
Samuel Vargas
9096e7b95d
Bug 1377974 - WEBGL_debug_shaders extension should always be enabled. r=jgilbert
2017-07-03 16:52:00 -04:00
Samuel Vargas
a6fd9e6994
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Samuel Vargas
f36d75726e
Bug 1367919 - Add tracking for data allocation calls in WebGL. r=jgilbert
2017-06-22 14:32:00 -04:00
Yoshi Huang
8a943a7081
Bug 1373515 - Revert Bug 1363673. r=smaug
...
image with src set to data:image/png should be considered as same
origin, as we fixed in Bug 1373513.
So this reverts what we did in bug 1363673.
2017-07-26 18:44:19 +08:00
Josh Matthews
e0c37f0ed3
Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter. r=emilio
...
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-10 17:52:00 -04:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Wes Kocher
a9eb08898f
Backed out changeset f220d8060c14 (bug 1352669) for build bustage CLOSED TREE a=bustage
...
MozReview-Commit-ID: INYGT4WT1pO
2017-07-06 14:56:06 -07:00
Josh Matthews
723b20d420
Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter.
...
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-06 13:15:08 -07:00
Kartikaya Gupta
4826f32d87
Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel
...
One thing to note here is that the Scale function on gfxRect has a
different implementation than that in gfx::Rect which is replacing it.
The former just scales the width/height directly whereas the latter
scales the XMost/YMost and recomputes the width/height.
MozReview-Commit-ID: 5FImdIaNfC3
--HG--
extra : rebase_source : 98662d2a52ff9652ec60b066641a07c6d5ee8e08
2017-07-05 11:22:00 -04:00
Kartikaya Gupta
cad9534e69
Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel
...
Most of this patch is updating a few places that use gfxMatrix to use
the equivalent-but-differently-named functions on MatrixDouble:
- Translate/Rotate/Scale get turned into PreTranslate/PreRotate/PreScale
- Transform(Point) gets turned into TransformPoint(Point)
- gfxMatrix::TransformBounds(gfxRect) gets turned into
gfxRect::TransformBoundsBy(gfxMatrix).
- gfxMatrix::Transform(gfxRect) gets turned into
gfxRect::TransformBy(gfxMatrix).
The last two functions are added in this patch as convenience wrappers
to gfxRect instead of Matrix.h because we don't want Matrix.h to "know"
about gfxRect (to avoid adding gecko dependencies on Moz2D). Once we
turn gfxRect into a typedef for RectDouble these will be eliminated
anyway.
MozReview-Commit-ID: BnOjHzmOSKn
--HG--
extra : rebase_source : cf1692d1f0d44a4b05d684a66678739181a426d5
2017-07-05 11:18:49 -04:00
Jeff Gilbert
0b1caa2664
Bug 1377827 - Don't try to initialize texture data unless the texture is otherwise complete. - r=daoshengmu
...
MozReview-Commit-ID: 4alHrHS2vMJ
2017-07-03 15:39:59 -07:00
David Anderson
bea091ec98
Add a reftest for bug 1377303. r=mattwoodrow
...
--HG--
extra : rebase_source : deb6c86702311b4af9326a6ddacebcb602dc124c
2017-06-30 15:36:13 -07:00
Carsten "Tomcat" Book
7918eeee02
merge mozilla-inbound to mozilla-central a=merge
2017-06-28 13:23:29 +02:00
Samuel Vargas
2bc96fc2e7
Bug 1372385 - Remove unexpected OSX mochitest pass from errata. r=jgilbert
...
--HG--
extra : rebase_source : 7f760ba69dcf55dbfb786a5f9f4296b4d7a7ed17
2017-06-23 18:01:00 -04:00
Samuel Vargas
69f9ce7cef
Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test. r=jgilbert
...
--HG--
extra : rebase_source : 6b81a5a3f6d1b5e0692813f7e8b9b3cb13e7a9c0
2017-06-15 15:29:00 -04:00
Kartikaya Gupta
66730bcc5b
Bug 1376449 - Robustify startDrawing to prevent calling callback function after stop() has been called. r=pehrsons
...
MozReview-Commit-ID: 5vPtTHBGJhN
--HG--
extra : rebase_source : fc5ac99c261120c10d43616650c94bdbf63d3bbc
2017-06-27 13:55:45 -04:00
Carsten "Tomcat" Book
4e00eff077
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Daosheng Mu
51833534e1
Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
...
MozReview-Commit-ID: JMHuZirH4L5
--HG--
extra : rebase_source : b015176a20feba7a9032255323c0f2e4960a85d2
2017-06-26 08:39:30 -07:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jeff Gilbert
1f52f0ef2c
Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. r=daoshengmu
...
MozReview-Commit-ID: AuXtjsY4IjQ
--HG--
extra : source : d5e61d70359afa2e24c444b94739bcf35f7460b2
extra : amend_source : 567166379cabc25106debfbd3c095f474ee58b6b
2017-06-22 18:54:16 -07:00
Carsten "Tomcat" Book
dc54f8e362
Backed out changeset dfdccf4dc6a1 (Bug 1368284) to fix bustage a=me
2017-06-23 12:56:08 +02:00
Carsten "Tomcat" Book
35cd4f0c51
Bug 1365879 - Revert merge conflict resolution to fix bustage a=me
...
--HG--
extra : amend_source : 5b5c8fb8a5226c001eb0092c6d32624ac3f4b8df
2017-06-23 12:18:40 +02:00
Carsten "Tomcat" Book
5f51e5596e
merge mozilla-inbound to mozilla-central a=merge
2017-06-23 11:28:19 +02:00
Phil Ringnalda
a53a350cd6
Backed out changeset 91f89d105e2f (bug 1372385) for unexpected passes of test_2_conformance__textures__misc__tex-image-with-format-and-type.html on OS X
...
MozReview-Commit-ID: 5GpTjEQ8zjQ
2017-06-22 22:23:59 -07:00
Phil Ringnalda
3b305b4a7d
Backed out 2 changesets (bug 1373007) for failing to mark the unexpected passes on OS X
...
Backed out changeset 667c5d2b3f77 (bug 1373007)
Backed out changeset 730c95f8ee15 (bug 1373007)
MozReview-Commit-ID: 4qbmDgXpmbJ
2017-06-22 21:32:38 -07:00
Jeff Gilbert
ad01c14ec9
Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. - r=daoshengmu
...
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 20:03:11 -07:00
Jeff Gilbert
676a7d42b3
Bug 1373007 - Update test markings.
...
MozReview-Commit-ID: GqfGNu1T048
2017-06-22 14:45:57 -07:00
Samuel Vargas
39d0d66ae6
Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported - r=jgilbert
2017-06-22 14:06:08 -07:00
Samuel Vargas
b2d3e3f7f6
Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test - r=jgilbert
2017-06-22 14:03:45 -07:00
Daosheng Mu
54b342c455
Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
...
MozReview-Commit-ID: HmSUgaBIC4g
--HG--
extra : rebase_source : 673bef1c8b8ee02757bfcd71da228df03c715c26
2017-06-20 12:00:49 +08:00
Carsten "Tomcat" Book
4f3bc4dba8
merge mozilla-inbound to mozilla-central a=merge
2017-06-22 12:47:40 +02:00
Wes Kocher
bb24138b9d
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Samuel Vargas
9b1cb12fb9
Bug 1372438 - STENCIL_INDEX is not a WebGL constant - r=jgilbert,qdot
2017-06-21 16:28:05 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Xidorn Quan
54100abc9a
Bug 1367306 part 2 - Adjust some test expectation based on whether stylo is being used. r=bholley
...
MozReview-Commit-ID: BDaiAO5kgaK
--HG--
extra : rebase_source : 4d7fd750b76bbf3ec5e42100048f557b835d957e
2017-06-21 15:25:41 +10:00
Jean-Yves Avenard
35422755f0
Bug 1223270: P6. Disable WebGL fast path tests on windows. r=jgilbert
...
fastpath is not implemented on windows machine when using either hardware decoding or D3D11.
MozReview-Commit-ID: GbJVk0nC4vp
--HG--
extra : rebase_source : de83627f7a82b5320d3c926c32cea0df5c0b96a0
2017-06-15 12:28:17 +02:00
Carsten "Tomcat" Book
e082f0f91a
Backed out changeset fc623f4ec820 (bug 1223270)
2017-06-20 09:41:34 +02:00
Carsten "Tomcat" Book
ba27a964cb
Backed out changeset 9e6dcb8ce801 (bug 1373229)
2017-06-20 09:41:30 +02:00
Jean-Yves Avenard
20ca0be63e
Bug 1373229: P2. Update mochitest expectations. r=jgilbert
...
MozReview-Commit-ID: 37IluaeewKk
--HG--
extra : rebase_source : 3edd79d09ea55a197dbda66b7ccfe6fa8997c780
2017-06-18 16:14:05 +02:00
Jean-Yves Avenard
604ccc4959
Bug 1223270: P6. Disable WebGL fast path tests on windows. r=jgilbert
...
fastpath is not implemented on windows machine when using either hardware decoding or D3D11.
MozReview-Commit-ID: GbJVk0nC4vp
--HG--
extra : rebase_source : cc56e46107a672fd5bfc22e9fc450f9969b91c37
2017-06-15 12:28:17 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Lee Salzman
29a9c9d166
Bug 1305085 - don't let SkScalerContext::computeMatrices generate zero scales. r=mchang
...
MozReview-Commit-ID: 4guj6XPWB47
2017-06-14 21:43:27 -04:00
Sebastian Hengst
43c84014a1
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: HYo8pUZXJ8Z
2017-06-15 20:12:28 +02:00
Chih-Yi Leu
33ab8ec199
Bug 1371940 - Reset mStencilTestEnabled when initializing openGL context r=jgilbert
...
MozReview-Commit-ID: 3m78xXoObYY
--HG--
extra : rebase_source : d04f9d710d77583d2c0e144cba7cb2be53e6fea4
2017-06-14 16:10:25 +08:00
JerryShih
5309fc0478
Bug 1372490 - GetError() returns GL_CONTEXT_LOST not GL_CONTEXT_LOST_WEBGL. r=jgilbert
...
MozReview-Commit-ID: KYr0cKoeWJo
2017-06-15 14:43:53 +08:00
Alexis Beingessner
adb013669b
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-13 11:00:10 -04:00
Bill McCloskey
f9aca3eae6
Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander)
...
MozReview-Commit-ID: 9I4eXsBl2s8
2017-06-12 20:20:08 -07:00
Bill McCloskey
aefa2aa5da
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Chung-Sheng Fu
0aaeee9340
Bug 1330876 - Listen to change event of preference "ui.use_standins_for_native_colors" and update default foreground and background colors r=heycam
...
MozReview-Commit-ID: BVFbGQVVNkf
--HG--
extra : rebase_source : 77f9e3bc43524ef2271a9ad1e9f0f25dc9c57aed
2017-06-07 18:11:44 +08:00
Kirk Steuber
8c3a82a2d2
Bug 1370727 - Return void from nsICanvasRenderingContextInternal::SetIsOpaque r=bz
...
nsICanvasRenderingContextInternal::SetIsOpaque returns nsresult, but no implementations return errors. It should return void instead.
MozReview-Commit-ID: LrGouaeoCvo
--HG--
extra : rebase_source : a17432006aa073edaecf15424a3b350309d704c4
2017-06-09 12:15:42 -07:00
Samuel Vargas
901459a071
Bug 1325113 - Implement support for WEBGL_compressed_texture_s3tc_srgb - r=jgilbert,qdot
...
MozReview-Commit-ID: mI4dlB2lK
2017-06-08 14:54:37 -07:00
Kevin Chen
ae6d39b6e2
Bug 1361574 - Restore texture after creating the video texture; r=sotaro
...
MozReview-Commit-ID: 1XAPVwW8zv3
--HG--
extra : rebase_source : ee6358a3d7a262281bcd1e4049509c44646428a9
2017-05-25 17:42:28 +08:00
dmu@mozilla.com
5a72ace401
Bug 1366941 - Checking LayersIPCChannel type when using recycled textureClient; r=nical
...
MozReview-Commit-ID: 94PQA67fvoJ
--HG--
extra : rebase_source : 58b07b7c5d1f7c5bac729d18842655b3c620eba4
2017-05-24 11:01:45 +00:00
Phil Ringnalda
f3312efa43
Backed out changeset ca6881983573 (bug 1366941) for build bustage
...
CLOSED TREE
MozReview-Commit-ID: DgThUZ2RpU
2017-06-01 20:05:48 -07:00
Daosheng Mu
e10b834325
Bug 1366941 - Checking LayersIPCChannel type when using recycled textureClient; r=nical
...
MozReview-Commit-ID: AJUJIC2tkHC
--HG--
extra : rebase_source : 259b8c9f63313dcb5c2291bacb4bcfdc04e757b1
2017-06-01 13:34:00 +08:00
Ryan VanderMeulen
ac35891cc9
Merge m-c to inbound. a=merge
2017-05-25 16:35:51 -04:00
Ryan VanderMeulen
8543438674
Merge inbound to m-c. a=merge
2017-05-25 16:34:16 -04:00
Andrew Osmond
459f477d40
Bug 1367058 - Clarify CanvasRenderingContext2D::GetImageDataArray when there is no overlapping data to read. r=mchang
2017-05-25 14:54:15 -04:00
Olli Pettay
f78280f29a
Bug 1364513 - Ensure correct buffer initialization. r=mystor
...
--HG--
extra : rebase_source : af0024c26378f21da156e8f4e5da1b3bcc8c1ed8
2017-05-25 09:39:17 -04:00
Sebastian Hengst
6f8890dc75
merge mozilla-central to autoland. r=merge a=merge
2017-05-25 10:33:54 +02:00
Samuel Vargas
46c3ff378c
Bug 1366423 - mDepthTestEnable should be initialized in WebGLContextValidate.cpp - r=jgilbert
2017-05-24 15:53:10 -07:00
Kevin Chen
6a20c88a59
Bug 1366027 - Calculate shrink clipped rect with double precision; r=lsalzman
...
MozReview-Commit-ID: 1y2oUkDfnu6
--HG--
extra : rebase_source : 97949c6d03925cd72974a21e630ba850ad2e5c2c
2017-05-23 11:53:04 +08:00
Jeff Gilbert
eb27aad2c1
Bug 1357090 - Check that a texture's level_base is not too high. r=daoshengmu
...
MozReview-Commit-ID: 1EKDTrcTacw
2017-05-22 09:53:23 -04:00
Hiroyuki Ikezoe
5c43533704
Bug 1362914 - Drop initial values of properties other than font-size and font-family in serialization of canvas font attribute. r=manishearth
...
According to the canvas spec [1], we must drop initial values other than
font-size and font-family when we serialize canvas font attribute.
As for font-size and font-family, the default values, '10px sans-serif' [2]
are not dropped at all.
[1] https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-font
[2] https://html.spec.whatwg.org/multipage/scripting.html#canvastextdrawingstyles
MozReview-Commit-ID: EyOxzJCQYQl
--HG--
extra : rebase_source : d358a8e97fa7849a320a3619e746a526fe2a8439
2017-05-20 07:38:26 +09:00
btian
de5fa4f269
Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu
...
Changes:
- remove code addressed by reviewer
- remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code
that relates only to removed AudioChannelService methods
- correct test case listening to event from removed code
- remove useless test case files
MozReview-Commit-ID: I96nR8zTXJt
--HG--
extra : rebase_source : 127876c672744811c025ca55839ff2e8a06b1fce
2017-05-18 09:51:53 +08:00
Nazım Can Altınova
e7316ee8fe
Bug 1364746 - stylo: Continue to propagate quirks mode information to Servo r=bholley
...
I've propagated quirks mode information on some places. But we needed to pass
quirks mode to some other FFI functions to be able to handle that information
properly.
MozReview-Commit-ID: JovQWjN3YJx
--HG--
extra : rebase_source : bd25ba4276ae21ff4feb80e56b311202019268a0
2017-05-14 18:11:18 +03:00
Carsten "Tomcat" Book
e83697008e
merge mozilla-inbound to mozilla-central a=merge
2017-05-16 15:04:38 +02:00
Yoshi Huang
813b4a07d3
Bug 1363673 - fix tests that use data:image/png. r=smaug
...
Once we turn off security.data_uri.inherit_security_context, data: URI
will be considered as a CORS request, so those tests replying on
canvas.toDataURL() will fail if crossorigin is not specified. So I
add crossorigin attribute into those <image>.
2017-05-16 16:57:21 +08:00
Emilio Cobos Álvarez
8b2a66ab16
Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn
...
This allows us to access metadata using `match` instead of comparison with
atoms, which makes it doable to get the pseudo-element flags in the future.
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: KgGjFePmhyS
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
--HG--
extra : rebase_source : 57614aed13d2c088fe129ecf3fabf9869d5a6d50
2017-05-14 18:39:22 +02:00
Hiroyuki Ikezoe
7cd8cdf2bb
Bug 1357295 - Rename LengthParsingMode to ParsingMode and LengthParsingMode::SVG to PasingMode::AllowUnitlessLength. r=emilio
...
We need another flag that represents allow-negative-number for SMIL, so
this enum will also comprise the another parsing mode that allows negative number.
MozReview-Commit-ID: IDFNppjGeB
--HG--
extra : rebase_source : 456f661b33346ff4a756a66c6accf4ab1a5f2f80
2017-05-13 19:47:38 +09:00
Wes Kocher
f1c0f35ea6
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Hiroyuki Ikezoe
2cdc2fb924
Bug 1356916 - Update reftest expectations. r=heycam
...
MozReview-Commit-ID: 93fi2Z5ZPtE
--HG--
extra : rebase_source : 15353de0bd02c4dd343936aec6f62e1836fc123b
2017-05-11 07:55:27 +09:00
Hiroyuki Ikezoe
9219415cbf
Bug 1363574 - Allow unitless length for SMIL values. r=birtles
...
MozReview-Commit-ID: BkGCHgQVzHD
--HG--
extra : rebase_source : c0b0601fba6cfba04217dd6da7e942c167858496
2017-05-11 08:29:36 +09:00
Wes Kocher
959de6c3e8
Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
...
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)
MozReview-Commit-ID: 9dHr7xMZezY
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
extra : source : 761b3f55f10f3df16601ce62e4d15b0c558c0cfb
2017-05-10 10:01:18 -07:00
Carsten "Tomcat" Book
d66b9f27d5
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Lee Salzman
8c18901f07
Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
...
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
Lee Salzman
ed014c1f54
Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
2017-05-11 09:54:15 -04:00
btian
bc058622e6
Bug 1351795
- part 2: Remove console.markTimeline. r=baku
...
MozReview-Commit-ID: EmbscFp9oD4
--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
Jeff Gilbert
c77bde9df0
Bug 1310222 - Relax PoT requirement for resource size limits in WebGL. - r=daoshengmu
...
MozReview-Commit-ID: 33kGMdPOHkT
2017-05-09 13:28:44 -07:00
Tom Tromey
aa6e054b71
Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj
...
This annotates vsprintf-like functions with MOZ_FORMAT_PRINTF. This may
provide some minimal checking of such calls (the GCC docs say that it
checks for the string for "consistency"); but in any case shouldn't
hurt.
MozReview-Commit-ID: HgnAK1LiorE
--HG--
extra : rebase_source : 9c8d715d6560f89078c26ba3934e52a2b5778b6a
2017-05-04 12:10:19 -06:00
Carsten "Tomcat" Book
fdc689ba16
merge mozilla-inbound to mozilla-central a=merge
2017-05-05 15:17:26 +02:00
Jonathan Kew
4b5525bbf7
Bug 1362167 - Use strongly-typed enum classes instead of generic uint16_t fields for the gfxShapedText and gfxTextRun flags. r=jrmuizel
2017-05-04 22:27:05 +01:00
Jonathan Kew
6fc5313103
Bug 1362167 - Split gfxShapedText.mFlags into two 16-bit flags fields, and arrange storage more compactly to reduce size of gfxShapedWord and gfxTextRun objects. r=jrmuizel
2017-05-04 22:25:16 +01:00
André Bargull
f21754e0f3
Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier
...
--HG--
extra : rebase_source : 47be2308322e996fa8bef359d5f1b523fac9801e
2017-05-02 14:21:04 -07:00