Commit Graph

1712 Commits

Author SHA1 Message Date
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Ryan VanderMeulen
0e77532d02 No bug - Increase the fuzz for fillText-with-filter-opacity-2.html slightly to make Win10 happy.
--HG--
extra : rebase_source : aa4ac567cd64b1f137b8b4a080e3909b67aa6630
extra : histedit_source : 0e31aa085314664a39b7375199668d16e7d312f9
2016-10-06 19:50:42 -04:00
Ethan Lin
123014d901 Bug 1305963 - Add reftests for mozCurrentTransform and mozCurrentTransformInverse. r=nical 2016-10-03 19:14:00 -04:00
Ryan VanderMeulen
e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Ryan VanderMeulen
35753f09fc Merge m-c to autoland. a=merge 2016-10-07 09:45:32 -04:00
Andreas Pehrson
9e974f707b Bug 1273314 - Log the caught error properly in CaptureStreamHelper. r=jib
MozReview-Commit-ID: 9T8G4Xyw69t

--HG--
extra : rebase_source : 9592e1e95454ff0ab48107b95d2c7304417479db
2016-09-30 17:24:43 +02:00
Carsten "Tomcat" Book
7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Carsten "Tomcat" Book
7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Ms2ger
c23e011297 Bug 1307141 - Submit test_linedash from test_canvas.html to WPT; r=jgraham
This test was originally written by Rik Cabanier in changeset b16182c733bb
(bug 768067). He has relicensed his contribution under the CC0 at
<https://bugzilla.mozilla.org/show_bug.cgi?id=1073556#c67>. I am taking his
public domain test and relicensing it under the web-platform-tests licenses.
2016-10-06 08:45:37 +02:00
Ms2ger
ed889873be Bug 1307141 - Submit test_setlinedash.html to WPT; r=jgraham
This test was originally written by David Caldwell in changeset d18ebc644b89
(bug 1006656). He has relicensed his contribution under the CC0 at
<https://bugzilla.mozilla.org/show_bug.cgi?id=1073556#c66>. I am taking his
public domain test and relicensing it under the web-platform-tests licenses.
2016-10-06 08:45:28 +02:00
Thomas Wisniewski
50934d0360 Bug 931389 - remove CanvasRenderingContext2D.mozDash/mozDashOffset. r=gw280, r=baku
--HG--
extra : rebase_source : 2192c147822a28796e24532b0df10a38a5481a55
2016-10-04 11:53:57 -04:00
Milan Sreckovic
cc08d3d97e Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ

--HG--
extra : rebase_source : 4531fc96899f1a2f6524289d5db1054345e0e5f4
2016-09-30 13:54:22 -04:00
Ethan Lin
a6241ed972 Bug 1305963 - Add EnsureTarget for GetMozCurrentTransform and GetMozCurrentTransformInverse. r=nical
--HG--
extra : rebase_source : aa42275528dec8bf8ce6d954d8ba3e26217fe818
2016-10-02 23:55:00 -04:00
Tooru Fujisawa
26cadb42f0 Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug 2016-09-11 18:15:24 +09:00
Morris Tseng
d4e48cabd6 Bug 1273752 - Fix unexpected pass tests. r=me
MozReview-Commit-ID: BncxWRf0gsH
2016-09-30 15:34:56 +08:00
Morris Tseng
bc5688f2ab Bug 1273752 - Replace GL_VERTEX_PROGRAM_POINT_SIZE with GL_PROGRAM_POINT_SIZE. r=jgilbert
MozReview-Commit-ID: 7GO5SwgnI8j
2016-09-30 15:34:56 +08:00
Sotaro Ikeda
beffe7ecb4 Bug 1303301 - Add nullptr handling r=mtseng 2016-09-30 00:29:34 -07:00
Tooru Fujisawa
13783142a7 Bug 1289050 - Part 5.1: Use ASCII variants of JS_ReportWarning in dom/canvas. r=jwalden,jgilbert 2016-09-30 12:34:45 +09:00
Tooru Fujisawa
ba7a576409 Bug 1289050 - Part 5: Use ASCII variant of JS_ReportWarning. r=jwalden 2016-08-14 20:39:29 +09:00
Ethan Lin
c635ba4f34 Bug 1304539 - Add reftest for fillText and strokeText with filter. r=mstange
--HG--
extra : amend_source : d5a794368d720fd449ff52ff064b4708da232fb8
2016-09-29 18:39:00 -04:00
Ethan Lin
9a6b820bb2 Bug 1304539 - Use AdjustedDrawTarget to draw text. r=mstange
--HG--
extra : source : f205f28cbcf3723aee0e302ea2ce7b71a00f4210
2016-09-23 18:37:00 +02:00
Jeff Gilbert
220518855d Bug 1306172 - Don't pass LINE_WIDTH>1.0 to core profiles. - r=jerry 2016-09-29 13:51:06 -07:00
Jeff Gilbert (:jgilbert)
cdf8519d85 Bug 1305190 - Fix vertex attrib elem size calculations. - r=ethlin
MozReview-Commit-ID: KXpLbIu8pRr
2016-09-29 13:49:25 -07:00
Wes Kocher
4894f8488a Backed out 2 changesets (bug 1304539) for Windows unaccelerated reftest failures a=backout
Backed out changeset fbfe71842bb7 (bug 1304539)
Backed out changeset f205f28cbcf3 (bug 1304539)
2016-09-29 11:55:08 -07:00
Ethan Lin
9d1424da43 Bug 1304539 - Add reftest for fillText and strokeText with filter. r=mstange 2016-09-28 23:17:00 +02:00
Ethan Lin
5ec5294315 Bug 1304539 - Use AdjustedDrawTarget to draw text. r=mstange 2016-09-23 18:37:00 +02:00
Carsten "Tomcat" Book
5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Carsten "Tomcat" Book
ce0c098520 Backed out changeset ca17ce6a2c9a (bug 1303301) for gl3 test failures 2016-09-29 09:34:49 +02:00
Andi-Bogdan Postelnicu
6ebccb2c06 Bug 1282408 - Add ignore-initialization-check annotation to variables from WebGLTransformFeedback. r=jgilbert
MozReview-Commit-ID: 5wmvRUVTRnq
2016-09-27 14:16:27 +03:00
Sotaro Ikeda
1f0fac3776 Bug 1303301 - Add nullptr handling r=mtseng 2016-09-28 22:04:07 -07:00
dmu@mozilla.com
70ca426d5a Bug 1290333 - Add framebuffer size test case; r=ethlin,jgilbert
MozReview-Commit-ID: 3qhBAPiZEpS

