Commit Graph

1841 Commits

Author SHA1 Message Date
Milan Sreckovic
5ec8aba015 Bug 1352143: Check for a failed texture creation. r=mtseng
MozReview-Commit-ID: 6g2VK6feXfc

--HG--
extra : rebase_source : 33797a0960a52b6f78a3a943859b69429688202e
2017-03-30 16:57:12 -04:00
Jeff Gilbert
fef06cd120 Bug 1350107 - Detail fallback reason when we fail to do a GPU DOM upload. - r=ethlin
MozReview-Commit-ID: EVdu3LUIrxQ
2017-03-29 15:06:57 -07:00
Jeff Gilbert
758c9e3124 Bug 1350066 - Skip premult if src is missing color or alpha, and spew formats on reformat. - r=ethlin
MozReview-Commit-ID: JeoTq9EX9Rx
2017-03-29 15:06:51 -07:00
Daosheng Mu
6a5f92eaca Bug 1348382 - Only allow 3D or 2D_ARRAY texture at FramebufferTextureLayer; r=ethlin,jgilbert
MozReview-Commit-ID: LVsvzC5p4li

--HG--
extra : rebase_source : 779da88d1cc4cf5b73ccae67f9843f153d32569b
2017-03-21 14:28:38 +08:00
Paul Bignier
4f35ad2b84 Bug 1309200 - Use GetSoftwareBackend in dom. r=nical 2017-02-26 20:38:24 +01:00
Wes Kocher
2ea6238e55 Merge inbound to central, a=merge
MozReview-Commit-ID: 6od53T3ozcm
2017-03-23 16:15:37 -07:00
Ehsan Akhgari
e67d3e5c18 Bug 1348453 - Make the second argument to ImageBitmap::ExtensionsEnabled() optional; r=baku 2017-03-23 10:27:41 -04:00
Kartikaya Gupta
47c42c47ea Bug 1322816 - Re-enable some skipped reftests now that WebRender handles them. r=rhunt
MozReview-Commit-ID: 1egwR8QAZ2O
2017-03-22 13:56:33 -04:00
Kaku Kuo
1ae5278f6a Bug 1349459 part 1 - mark element as tainted when CreateImageBitmap() is used; r=jwwang,mattwoodrow
In this patch, we simply modify the ImageBitmap::createInternal(..., HTMLMediaElement&, ...) method to use
HTMLMediaElement::GetCurrentImage() utility and HTMLMediaElement::GetCurrentImage() marks the
videl element as tainted.

MozReview-Commit-ID: KyN2xRqKVrr

--HG--
extra : rebase_source : 5e0e0400f1848823751cd88f2bbe734bc5aec5fe
2017-03-22 15:21:44 +08:00
Wes Kocher
0bceceb25c Backed out changeset 397a59f9c50d (bug 1348382) for getting r-'d a=backout
MozReview-Commit-ID: GIzqqaMfz5T

--HG--
extra : rebase_source : d7e12624d832412d9f4d5e52c5b2a6cf01960cf5
2017-03-21 19:03:22 -07:00
Daosheng Mu
0d869e4440 Bug 1348382 - Check texture image target format is valid at FramebufferTextureLayer validation; r=ethlin
MozReview-Commit-ID: LVsvzC5p4li

--HG--
extra : rebase_source : 8d71296d2ea091497f34e10313a5413446f8da48
2017-03-21 14:28:38 +08:00
Masayuki Nakano
87d8470a52 Bug 1347073 Get rid of UIEvent.isChar since it's not initialized properly on most platforms and the other browsers don't support this r=smaug
UIEvent.isChar is not supported by the other browsers and the value isn't initialized any platforms except on macOS. So, the value isn't useful and we have no reason to keep it.

MozReview-Commit-ID: 4BLpo88gSZj

--HG--
extra : rebase_source : ca950f8cb618a0cadc99ba4c80b5a8df94a20f27
2017-03-14 18:29:39 +09:00
Sebastian Hengst
03b2ac1e59 Backed out changeset 5f62af954609 (bug 1333858) for bustage. r=backout on a CLOSED TREE 2017-03-22 22:50:54 +01:00
Jeff Gilbert
d77aa7d59a Bug 1333858 - Intersect should be fallible on overflow. r=daoshengmu
MozReview-Commit-ID: 6lmIKKyXXah
2017-03-22 17:07:25 -04:00
Kartikaya Gupta
916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta
b1573d9a13 Bug 1344947 - Update reftest.list files with new webrender results. r=jrmuizel
MozReview-Commit-ID: 8F8ZetpBUUY
2017-03-13 13:03:24 -04:00
Jeff Gilbert
5ef33e1ddb Bug 1339256 - Only request robustness if requested on EGL - r=daoshengmu
MozReview-Commit-ID: GlMpalFwS2U
2017-03-09 18:57:47 -08:00
Jeff Gilbert
d401ac72c1 Bug 1339256 - Simplify index validation. - r=kvark
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-09 18:57:43 -08:00
Jeff Gilbert
e63fc0df83 Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
vincentliu
8b4e18d1e6 Bug 1343851 - Add nullptr check for SurfaceFactory in StartVRPresentation. r=mtseng 2017-03-10 09:30:49 +08:00
Iris Hsiao
7cfff94991 Backed out 3 changesets (bug 1339256) for build bustage
Backed out changeset a6bb817bae08 (bug 1339256)
Backed out changeset 86fe1c44ac5a (bug 1339256)
Backed out changeset ed97037dae9c (bug 1339256)
2017-03-08 17:02:45 +08:00
Jeff Gilbert
0e274f58a3 Bug 1339256 - Simplify index validation. - r=kvark
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-08 00:46:45 -08:00
Jeff Gilbert
eaa34aadcb Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-08 00:46:43 -08:00
Michael Layzell
befc7b0924 Bug 1331434 - Part 9: Return after ErrorResult::Throw in /dom, r=ehsan
MozReview-Commit-ID: CWjx4L8LTr9
2017-03-07 19:06:48 -05:00
Jonathan Watt
94608339b3 Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert 2017-01-30 13:25:00 +00:00
Milan Sreckovic
3298568334 Bug 1341959: Part 2. Check if WebGL2 is blocked before creating it. r=jgilbert
MozReview-Commit-ID: Div1umXOMV