--HG--
extra : rebase_source : c318c245720b329efd990e842f8d1a202151a076
2016-08-15 10:05:22 +00:00
Jeff Gilbert (:jgilbert)
572f0f08a8 Bug 1305540 - Shadow buffer state instead of querying GL. - r=ethlin
MozReview-Commit-ID: 5Q1w8MKi68C
2016-09-28 12:45:41 -07:00
Jeff Gilbert (:jgilbert)
d74696d42b Bug 1305540 - Lazily bind PBO targets. - r=ethlin
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00
Alexandre Lissy
07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Lee Salzman
632d270fe0 Bug 1305312 - write putImageData pixels as opaque for opaque canvas. r=jrmuizel
MozReview-Commit-ID: 5mVzeNwY28u
2016-09-27 17:31:13 -04:00
Carsten "Tomcat" Book
762cd18602 Merge mozilla-central to autoland 2016-09-28 16:52:13 +02:00
James Cheng
48efb9caad Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE

--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
Jonathan Kew
cbbe3d0e74 Bug 1304353 - part 1 - Set up the DrawOptions appropriately when painting canvas text for FILL, not only for STROKE. r=bas 2016-09-23 13:38:06 +01:00
Jeff Gilbert (:jgilbert)
d2726dd4d7 Bug 1300946 - TF test passes on Windows.
MozReview-Commit-ID: UenZOpwe9c
2016-09-22 19:13:23 -07:00
Jeff Gilbert (:jgilbert)
f349254d5d Bug 1300946 - Only clear TFO indexed bindings on delete if TFO is inactive. - r=ethlin
MozReview-Commit-ID: JNG2I3saqva
2016-09-22 19:13:22 -07:00
Jeff Gilbert (:jgilbert)
517321c8c8 Bug 1300946 - Binding a deleted TFO should be INVALID_OP. - r=ethlin
MozReview-Commit-ID: 6TZsKiGHc5v
2016-09-22 19:13:22 -07:00
Jeff Gilbert (:jgilbert)
baf5383538 Bug 1300946 - Forbid simultaneous binding to TF and non-TF bind points. - r=jrmuizel 2016-09-22 19:13:21 -07:00
Jeff Gilbert
6b423ece44 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert
9f5c1ddc1d Bug 1300946 - GetCurrentBinding is the wrong approach. - r=jrmuizel
MozReview-Commit-ID: 866FkuUMMob
2016-09-22 19:13:20 -07:00
Jeff Gilbert (:jgilbert)
85fc358b50 Bug 1303879 - WebGL1 draw-buffers ext test passes on OSX.
MozReview-Commit-ID: 7a73AnIByi4
2016-09-22 19:13:20 -07:00
Jeff Gilbert
9527a1fad7 Bug 1303879 - Refresh DrawBuffers and ReadBuffer to handle GL4.0 and below. - r=mtseng
GL4.0 and below requires that framebuffers are incomplete if any DrawBuffers/ReadBuffer-selected
buffers have no image attached.

MozReview-Commit-ID: 8SFiy2tvgPT
2016-09-22 19:13:20 -07:00
Jeff Gilbert
29c556989a Bug 1303879 - Explicitly nuke attachment points. - r=mtseng
MozReview-Commit-ID: Gd9tFq3ZAtm
2016-09-22 19:13:19 -07:00
Jeff Gilbert
9cf1f83f01 Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert
98e4b9e9f2 Bug 1303879 - Disallow NONE GetFramebufferAttachmentParameter. - r=mtseng
MozReview-Commit-ID: GizkMvHb7FG
2016-09-22 19:13:18 -07:00
Jeff Gilbert
1f4f2d7e46 Bug 1303879 - fb->ReadBuffer(BACK) is INVALID_OP. - r=mtseng
MozReview-Commit-ID: F3T4qZcETr5
2016-09-22 19:13:18 -07:00
Jeff Gilbert
3cdd326b85 Bug 1303879 - FramebufferTexture2D doesn't always accept DEPTH_STENCIL. - r=mtseng
MozReview-Commit-ID: 4f4r3CtmPde
2016-09-22 19:13:17 -07:00
Jeff Gilbert
9021ce93eb Bug 1303879 - Validate attachments inside ScopedResolveTextures. - r=mtseng
MozReview-Commit-ID: 7HLiUV9QcY4
2016-09-22 19:13:17 -07:00
Jeff Gilbert
15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert
5ca4e283fa Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
Markus Stange
3003c70285 Bug 1298552 - Call UpdateFilter whenever the canvas's IsWriteOnly state changes. r=jrmuizel
MozReview-Commit-ID: 2CqWhmyzUZc

--HG--
extra : rebase_source : df8b033263e16e36daca32437ac009800ca520b0
2016-08-26 20:21:34 -04:00
Sebastian Hengst
548f7778a1 Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
Ethan Lin
20b88c7843 Bug 1301551 - Remove unnecessary debug lines. r=nical 2016-09-16 10:33:26 +02:00
Nicolas Silva
f4d4ceeeed Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280 2016-09-16 10:13:19 +02:00
Ethan Lin
bb3e5efbec Bug 1301551 - Don't do anti-alias if 'imageSmoothingEnabled' is false. r=bas 2016-09-09 03:04:00 -04:00
Milan Sreckovic
e13a243ec1 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
Daosheng Mu
d4b168679c Bug 1302589 - Unmark skip-if of drawingbuffer-static-canvas-test for Win 8; r=ethlin, r=jgilbert
MozReview-Commit-ID: 6sgVrU6XvfU

--HG--
extra : transplant_source : %CF%CA%C5c8%1Ej%FB%B2Z%05%95%3B%FEU%E4%14b%C5%80
2016-09-13 16:58:48 +08:00
Ethan Lin
1a766ef2c1 Bug 1301803 - Add gfxCriticalNote for glGetActiveAttrib. r=jgilbert 2016-09-13 19:13:00 +02:00
Carsten "Tomcat" Book
9a2448ee1c Merge mozilla-central to mozilla-inbound 2016-09-14 12:11:09 +02:00
Carsten "Tomcat" Book
d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Benoit Girard
fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
George Wright
3480df735c Bug 1241865 - Disable canvas-2d-pixels memory reporter as it currently reports inaccurate values. r=nical 2016-09-13 23:03:09 -04:00
Daosheng Mu
9f5625a417 Bug 1300508 - Fix conformance fails for Windows 10; r=ethlin,jgilbert
MozReview-Commit-ID: 6kR4Xfgo2Vo

--HG--
extra : rebase_source : 741415a1d3688a37ec7a6b41f4ec71edcc7c6b2b
2016-09-13 22:25:47 +08:00
David Anderson
62129d7cb4 Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
kaku@mozilla.com
9a1c3746b2 Bug 1299718 part 3 - call MarkAsContentSource() at where using video element as a source; r=gerald,kamidphish,mtseng
MozReview-Commit-ID: Kg6UpcsCi0P
2016-09-14 15:50:29 +10:00
Nicolas Silva
918fc7f847 Bug 1298373 - Clear the transform when resetting the canvas target state. r=Bas 2016-09-12 16:47:13 +02:00
Morris Tseng
2af134acaf Bug 1297965 - fail-if transform_feedback test case. r=jgilbert
MozReview-Commit-ID: AGC9lu8jF0A
2016-09-12 17:39:54 +08:00
Morris Tseng
fbe0056e79 Bug 1297965 - Use ANGLE for WebGL2. r=jgilbert
MozReview-Commit-ID: 83zhQ5rTdbi
2016-09-12 17:39:54 +08:00
Phil Ringnalda
cb86e22f16 Bug 1285531 - Skip all webgl reftests on Android for causing memory corruption resulting in crashes, often in later non-webgl tests, a=unfortunatesituation 2016-09-10 15:03:38 -07:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
kearwood
a3d9112f3c Bug 1296446 - Do not render VR frames until a WebGLContext has returned a mirroring layer r=jgilbert
- Fixes a crash that occurred when WebVR frames were rendered prior to
  setting up the WebGLContext for mirroring back to the 2d display.

MozReview-Commit-ID: Fq4c2287KBL

--HG--
extra : rebase_source : e0e0416f1d6a5f9058c7ed89581b700f32712e72
2016-09-08 14:16:07 -07:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Wes Kocher
14246ed95a Backed out 7 changesets (bug 1298938) for mass leaks a=bustage CLOSED TREE
Backed out changeset d710b5ac1e13 (bug 1298938)
Backed out changeset df832e32e7aa (bug 1298938)
Backed out changeset 3f6883401be4 (bug 1298938)
Backed out changeset e43fc0029b90 (bug 1298938)
Backed out changeset 6dd0b4b22b23 (bug 1298938)
Backed out changeset 81e994db6b8c (bug 1298938)
Backed out changeset a757098353c6 (bug 1298938)
2016-09-08 13:28:14 -07:00
David Anderson
91559fcffe Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 47d1a0b3da521d81da9ffea7e259104b508b7415
2016-09-08 11:29:31 -07:00
Jeff Gilbert
06b3ddf5fd Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
MozReview-Commit-ID: DMUoG23WTmr
2016-09-08 11:34:32 -07:00
Nicolas Silva
56e5119c61 Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Morris Tseng
e254ff4fab Bug 1297924 - Remove passed tests from mochitest-errata. r=jgilbert
MozReview-Commit-ID: HcINPBpUICV
2016-09-08 16:28:30 +08:00
Morris Tseng
471ef4a5a8 Bug 1297924 - Update shader validator due to interface change. r=jgilbert
MozReview-Commit-ID: 7d8bX6ZFOcL
2016-09-08 16:28:30 +08:00
Carsten "Tomcat" Book
1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Nathan Froyd
bfce0c9a55 Bug 1300124 - make MurmurHash3.cpp compile with clang-cl; r=bkelly
Including headers inside anonymous namespaces, especially standard headers,
is super-unusual; let's just move the header to the toplevel instead.

MozReview-Commit-ID: CNykWQA5ndY

--HG--
extra : rebase_source : e5011cd18c1a0d31d4ae15ae3f3697eafac5f575
2016-09-06 15:46:01 -04:00
Andi-Bogdan Postelnicu
a67d0235f7 Bug 1300757 - log error message if SkiaGL DrawTarget fails. r=baku
MozReview-Commit-ID: EQqXFp3W79X

--HG--
extra : rebase_source : 2074a52d765f3e17e63bd413aa66c2b0cf3f2a3a
2016-09-06 15:31:08 +03:00
Thomas Wisniewski
95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
David Anderson
1c2785873c Refactor CompositableClient memory management. (bug 1299375 part 2, r=nical) 2016-09-02 16:08:49 -07:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Ethan Lin
caa7955f57 Bug 1299062 - Add crashtest. r=nical
--HG--
extra : rebase_source : 12d12c4b5adf0acac1762f769d41dd7f6b4f5495
2016-09-02 08:12:56 -04:00
Daosheng Mu
2653de86d8 Bug 1295061 - Enable WebGL 2 conformance tests for Windows 8; r=ethlin,jgilbert
MozReview-Commit-ID: L2gvpCWHBCn

--HG--
extra : rebase_source : 86777ff702ee5e45fb13088fd8a53334bb3a0ee7
2016-08-17 13:41:17 +08:00
Daosheng Mu
d60a93dc85 Bug 1299057 - Remove EXT_disjoint_timer_query test for WebGL 2. r=mtseng
MozReview-Commit-ID: 8gkhXhdywfd