--HG--
extra : rebase_source : 6557d49dfcb7c55c7ce4bfc7ba7d7a22396443fc
2017-03-02 15:48:12 -05:00
Iris Hsiao
962ca20929 Backed out changeset 87bf65872b56 (bug 1341959) for xpcshell failures 2017-03-02 11:53:44 +08:00
Milan Sreckovic
96d364e756 Bug 1341959: Part 2. Check if WebGL2 is blocked before creating it. r=jgilbert
MozReview-Commit-ID: 7ZsVKpP5V6j

--HG--
extra : rebase_source : f1b340ab87a1d65798f7bb76a62cd3584a9baa32
2017-02-24 14:14:46 -05:00
Ehsan Akhgari
0fea8eec91 Bug 1342720 - Optimize away the cost of creating and destroying nsBidi from CanvasRenderingContext2D::DrawOrMeasureText(); r=baku
The ICU implementation of ~nsBidi is particularly expensive because
it calls free() several times.
2017-02-28 09:13:48 -05:00
Randell Jesup
8ad25a673c Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
Ethan Lin
7faa453e65 Bug 1341521 - Remove the retaining buffer machanism when setting the same canvas dimension. r=nical
--HG--
extra : rebase_source : 519ae1558bb0a771474508ebfd1f44ea38262015
2017-02-23 01:20:00 -05:00
Carsten "Tomcat" Book
e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Jeff Gilbert
c90805dae5 Bug 1341459 - Remove MOZ_WEBGL_CONFORMANT. - r=jrmuizel
MozReview-Commit-ID: 32wxGM4ZbGA
2017-02-22 14:55:34 -08:00
Jeff Gilbert
7bd233bc87 Bug 1329988 - Always use ANGLE's less-slow transpose:true path. - r=kvark
MozReview-Commit-ID: ugVzpBlwCP
2017-02-21 14:33:10 -08:00
George Wright
c881027454 Bug 1335145 - Only limit accelerated canvases for mobile r=milan 2017-02-21 13:42:32 -05:00
Boris Zbarsky
a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Wes Kocher
a85d979e21 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Jeff Gilbert
147e826b27 Bug 1338862 - Update tests for WEBGL_debug_renderer_info. - r=daoshengmu
MozReview-Commit-ID: HkFj3pc6EzE
2017-02-17 13:10:02 -08:00
Sylvestre Ledru
ec99d8f502 Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/canvas r=baku
MozReview-Commit-ID: EWXDsio2aBh

--HG--
extra : rebase_source : 14231b7c3b5f93a1cbf6c139747bd344af40d571
2017-02-09 10:29:26 +01:00
Tom Tromey
9b663e797b Bug 1060419 - make WebGLContextUtils.cpp use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: JhwopeIpUMo

--HG--
extra : rebase_source : 8540864ed969ad038e996b22d78ec3b4f1ba3cb8
2016-12-09 13:48:22 -10:00
Tom Tromey
f8ab4ddf02 Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
MozReview-Commit-ID: JifhpA3oOeH

--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Daniel Holbert
452a3b8454 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t

--HG--
extra : rebase_source : cd994e5c6abf777f77c5a708cbfb2f6afc49a44c
2017-02-14 14:01:59 -08:00
Bob Clary
2d47aef0dd Bug 1338256 - Disable dom/canvas/test/test_imagebitmap_extensions_on_worker.html on debug Android 4.4, r=gbrown. 2017-02-14 07:00:18 -08:00
Bob Clary
021b991ace Bug 1336581 - Disable failing Mochitest Skia tests on Android, r=gbrown 2017-02-14 07:00:18 -08:00
vincentliu
fda0c3a079 Bug 1336351 - The null blob callback of canvas.toBlob should be async. r=bz, smaug 2017-02-14 11:39:16 +08:00
Jeff Gilbert
5a612c344b Bug 1330022 - Update test.
MozReview-Commit-ID: 8cOaKbSYFBg
2017-02-13 15:37:59 -08:00
Jeff Gilbert
a719834c77 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-13 15:37:57 -08:00
Jeff Gilbert
5a028b1063 Bug 1330022 - Centralize VertexAttrib[I]Pointer calls to improve perf. - r=kvark
MozReview-Commit-ID: IcGNZhJTU5K
2017-02-13 15:37:54 -08:00
Kartikaya Gupta
8bc9047fcc Bug 1335139 - Followup to mark a reftest passing with webrender. r=me
MozReview-Commit-ID: D2gykUmcYjF
2017-02-13 09:03:24 -05:00