--HG--
extra : rebase_source : 6e113cd7c3637c0940c5ad456d88e91ca0c43a9d
2016-08-31 16:25:15 +08:00
Nicolas Silva
47e7bc67f9 Bug 1298345 - Refactor CanvasRenderingContext2D's texture allocation code. r=Bas 2016-09-01 15:51:09 +02:00
Iris Hsiao
05332fde9d Backed out changeset 1c9f6480b0e4 (bug 1297924) 2016-09-07 16:44:28 +08:00
Iris Hsiao
acbc117ef8 Backed out changeset 25f7b5f0dee3 (bug 1297924) for webgl test_conformance__textures__misc__copy-tex-image-and-sub-image-2d.html failure 2016-09-07 16:44:20 +08:00
Morris Tseng
467b24625f Bug 1297924 - Remove passed tests from mochitest-errata. r=jgilbert
MozReview-Commit-ID: HcINPBpUICV
2016-09-07 14:09:08 +08:00
Morris Tseng
49fa50f67b Bug 1297924 - Update shader validator due to interface change. r=jgilbert
MozReview-Commit-ID: 7d8bX6ZFOcL
2016-09-07 14:09:08 +08:00
Ethan Lin
3ead7f93ab Bug 1299062 - Check if drawtarget valid. r=nical 2016-08-31 22:43:47 -04:00
Daosheng Mu
eb92c263a7 Bug 1299055 - Update conformance2/glsl3/array-complex-indexing.html. r=mtseng
MozReview-Commit-ID: 63PQyvuYfda

--HG--
extra : transplant_source : J%98%5E%CBU%DAd%8A%EC%01kq%9E%868%AE%D1%CAP%EE
2016-08-30 13:18:01 +08:00
Milan Sreckovic
ff3ca93c38 Bug 1287316 - Release assert or deal with empty arrays. r=mstange
--HG--
extra : rebase_source : 07b022071bf63b213f78d361d18464cbcbf6b562
2016-08-30 18:38:30 -04:00
Nicolas Silva
b448411938 Bug 1294351 - Move restoring the canvas clip stack to its own method and early return form EnsureTarget. r=Bas 2016-08-26 14:31:58 +02:00
George Wright
2a15ab61ce Bug 1299847 - Re-fuzz test_bitmaprenderer.html with updated values now that Skia is the default content backend on Android r=lsalzman 2016-09-06 14:24:27 -04:00
Nicolas Silva
ebb3c8a52f Bug 1298345 - Dead code warning fix. r=njn 2016-09-06 13:19:11 +02:00
Wes Kocher
f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Ryan VanderMeulen
e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Andi-Bogdan Postelnicu
b7451091eb Bug 1297054 - remove null check in CanvasRenderingContext2D::InitializeWithDrawTarget. r=jrmuizel
MozReview-Commit-ID: GA3PntlpxBU

--HG--
extra : rebase_source : ac822ae25b9d861da5a196734d09a8a507a16570
2016-08-23 11:41:21 +03:00
Milan Sreckovic
ee08a6629f Bug 1297181: More information when accelerated canvas creation fails. r=mchang
MozReview-Commit-ID: AjhVkngSkHK

--HG--
extra : rebase_source : 728495351c705adee280c59042c5196cdc2bb2e4
2016-08-22 17:47:54 -04:00
Ryan VanderMeulen
69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Nicholas Nethercote
314169f107 Bug 1297544 - Remove dom/canvas/WebGLContextReporter.cpp. r=jrmuizel.
This file is unused, and its contents are a subset of the contents of
dom/canvas/WebGLMemoryTracker.cpp. There must have been a mistake made while
renaming the file in the past, or something like that.

--HG--
extra : rebase_source : c6b8346123c195f21bd396e22fd2b55bdbf51bfd
2016-08-24 08:52:01 +10:00
Ryan VanderMeulen
2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Nicholas Nethercote
c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Kearwood (Kip) Gilbert
199db0ebbc Bug 1296745 - Clean up WebGLContext r=jgilbert
MozReview-Commit-ID: B6xazNgeJ9A

--HG--
extra : rebase_source : b011fed21cebb0c5b9bf5eea4e2b58b4a85e83b6
2016-08-19 14:44:37 -07:00
Andreas Pehrson
dba71afe5e Bug 1259788 - Add video content test for captureStream of MediaElement playing a MediaStream. r=jib
MozReview-Commit-ID: F6X0E0VeqP9

--HG--
extra : rebase_source : d15ab649de706aa374112d8d7a99cb276de8343c
2016-08-18 17:37:19 +02:00
Kan-Ru Chen
b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Ethan Lin
06cc318190 Bug 1296166 - Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageData. r=nical 2016-08-22 18:58:00 -04:00
Ethan Lin
5a7af1a426 Bug 1293970 - Avoid copy in CanvasRenderingContext2D::PutImageData and DrawWindow. r=nical 2016-08-16 20:18:00 -04:00
Wes Kocher
4c4e51ded0 Merge m-c to inbound, a=merge 2016-08-19 10:18:01 -07:00
Geoff Brown
97d7d7a146 Bug 1296651 - Avoid Win7 timeout in test_conformance__extensions__oes-texture-float-with-video.html; r=jmaher,a=ryanvm 2016-08-19 10:54:12 -06:00
Geoff Brown
2f25ac86fa Bug 1296644 - Allow test_2_conformance__canvas__rapid-resizing.html to pass on Win 7; r=jmaher,a=ryanvm 2016-08-19 10:54:11 -06:00
Nicolas Silva
0923b0fd39 Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas 2016-08-19 12:00:26 +02:00
Jonathan Kew
95a82f84cc Bug 1280887 - patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats 2016-08-19 13:14:22 +01:00
Sebastian Hengst
7ab46a480a Backed out changeset 775fa3ede160 (bug 1294351) for failing in crashtest 647480.html. r=backout 2016-08-18 12:50:56 +02:00
Nicolas Silva
8173818111 Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas 2016-08-17 14:39:03 +02:00
Wes Kocher
07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Edwin Flores
29a30711a0 Bug 1272123 - Limit the size of CanvasRenderingContext2D::mStyleStack - r=mstange 2016-08-17 09:26:11 +01:00
Ethan Lin
18475abfbc Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-15 23:54:00 -04:00
Phil Ringnalda
54ad5f454e Back out 6493296521fb (bug 1294607) for crashtest crashes in 1246775-1.html 2016-08-15 20:54:50 -07:00
Ethan Lin
93ca898ab6 Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-11 20:26:00 -04:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Jeff Gilbert
ae6d979f8a Bug 1293845 - Update tests to handle new webidl.
MozReview-Commit-ID: 7hcluLAw7gx
2016-08-15 16:42:31 -07:00
Jeff Gilbert
aed6c57564 Bug 1293845 - Handle zero-size TexSubImage. - r=mtseng
MozReview-Commit-ID: J4cT3oqPTLa
2016-08-15 16:42:28 -07:00
Jeff Gilbert
34aa7ab5f7 Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-15 16:42:25 -07:00
Jonathan Chan
9c62a2c11c Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Ethan Lin
b29de863bc Bug 1293968 - Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageBuffer. r=nical
--HG--
extra : rebase_source : de0f1bb16639d0bc358b373636404d66a4eb7d1a
2016-08-11 23:46:00 -04:00
vincentliu
e73e0cf5da Bug 1286458 - Add crashtest. r=lsalzman
---
 dom/canvas/crashtests/1286458-1.html  | 20 ++++++++++++++++++++
 dom/canvas/crashtests/crashtests.list |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 dom/canvas/crashtests/1286458-1.html
2016-08-15 16:01:34 +08:00
vincentliu
1000cd88ac Bug 1283113 - Add crashtest. r=milan
---
 dom/canvas/crashtests/1283113-1.html  | 25 +++++++++++++++++++++++++
 dom/canvas/crashtests/crashtests.list |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 dom/canvas/crashtests/1283113-1.html
2016-08-15 15:07:42 +08:00
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Jonathan Chan
4b87f11bd9 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc
1794619188 Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE

--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Sebastian Hengst
765223d123 Backed out changeset ca7b62d9efb7 (bug 1293845) 2016-08-13 12:38:25 +02:00
Sebastian Hengst
78c59974bb Backed out changeset b2cad6d22d75 (bug 1293845) 2016-08-13 12:38:21 +02:00
Sebastian Hengst
d8a319fe07 Backed out changeset 2b9a31603e34 (bug 1293845) 2016-08-13 12:38:17 +02:00
Jeff Gilbert
6434d6daf4 Bug 1293845 - Update tests to handle new webidl.
MozReview-Commit-ID: 7hcluLAw7gx
2016-08-12 18:08:00 -07:00
Jeff Gilbert
70dfbdbec9 Bug 1293845 - Handle zero-size TexSubImage. - r=mtseng
MozReview-Commit-ID: J4cT3oqPTLa
2016-08-12 18:07:57 -07:00
Jeff Gilbert
fb75e3bc05 Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-12 18:07:54 -07:00
Jeff Gilbert
7129a3b287 Bug 1290634 - Use idealUnpack with CopyTexImage, and always respec now that ZeroTextureData doesn't support respec. - r=mtseng
MozReview-Commit-ID: HYzTfzLxF3X
2016-08-12 17:48:14 -07:00
Jeff Gilbert
02edeadd27 Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-12 17:48:11 -07:00
Kearwood (Kip) Gilbert
434f167559 Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Jan de Mooij
c33bac8363 Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence 2016-08-11 14:39:23 +02:00
Nicholas Nethercote
bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicolas Silva
ed272011eb Bug 1292545 - Don't skip clearing the canvas because of W(1) failures on Mac. 2016-08-10 17:00:25 +02:00
Thomas Wisniewski
1fbaa831cc Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas 2016-08-04 15:05:50 -04:00
Nicolas Silva
be105fa438 Bug 1292870 - Record/replay clips and transforms properly in CanvasRenderingContext2D. r=Bas 2016-08-10 14:30:51 +02:00
Nicolas Silva
70353ca51d Bug 1292545 - Don't optimize away the canvas copy if clips are applied. r=ethlin 2016-08-10 14:30:48 +02:00
Nicolas Silva
bb3580a385 Bug 1293693 - FillRect covering the entire canvas can skip copying the previous frame if the composite op is SOURCE, but not DEST_OUT. r=ethlin 2016-08-10 14:30:45 +02:00
George Wright
288d758c6c Bug 1272878 - Fuzz test_bitmaprenderer.html because of differences in our two codepaths with antialiasing r=Morris 2016-08-09 14:15:34 -04:00
Nicolas Silva
2f14332a8d Bug 1292192 - Simplify CanvasRenderingContext2D::SwitchRenderingMode. r=gw280 2016-08-09 18:18:58 +02:00
Kaku Kuo
3d85eebfd7 Bug 1293878 part 1 - reject promise with InvalidStateError DOMException; r=smaug
MozReview-Commit-ID: 7c62WCJZWMz

--HG--
extra : rebase_source : c3f90b2a6e10557cc3c3f01e31aab8e70eca6a39
2016-08-16 11:52:58 +08:00
Carsten "Tomcat" Book
931e6d0f57 Backed out changeset c0b0e54e156e (bug 1290634) for webgl regressions 2016-08-05 11:00:13 +02:00
Carsten "Tomcat" Book
f40d4e1782 Backed out changeset 4b7cd5b39cca (bug 1290634) 2016-08-05 11:00:00 +02:00
Ethan Lin
51818f44f0 Bug 1289975 - Reuse canvas buffer when setting the same dimension. r=nical 2016-08-02 23:00:00 +02:00
Jeff Gilbert
b25f577275 Bug 1290634 - Use idealUnpack with CopyTexImage, and always respec now that ZeroTextureData doesn't support respec. - r=mtseng
MozReview-Commit-ID: HYzTfzLxF3X
2016-08-04 20:04:56 -07:00
Jeff Gilbert
bbed19189c Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-04 20:04:53 -07:00
Ethan Lin
41b10604fb Bug 1290628 - Change the assertion rule to prevent assert with large number. r=lsalzman 2016-08-02 19:47:00 +02:00
JerryShih
184798636b Bug 1236785 - return WebGLTexture cache value for GetTexParameter() call. r=mtseng
--HG--
extra : rebase_source : 6c5d6358f6f4ee0f3c5f4e09a2b17998657415e8
2016-08-02 20:20:00 +02:00
JerryShih
28b72fb07b Bug 1291612 - update webgl conformance test gl-object-get-calls.js. r=mtseng
Update webgl conformance test gl-object-get-calls.js to
24323861fe

--HG--
extra : rebase_source : 0cb51ef71f78d6e9d2ed8cf716b78e8d95f87927
2016-08-02 22:52:00 +02:00
JerryShih
3b6936ef71 Bug 1236394 - turn on gl-object-get-calls.html WebGL conformance test, a=mtseng
--HG--
extra : rebase_source : 8f4daf60eefcbb40915d455f90064bb973ad5ea5
2016-07-31 19:39:00 +02:00
Jeff Gilbert
974f4e1ea8 Bug 1291083 - Explicitly make WEBGL_depth_texture formats filterable. - r=mtseng
MozReview-Commit-ID: DaVpIHZZ0cI
2016-08-03 12:24:47 -07:00
Jeff Gilbert
901ccc3aeb Bug 1291083 - Textures with depth-compare should be filterable. - r=mtseng
This also makes depth-textures follow filtering rules, whereas before we
allowed filtered depth textures for WEBGL_depth_texture.

MozReview-Commit-ID: LxepCb4WEkr
2016-08-03 12:24:39 -07:00
Ethan Lin
5e6875ec23 Bug 1260599 - Change EXT_disjoint_timer_query mochitest status. r=mtseng
--HG--
extra : rebase_source : 2112d7b74e3fa83a0b0bf04991dcdb7f20b9b701
2016-08-01 20:14:00 +02:00
Ethan Lin
d775ae4e6e Bug 1260599 - Enable EXT_disjoint_timer_query extension on ANGLE. r=jgilbert
--HG--
extra : rebase_source : cd31f7ff2daa4fec743726fd2e1a04ca83820b5b
2016-07-17 19:37:00 +02:00
Jeff Gilbert
e7ad10dadf Bug 1290987 - #version needs to be on the first line. CLOSED TREE
MozReview-Commit-ID: D5FMDOKiSLY
2016-08-01 15:38:49 -07:00
Jeff Gilbert
1f38e7b76d Bug 1290987 - Don't skip shader validation or disable-angle in webgl-mochitest. - r=jrmuizel CLOSED TREE
MozReview-Commit-ID: FSqr4W5xOak
2016-08-01 14:13:29 -07:00
Jeff Gilbert
8ada226207 Bug 1290987 - s/enable-prototype-webgl2/enable-webgl/ - r=jrmuizel,mrbkap CLOSED TREE
MozReview-Commit-ID: 3EArs8BLTpK
2016-08-01 14:13:01 -07:00
Jeff Gilbert
336b801590 Bug 1289655 - Mark test.
MozReview-Commit-ID: 5jA9mZDRjYR
2016-08-01 01:20:12 -07:00
Jeff Gilbert
720b873197 Bug 1289655 - Use UINT32_MAX for drawArrays because of OSX. - r=mtseng
MozReview-Commit-ID: 8bB4DHGQRnB
2016-08-01 01:20:12 -07:00
Jeff Gilbert
9125182b21 Bug 1289655 - Add primitive restart for WebGL 2. - r=mtseng
MozReview-Commit-ID: 6SfI8yfROGI
2016-08-01 01:20:12 -07:00
Jeff Gilbert
ba54e6b7a0 Bug 1289655 - Organize GLFeature checks for WebGL2. - r=mtseng
MozReview-Commit-ID: 7Ci6PqVkvM0
2016-08-01 01:20:12 -07:00
Iris Hsiao
2a17847230 Backed out changeset 6f50eb01832c (bug 1286458) for Reftest failures 2016-08-01 15:18:46 +08:00
vincentliu
a9ad0d0841 Bug 1286458 - Add crashtest. r=lsalzman
---
 dom/canvas/crashtests/1286458-1.html  | 20 ++++++++++++++++++++
 dom/canvas/crashtests/crashtests.list |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 dom/canvas/crashtests/1286458-1.html
2016-08-01 13:40:16 +08:00
Carsten "Tomcat" Book
fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Nicolas Silva
1fdb65d654 Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol 2016-07-29 20:19:28 +02:00
JerryShih
98b9a25b33 Bug 1290328 - Return null for webgl GetActiveUniformBlockName() error. r=jgilbert 2016-07-28 18:21:00 -04:00
JerryShih
ba521880fb Bug 1290032 - return null for InvalidEnum. r=jgilbert
--HG--
extra : rebase_source : ae3d4fda39bee8441105b593a2d2c6b2c4003e29
2016-07-28 17:37:00 +02:00
JerryShih
609c57770f Bug 1290018 - update webgl conformance tests. r=jgilbert
Add DEPTH_STENCIL to depth-renderable list.
https://github.com/KhronosGroup/WebGL/pull/1945

--HG--
extra : rebase_source : 8a983a7eb166cb60e31b0b0731fc67066199635d
2016-07-28 18:15:00 +02:00
Jeff Gilbert
0ee365e60a Bug 1289653 - Mark tests.
MozReview-Commit-ID: IWB8gBthP2v
2016-07-28 14:37:41 -07:00
Jeff Gilbert
d6af553fb8 Bug 1289653 - Disallow null pixels in texSubImage. - r=mtseng
MozReview-Commit-ID: HgbJEhykEda
2016-07-28 14:37:41 -07:00
Jeff Gilbert
2d3a353980 Bug 1289652 - Disabled arrays don't change getVertexAttrib for SIZE,TYPE. - r=mtseng
MozReview-Commit-ID: 71RJlIFayNH
2016-07-28 14:33:38 -07:00
Ethan Lin
c0b8ab7939 Bug 1287652 - Add crash test case. r=mchang
--HG--
extra : rebase_source : de4ebae4ca2e7981c1ad21e1ce7834df2dc81d89
2016-07-20 19:10:00 -04:00
Wes Kocher
5cc2b19359 Backed out 2 changesets (bug 1260599) for winxp mochitest gl bustage
Backed out changeset 4e066314768c (bug 1260599)
Backed out changeset d50028181044 (bug 1260599)
2016-07-28 10:53:22 -07:00
Lee Salzman
99a26ab433 Bug 1284578 - add crashtest. r=me 2016-07-28 13:38:50 -04:00
Lee Salzman
c316de06c2 Bug 1284356 - add crashtest. r=me 2016-07-28 13:34:28 -04:00
Ethan Lin
6ab3df37e7 Bug 1260599 - Change EXT_disjoint_timer_query mochitest status. r=mtseng
--HG--
extra : rebase_source : 1f2e1e83477d7baf8d35eafe342090a38c8eaef0
2016-07-26 12:51:32 +08:00
Ethan Lin
29ace485e1 Bug 1260599 - Enable EXT_disjoint_timer_query extension on ANGLE. r=jgilbert
--HG--
extra : rebase_source : debccc5664b65f568f3cb82f6434108bb9092045
2016-07-26 12:51:32 +08:00
Sebastian Hengst
f140568d4d Bug 1242165 - Disable another conformance/typedarrays webgl test due to spec changes to fix failing webgl tests (and requested by evilpie on IRC). r=me 2016-07-28 10:06:33 +02:00
Jeff Gilbert
6502268813 Bug 1242165 - Disable conformance/typedarrays/data-view-test due to spec changes. 2016-07-28 00:24:17 +02:00
Nicolas Silva
a4ee782267 Bug 1289380 - Simplify PersistentBufferProviderShared. r=edwin 2016-07-27 16:50:20 +02:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Wes Kocher
cef61ca9ed Merge m-c to autoland, a=merge 2016-07-26 16:54:33 -07:00
Nicolas Silva
48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Benoit Girard
fecbc5166c Bug 1288746 - Handle missing WebGL failure IDs. r=jrmuizel
MozReview-Commit-ID: 3kdr8Dwinqm

--HG--
extra : rebase_source : dea04b6d4288e305bb3bb2b8f3965e8f1f713ef9
2016-07-22 13:26:05 -04:00
Ethan Lin
e89d62b83f Bug 1279986 - Make WebGL Uniform*, UniformMatrix* and VertexAttrib* accept SharedArrayBuffer. r=jgilbert 2016-07-19 20:00:00 +02:00
Morris Tseng
b53cf295ac Bug 1247977 - Handle FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: GiwoIcFsv2k
2016-07-27 09:42:09 +08:00
Sotaro Ikeda
2d11b798fa Bug 1284803 part 10 - Add toleranes to testColorConversions() r=jrmuizel 2016-07-26 00:02:19 -07:00
Jeff Gilbert
4f4b4cb007 Bug 1288638 - Unconditionally SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX. - r=mtseng
MozReview-Commit-ID: CPgJTTV8vAA
2016-07-25 20:01:09 -07:00
Jeff Gilbert
66ac1e0650 Bug 1288638 - Update shader validator usage. - r=mtseng
MozReview-Commit-ID: 5bSUacggvR8
2016-07-25 20:01:09 -07:00
Iris Hsiao
60bb75129e Backed out changeset 65e1219ade06 (bug 1284803) 2016-07-26 10:20:57 +08:00
Sotaro Ikeda
f660774b3d Bug 1284803 part 10 - Add toleranes to testColorConversions() r=jrmuizel 2016-07-25 18:23:14 -07:00
Jeff Gilbert
c6bdac40c5 Bug 1288649 - 2-arg ctors shouldn't be explicit.
MozReview-Commit-ID: 8yZeVcOj3Et
2016-07-25 14:46:25 -07:00
Jeff Gilbert
407bc3c38c Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
a4dadbacbe Bug 1280499 - Mark tests.
MozReview-Commit-ID: DnVgcJvZ9NM
2016-07-25 13:55:24 -07:00
Jeff Gilbert
ff9844ee32 Bug 1280499 - Allow SKIP_ROWS+height>IMAGE_HEIGHT and fix paranoid uploading. - r=jrmuizel
Top-of-tree test is green now.

MozReview-Commit-ID: IbCTHK62qGT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
3740e5150b Bug 1280499 - Support paranoid uploading for nVidia. - r=jrmuizel
MozReview-Commit-ID: 3CMNoHiBACT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
e4c382d96e Bug 1280499 - Unlock UNPACK_BUFFER. - r=ethlin
MozReview-Commit-ID: 5RbFNeKsvqF
2016-07-25 13:52:41 -07:00
Jeff Gilbert
41c0b57871 Bug 1280499 - Implement PBOs for textures. - r=jrmuizel
MozReview-Commit-ID: 3FCinT9hS8j
2016-07-25 13:52:41 -07:00
Jeff Gilbert
3b7adaea8f Bug 1280499 - Add stubs and forwards. - r=ethlin
MozReview-Commit-ID: BZUAGCjnINM
2016-07-25 13:52:41 -07:00
Lee Salzman
db08b356a2 Bug 1288872 - verify cairo_scaled_font creation succeeds in SkFontHost_cairo. r=mchang
MozReview-Commit-ID: JKRiyQgi9Y2
2016-07-22 21:23:56 -04:00
Sotaro Ikeda
2c8122c501 Bug 1250914 - Create gl texture for each video frame drawing to SkiaGL canvas r=jrmuizel 2016-07-22 18:10:13 -07:00
JerryShih
a9bb41be63 Bug 1288351 - Handle gl.getFramebufferAttachmentParameter() FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE query for DS format. r=jgilbert 2016-07-21 18:37:00 -04:00
JerryShih
7712664858 Bug 1288598 - Handle gl.getFramebufferAttachmentParameter() call for default framebuffer. r=jgilbert 2016-07-22 07:42:00 -04:00
Ethan Lin
cef86a68d7 Bug 1285086 - Enable related webgl conformance test. r=jgilbert
--HG--
extra : histedit_source : 2923e5c992879ae732843982e03b18bb676bcbef
2016-07-21 07:32:00 -04:00
Ethan Lin
0931d35c4c Bug 1285086 - Turn on WebGLSampler. r=jgilbert
--HG--
extra : histedit_source : 9a788a293cbf8fc373c9bf7dbce7596f845e460d
2016-07-21 07:31:00 -04:00
Andrea Marchesini
60ab8339e0 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Nicolas Silva
e4a4580aeb Bug 1285263 - Restore clips with the proper transform when in CanvasRenderingContext2D::EnsureTarget. r=bas 2016-07-21 11:02:12 +02:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
0e01bff3d3 Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
--HG--
extra : rebase_source : 12fe2e27927b16c971667ecb4fa625f67b3f1be5
2016-07-21 08:03:23 +02:00
Lee Salzman
91cc2c640d Bug 1287515 - fix crashtest for d2d. r=me 2016-07-21 01:05:31 -04:00
Ethan Lin
dbede03dce Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert 2016-07-06 20:42:00 +02:00
Lee Salzman
6323d3129d Bug 1287515 - limit the number of points in SkDashPathEffect::asPoints. r=mchang
MozReview-Commit-ID: 4QI82EfsHh6
2016-07-20 23:35:35 -04:00
Ethan Lin
c96a4b134e Bug 1285100 - Enable the webgl conformance test. r=pchang
--HG--
extra : rebase_source : d78dbd87068ff72ed20afbb8aa5062585b4f6eb1
2016-07-21 07:24:00 -04:00
Ethan Lin
e2381526b7 Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert
--HG--
extra : rebase_source : 7a844e306abd398de96142a3192eadd009864ccd
2016-07-06 20:42:00 -04:00
Benoit Girard
fbfff14ea5 Bug 1289813 - split out safe mode from FEATURE_FAILURE_WEBGL_DISABLED. r=jrmuizel
MozReview-Commit-ID: Jmp911jYjix

--HG--
extra : rebase_source : 825eaae61c3a685ff2853eba3820a02087779dd5
2016-07-29 14:28:51 -04:00
Jeff Gilbert
e65989db46 Bug 1287801 - Mark test webgl2 counterpart.
MozReview-Commit-ID: 5fjj15YV7ld
2016-07-19 10:25:01 -07:00
Ethan Lin
0334d84e82 Bug 1279997 - Improve the check of alpha premult in TexOrSubImage. r=jgilbert 2016-07-18 19:37:00 +02:00
Carsten "Tomcat" Book
80839e9ddd Backed out changeset 3b24fcb598fd (bug 1285692) 2016-07-19 14:15:59 +02:00
Jeff Gilbert
1a452594b3 Bug 1286459 - Hotfix. CLOSED TREE
MozReview-Commit-ID: 8VrGes96FLs
2016-07-26 12:48:55 -07:00
Jeff Gilbert
bd589e4b43 Bug 1286459 - Be very careful about nulling WebGLContext::gl. - r=jerry
MozReview-Commit-ID: 3evG45zLT5j
2016-07-26 12:31:02 -07:00
Jeff Gilbert
21852bdb47 Bug 1285692 - Skip test to try to stem the bleeding.
MozReview-Commit-ID: EImhK07oCFm
2016-07-19 00:50:57 -07:00
Jeff Gilbert
0dab237072 Bug 1136455 - Mark test as still failing on OSX.
MozReview-Commit-ID: D8kHzzMVwlC
2016-07-19 00:35:57 -07:00
Jeff Gilbert
2171d30c9b Bug 1136416 - Mark test.
MozReview-Commit-ID: 4EwCTPkcJF3
2016-07-18 22:52:02 -07:00
Jeff Gilbert
088b64c968 Bug 1136416 - Hack to pass the context-lost test for now. - r=ethlin
MozReview-Commit-ID: 2sue4UcB1Y4
2016-07-18 22:52:02 -07:00
Jeff Gilbert
abcfdebc6d Bug 1136455 - Mark passing test.
MozReview-Commit-ID: 3HaHgx5cLOG
2016-07-18 19:58:13 -07:00
Jeff Gilbert
9992bedd7e Bug 1136455 - Validate built-in varyings for invariance. - r=mtseng
MozReview-Commit-ID: KxIxc9MhPp8
2016-07-18 19:58:13 -07:00
vincentliu
acbc420513 Bug 1281800 - The API should return an empty array if maxWidth was provided but is less than or equal to zero or equal to NaN. r=jrmuizel
---
 dom/canvas/CanvasRenderingContext2D.cpp | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
2016-07-19 10:52:50 +08:00
Wes Kocher
228dfe2a90 Merge m-c to inbound a=merge CLOSED TREE 2016-07-18 15:05:16 -07:00
Jeff Gilbert
65bed54efc No bug - Mark now-passing tests as no longer failing. - a=kwierso
MozReview-Commit-ID: K6T497r6nEb
2016-07-18 14:55:25 -07:00
Wes Kocher
02b63e9ff0 Backed out 12 changesets (bug 1284803) for near permafailing Windows Wr tests a=backout CLOSED TREE
Backed out changeset 80468414501e (bug 1284803)
Backed out changeset 08d2e46308fd (bug 1284803)
Backed out changeset 6bacfaadbc29 (bug 1284803)
Backed out changeset 28e0ca5cb68e (bug 1284803)
Backed out changeset 9ea43addc3af (bug 1284803)
Backed out changeset 3b11ba39748c (bug 1284803)
Backed out changeset b23773965e94 (bug 1284803)
Backed out changeset 6eb7bce6f4c1 (bug 1284803)
Backed out changeset 109f79e577a0 (bug 1284803)
Backed out changeset 52bd1efc6c1f (bug 1284803)
Backed out changeset fb3d8468b758 (bug 1284803)
Backed out changeset 92c15211f59b (bug 1284803)
2016-07-18 14:46:05 -07:00