Benoit Girard
864b19a70a
Bug 1272808 - Expose context creation error to telemetry. r=jgilbert
...
MozReview-Commit-ID: JQ4rHZf71RW
--HG--
extra : rebase_source : 7871e153914b76f7c8081b7529a2c02626bc7d2a
2016-05-20 13:14:15 -04:00
Wes Kocher
22462c932f
Backed out changeset 7502d9ef870f (bug 1268096) for gl test failures a=backout
2016-05-20 16:56:21 -07:00
Jeff Gilbert
a4214155c8
Bug 1268096 - Add regression test for tri-then-point drawing. - r=jrmuizel a=kwierso
2016-05-19 13:02:34 -07:00
Milan Sreckovic
17dda1461b
Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
...
MozReview-Commit-ID: 1rlHdDG4Cbw
--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
c85171ace9
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Jeff Muizelaar
6c2297a047
Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
...
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-12 10:39:43 -04:00
Morris Tseng
8d74a6e68f
Bug 1268155 - GetAsSourceSurface might return nullptr, let's handle it. r=jgilbert
...
MozReview-Commit-ID: 6uH9esA2PqC
2016-05-12 14:08:24 +08:00
JerryShih
cadb8c6cb7
Bug 1256572
- update DataSourceSurface usage. r=bas
...
Update for Moz2D interface change.
We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
Jeff Gilbert
80f726ea0b
Bug 1271478 - Implement WebGLContextCreationError. - r=jrmuizel,smaug,mtseng
2016-05-11 16:45:43 -07:00
Mason Chang
376575c614
Bug 1267260 - Change CanvasImageCache to lookup cache images based on imgIContainer instead of imgIRequest. r=seth
...
--HG--
extra : rebase_source : 872ee783a05d0319ed69ce3c494dbf2a3206e26d
2016-05-10 08:00:06 -07:00
Jeff Gilbert
4098575167
Bug 1270318 - Fixup WebGL extension requirements. - r=jrmuizel
2016-05-09 12:00:10 -07:00
Jeff Gilbert
3af240fd90
Bug 1229332 - Implement EXT_color_buffer_float. - r=jrmuizel
2016-05-04 16:39:02 -07:00
Ryan VanderMeulen
1fa3a59f0a
Bug 1270672 - Re-enable the webgl conformance suite on e10s. r=jgilbert
2016-05-07 00:52:00 -04:00
Joel Maher
ffec923436
Bug 1269872 - convert webgl related crashtests to mochitest. r=jgilbert
...
MozReview-Commit-ID: KaCuwJJPTmO
--HG--
extra : rebase_source : d6bffff07096c19c5bb4fd94004bec5f16e33fe9
extra : amend_source : 7cb1b494bf72c31b72c990e46b4dc9a89a072ac1
2016-05-05 10:22:33 -04:00
Morris Tseng
53583599cc
Bug 1268364 - Disable out-of-bounds-uniform-array-access.html on OSX 10.6. r=jgilbert
...
MozReview-Commit-ID: 7pJn7qEOYo8
2016-05-05 11:46:21 +08:00
Michael Kohler
0793a8cbff
Bug 1217031 - createPattern should not throw NS_ERROR_NOT_AVAILABLE if image usability check returns bad r=bz
...
MozReview-Commit-ID: 101uAYhcx3u
--HG--
extra : rebase_source : 1975f947176b61bb232348458ef7a0f485a0f479
2016-05-03 17:41:02 -07:00
Nathan Froyd
92ffe625a9
Bug 1260208 - part 1 - use C I/O facilities in TestWebGLElementArrayCache instead of C++ ones; r=BenWa
...
The libc++ included with the Android NDK does not seem to work correctly
with std::cerr; writing to it (or to std::cout, as confirmed by tests)
causes the process to hang indefinitely, causing test failures. Using
fprintf and stderr, however, seems to work correctly.
2016-05-03 09:13:49 -04:00
Carsten "Tomcat" Book
dabe843f8b
Backed out changeset d6cca05b4e9f (bug 1217031) for issues in 2d.pattern.image.incomplete.immediate.html
2016-05-03 12:20:24 +02:00
Michael Kohler
b68d05d398
Bug 1217031 - createPattern should not throw NS_ERROR_NOT_AVAILABLE if image usability check returns bad. r=bz
...
--HG--
extra : amend_source : e241dccd5b12b44cbc99467fa9a8d73ecfe5c584
2016-04-24 12:20:00 +02:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Lee Salzman
61d1a0da74
Bug 1265131, part 4 - fix tests for Skia m51 update. r=jrmuizel
2016-04-28 22:55:27 -04:00
Ethan Lin
a929c63894
Bug 1264214 - WebGL check the conflict name when LinkProgram. r=jgilbert
2016-04-28 06:10:00 -04:00
Bas Schouten
bb762a5da8
Bug 1265598: Deal with the possibility of a write map failing. r=kaku r=milan
...
MozReview-Commit-ID: KLrlKf6Silc
2016-04-28 13:22:32 +00:00
Bas Schouten
12035215b2
Bug 1266432: Use CopySurface in ImageBitmap::PrepareForDrawing even when using D2D 1.1. r=kaku
...
MozReview-Commit-ID: 4VjcaT5GwSu
2016-04-28 13:22:32 +00:00
Bas Schouten
17a1f926e2
Bug 1266390: Preserver mIsPremultipliedAlpha when creating an ImageBitmap from an existing ImageBitmap. r=kaku
...
MozReview-Commit-ID: 2p58Z9JUPe6
2016-04-28 13:22:31 +00:00
Sebastian Hengst
b578483c45
Backed out changeset 286171389d12 (bug 1264214) for unexpected passes in test_conformance__glsl__misc__shaders-with-name-conflicts. r=backout
2016-04-27 18:59:01 +02:00
JerryShih
77e1be0c84
Bug 1267100 - test case for webgl getFramebufferAttachmentParameter() call. r=jgilbert
2016-04-27 18:58:54 +02:00
JerryShih
dc3eae0de8
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
2016-04-27 18:58:47 +02:00
Sebastian Hengst
5fcb84c80e
Backed out changeset de77b0c64ad9 (bug 1267100) for unexpected passes in test_conformance__glsl__misc__shaders-with-name-conflicts.html. r=backout
...
de77b0c64ad9
2016-04-27 18:49:57 +02:00
Sebastian Hengst
5560e8ccb1
Backed out changeset f72ce6c9ec3f (bug 1267100)
2016-04-27 18:47:49 +02:00
JerryShih
1972cbd20e
Bug 1267100 - test case for webgl getFramebufferAttachmentParameter() call. r=jgilbert
...
--HG--
extra : rebase_source : a8f5b4d19b3a8f8803ac5d820fb205681436dbb7
2016-04-25 22:04:00 +02:00
JerryShih
eeaa88231c
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
...
--HG--
extra : rebase_source : d6a28a318fac9ba2712e9d4500eee2ae757780a1
2016-04-25 22:04:00 +02:00
Ethan Lin
9b75326cc2
Bug 1264214 - WebGL check the conflict name when LinkProgram. r=jgilbert
...
--HG--
extra : rebase_source : be2acb64cda6932174643802033c439a8fded28b
2016-04-24 23:39:00 +02:00
Morris Tseng
fa4e4a6fd2
Bug 1193526 - Add generated files. r=jgilbert
...
MozReview-Commit-ID: FX6wNAmtfUH
2016-04-27 11:55:46 +08:00
Morris Tseng
91b61fd363
Bug 1193526 - Update errata to mark all failures in 1.0.3 webgl conformance tests. r=jgilbert
...
MozReview-Commit-ID: 3sXVAcVByvh
2016-04-27 11:55:45 +08:00
Morris Tseng
455022580c
Bug 1193526 - Handle image.src being invalid. r=jgilbert
...
MozReview-Commit-ID: IhTC5kkiBu5
2016-04-27 11:55:45 +08:00
Morris Tseng
53a7c08931
Bug 1193526 - Handle image failing to load. r=jgilbert
...
MozReview-Commit-ID: viVuDjJkGH
2016-04-27 11:55:45 +08:00
Morris Tseng
adb83aa7cc
Bug 1193526 - Handle video failing to load. r=jgilbert
...
MozReview-Commit-ID: CBO2VQXsHuD
2016-04-27 11:55:45 +08:00
Morris Tseng
e79aaa8b81
Bug 1193526 - Rename built_in_varying_array_out_of_bounds to biv_array_oob. r=jgilbert
...
The name of some tests is too long and exceed maximum length of windows
path. So we rename it to shorter name.
MozReview-Commit-ID: 2Mp94FkUehd
--HG--
rename : dom/canvas/test/webgl-conf/checkout/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html => dom/canvas/test/webgl-conf/checkout/conformance/ogles/GL/biv_array_oob/biv_array_oob_001_to_001.html
rename : dom/canvas/test/webgl-conf/checkout/conformance/ogles/GL/built_in_varying_array_out_of_bounds/gl_Color_array_index_out_of_bounds_frag.frag => dom/canvas/test/webgl-conf/checkout/conformance/ogles/GL/biv_array_oob/gl_Color.frag
2016-04-27 11:55:45 +08:00
Morris Tseng
42adee6ebb
Bug 1193526 - Update tests to 1.0.3 from a8ffce2eb6906f3b910399de9ce82dc5538df95b. r=jgilbert
...
MozReview-Commit-ID: H4SQMlrx5ZP
2016-04-27 11:55:45 +08:00
Morris Tseng
0bb31aa671
Bug 1193526 - Update mochitest paths. r=jgilbert
...
MozReview-Commit-ID: 5oLPIdQCuAI
2016-04-27 11:55:42 +08:00
Morris Tseng
96090d52da
Bug 1193526 - Update all generator files for webgl conformance test 1.0.3. r=jgilbert
...
MozReview-Commit-ID: GfDBclBMKcP
2016-04-27 11:55:41 +08:00
Morris Tseng
7387ca5b1d
Bug 1193526 - Update conformance path and remove unused file. r=jgilbert
...
The folder name "webgl-conformance" is too long. Rename it to
"webgl-conf".
MozReview-Commit-ID: FPpYn7MkjFN
--HG--
rename : dom/canvas/test/webgl-conformance/always-fail.html => dom/canvas/test/webgl-conf/always-fail.html
rename : dom/canvas/test/webgl-conformance/generate-wrappers-and-manifest.py => dom/canvas/test/webgl-conf/generate-wrappers-and-manifest.py
rename : dom/canvas/test/webgl-conformance/mochi-single.html => dom/canvas/test/webgl-conf/mochi-single.html
rename : dom/canvas/test/webgl-conformance/mochi-wrapper.html.template => dom/canvas/test/webgl-conf/mochi-wrapper.html.template
rename : dom/canvas/test/webgl-conformance/mochitest-errata.ini => dom/canvas/test/webgl-conf/mochitest-errata.ini
rename : dom/canvas/test/webgl-conformance/mochitest.ini.template => dom/canvas/test/webgl-conf/mochitest.ini.template
2016-04-27 11:55:41 +08:00
Morris Tseng
6f5966c383
Bug 1193526 - Remove old conformance tests and generated files. r=jgilbert
...
MozReview-Commit-ID: 7kXV1e0Cgua
2016-04-27 11:55:41 +08:00
Bob Owen
c4ec1107e4
Bug 1258609: Initialize nsICanvasRenderingContextInternal with a DrawTarget instead of a gfxASurface. r=jrmuizel
...
MozReview-Commit-ID: JNQ9GWvDUSq
2016-04-21 10:30:38 +01:00
Ryan VanderMeulen
395004da77
No bug - Re-enable some more tests that were disabled on e10s without a tracking bug.
...
--HG--
extra : histedit_source : fa83d576e38f400a6ec395101ea34b58573676aa
2016-04-25 21:45:46 -04:00
Ryan VanderMeulen
1d760a3be1
Bug 1252677 - Re-enable the dom/canvas mochitests on Windows debug e10s.
...
--HG--
extra : histedit_source : 9da03a92ae41e0ef860e72930da3bd0fc636fc78
2016-04-25 21:45:46 -04:00
Jeff Gilbert
084156ef40
Bug 1186688 - Remove cached state check for DrawBuffer maximums, since it's invalid with min-cap mode. - r=jrmuizel
2016-04-25 17:50:43 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jeff Gilbert
8e4716b337
Bug 1266262 - Remove nearly-unused GLContext::mGLFormats. - r=jrmuizel
2016-04-25 13:17:25 -07:00
Jonathan Watt
6a7fdf9b55
No Bug - Remove some unnecessary SVGImageContext.h includes and add comments. r=sparky
2016-04-22 15:07:31 +01:00
Jeff Gilbert
ed674372da
Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel
2016-04-21 16:32:18 -07:00
Jeff Gilbert
9c3993e371
Bug 1263018 - Only update active prog info if linking active prog. - r=jrmuizel
2016-04-20 12:02:07 -07:00
Benoit Girard
85ba14a3e5
Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
...
MozReview-Commit-ID: JveFLuIcbaN
--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Daniel Holbert
d2514c163c
Backed out changeset d3aab3c4eb5f (Bug 1262265) for fatal GL-related assertion failures in debug reftest runs
...
MozReview-Commit-ID: BBmMY1dd1s7
2016-04-19 18:03:17 -07:00
Jeff Gilbert
642da66065
Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel
2016-04-19 16:19:31 -07:00
Jonathan Kew
cb1c20b3c3
Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel
2016-04-19 17:13:28 +01:00
Ryan VanderMeulen
6004e70ecd
Bug 1252348 - Re-enable more canvas mochitests on OSX debug e10s.
...
--HG--
extra : histedit_source : 25cb2191229277368e9744fbbc13c899fc33f585
2016-04-15 13:26:01 -04:00
Jeff Gilbert
a6f6f6cfee
Bug 1261179 - Don't fallback GLContextProviders in WebGL. - r=jrmuizel
2016-04-14 13:46:37 -07:00
Lee Salzman
4bda990954
Bug 1257717 - throw InvalidStateError when CreatePattern fails to snapshot source. r=jrmuizel
2016-04-14 16:20:12 -04:00
David Anderson
ef94ddb6f5
Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
...
--HG--
extra : rebase_source : c885b1db5ede6caa8b1e141d6d76769bac82b16c
2016-04-13 19:24:42 -04:00
Jeff Gilbert
3e01def8f3
Bug 1247810 - Redirect the enum query on Core profiles. - r=jrmuizel
2016-04-13 16:27:49 -07:00
Morris Tseng
d19790a5a2
Bug 1255434 - Add getGLError after each draw call. r=jgilbert
...
--HG--
extra : commitid : 1xY2FYTIyik
2016-04-13 16:53:26 +08:00
Kyle Huey
2709afd167
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Cameron McCormack
6b84ca3abb
Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Peter Chang
67129f0c74
Bug 1261320 - Check DataSurface is vaild before using, r=milan
...
MozReview-Commit-ID: 1uhNttyNAiq
--HG--
extra : rebase_source : 610106be8768e04460f6adf920f1b0f0ef0e2276
2016-04-11 17:45:09 +08:00
Wes Kocher
0e32f257b8
Backed out changeset 9438150c5258 (bug 1262265) for mass android test bustage CLOSED TREE
...
MozReview-Commit-ID: FsPsAyGT3Vi
2016-04-11 15:42:37 -07:00
Jeff Gilbert
1aef4bc738
Bug 1262265 - Cleanup InitWithPrefix. - r=jrmuizel
2016-04-11 15:01:35 -07:00
Wes Kocher
7d2cebe912
Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
...
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)
MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Ryan VanderMeulen
eedb7f6dc6
Bug 1252348 - Re-enable the dom/canvas tests on OSX debug e10s.
...
--HG--
extra : rebase_source : d21ccf3faa0754638fbbe14c4e7f490e37ce964c
2016-04-10 16:57:41 -04:00
Tobias Schneider
6e99e0d3f5
Bug 1262745 - Fix tests for Canvas CSS/SVG Filters. r=mstange
2016-04-07 11:16:00 -04:00
Tobias Schneider
9de749f7f5
Bug 1195968 - Check how CanvasFilterChainObserver accesses the CanvasRenderingContext2D. r=mstange
2016-04-09 15:43:14 -04:00
Tobias Schneider
9ab4d2075d
Bug 1163107 - Changes to font size not respected when using relative filter units. r=mstange
2016-04-07 00:14:00 -04:00
JerryShih
05a49a8451
Bug 1257593 - test case for webgl framebufferTexture2D() r=jgilbert
...
MozReview-Commit-ID: D2wWNoU1vnT
2016-04-07 14:14:45 -07:00
JerryShih
b0b6ed33f1
Bug 1252414 - test case for webgl2 ClearBufferXXX() r=jgilbert
...
MozReview-Commit-ID: GR4ObBla6Hh
2016-04-07 14:14:06 -07:00
Andreas Pehrson
1157ca945a
Bug 1208371 - Clear output canvas on each drawImage(). r=jib
...
Otherwise we'd risk reading old pixels in case we draw something
transparent.
MozReview-Commit-ID: LjNXE4Rmrmt
--HG--
extra : rebase_source : 229c883e362cc9e1d7b49479e46b01bbab329a46
2016-01-05 10:16:32 +08:00
Andreas Pehrson
c742b9dadf
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Jeff Gilbert
8bca05c326
Bug 1260944 - Fix ANGLE D3D WARP for WebGL. - r=jrmuizel
2016-04-06 13:47:25 -07:00
Milan Sreckovic
8d5d5a9811
Bug 1247977: More information when we hit the OpenGL error in FakeBlackTexture. r=jgilbert
...
MozReview-Commit-ID: I9RvZ9HD7NE
--HG--
extra : rebase_source : de438f3ab727d99f043ab46f2286289ecc11d28f
2016-04-01 10:13:25 -04:00
Wes Kocher
c4eb2702ab
Backed out changeset 7725b6550258 (bug 1261179) for breaking android mochitest(gl) tests CLOSED TREE
...
MozReview-Commit-ID: EVFF5STXkLl
2016-04-05 13:56:54 -07:00
Jeff Gilbert
9a1ef90f9b
Bug 1261179 - Don't fallback to desktop GL when ANGLE fails. - r=jrmuizel
2016-03-31 13:47:11 -07:00
Daosheng Mu
6c74338b06
Bug 1258061 - Clarify FramebufferTexture2D handling for tex2D and cubeMap; r=jgilbert
...
MozReview-Commit-ID: B2oAcP6zzKZ
--HG--
extra : transplant_source : %EB%E6%CAg%9B%97%91%A9%3CW%20%C8%D8%13t%CE%E0%BF-%03
2016-03-30 16:41:42 +08:00
Ethan Lin
d1268b5e73
Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
...
MozReview-Commit-ID: FYMiMaiRhii
--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Peter Chang
2977cda175
Bug 1260960 - Check skiaGL is enabled before calling skiaGLTex(), r=snorp
...
MozReview-Commit-ID: 8xaDtiPX563
--HG--
extra : rebase_source : 5edbfef2a39f8e5e61f346d4bf7e17699b71a458
2016-03-31 12:48:02 +08:00
Jeff Gilbert
0c9f6e1a95
Bug 1259449 - Require GLFeature::sync for WebGL's disjoint_timer_query. - r=jrmuizel
2016-03-29 17:32:45 -07:00
Kyle Huey
fe5f7b4105
Bug 1259290
: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Brad Kotsopoulos
8fb57a831d
Bug 1244611 - "Using named uniform buffer objects in the fragment shader fails". r=jgilbert
2016-03-23 08:18:00 +01:00
Gregory Szorc
6a9168778b
Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
...
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.
MozReview-Commit-ID: 2cwWrjMD6B9
--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Lee Salzman
c9a961cf13
Bug 1244754 - make drawCustomFocusRing.html fuzzy only on gtkWidget. r=me CLOSED TREE
2016-03-23 16:59:33 -04:00
Lee Salzman
8ef69bea3e
Bug 1244754 - part 2 - enable Skia canvas on Linux and fix web-platform-tests/reftests. r=jrmuizel
2016-03-23 14:21:04 -04:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Geoff Brown
3c73a0f0ec
Bug 1257948 - More Android test manifest cleanup; r=jmaher
2016-03-22 07:22:43 -06:00
Lee Salzman
df0ee01f4c
Bug 1256515 - bail out in CanvasRenderingContext2D::DrawWindow if snapshotting draw target fails. r=bas.schouten
2016-03-21 10:48:35 -04:00
Ryan VanderMeulen
be3bbfc784
No bug - Re-enable some disabled reftests on e10s.
...
--HG--
extra : rebase_source : d3c1489372f7be7baf4dc0282c9f37a82fe2e685
2016-03-21 00:28:43 -04:00
Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
f4ef02b391
Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
...
MozReview-Commit-ID: FTJlYS3bbTa
--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Phil Ringnalda
b0bc1ab435
Bug 1257593 followup, fix bustage from believing a reviewer and then sending a different patch to try
...
CLOSED TREE
2016-03-20 21:19:14 -07:00
JerryShih
dc73cc267c
Bug 1257593 - Handle webgl FramebufferTexture2D() with an unbound texture. r=jgilbert
2016-03-20 01:07:00 -04:00
JerryShih
2011d3b328
Bug 1252414 - Handle lost_context for webgl ClearBuffer*. r=jgilbert
2016-03-17 01:45:00 -04:00
Milan Sreckovic
009dd1487c
Bug 1228687: ScopedResolveTexturesForDraw needs the context to be current, so make those calls earlier. r=jgilbert
2016-03-17 23:00:34 -07:00
Geoff Brown
29977660c0
Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher
2016-03-17 10:00:48 -06:00
Geoff Brown
fd1e09d12b
Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher
2016-03-17 10:00:47 -06:00
Ethan Lin
8659d9e65d
Bug 910138 - Part 2. Add test case for ellipse. r=smaug
2016-03-15 00:53:00 +01:00
Ethan Lin
766d50b78f
Bug 910138 - Part 1. Add support for new canvas ellipse method. r=roc, r=smaug
2016-03-15 00:53:00 +01:00
peter chang
2de380f3ba
Bug 1254447 - Don't always check UseAcceleratedCanvas when calling GetSkiaGLGlue, r=jrmuizel
...
MozReview-Commit-ID: 95GY5aGJGK1
--HG--
extra : rebase_source : a6284141f313f62769fdf809f21cb928d7e6df6c
2016-03-16 12:09:17 +08:00
Jeff Muizelaar
c848b98d3e
Bug 1251375. Update to ANGLE/2653
2016-03-15 17:28:40 -07:00
Wes Kocher
bb35aa5eb1
Backed out changeset 857617eac45b (bug 1251375) for breaking test_EXT_disjoint_timer_query.html on Windows mochitest-gl tests
...
MozReview-Commit-ID: 5pcNBxk4JO5
2016-03-15 17:14:13 -07:00
Jeff Muizelaar
745acee9fd
Bug 1251375. Update to ANGLE/2653
2016-03-15 12:02:47 -07:00
Jeff Muizelaar
c8d4db8b1a
Bug 1251390. Make timer queries available at the appropriate time. r=jgilbert
...
This is similar to what we do for other queries.
2016-03-15 11:07:32 -07:00
Ethan Lin
9b0ebddb01
Bug 1241042 - Get correct frag varying from angle validator. r=jmuizelaar
2016-03-14 02:48:00 -04:00
Sebastian Hengst
337c4a31c1
Backed out changeset 406908b6e015 (bug 1251390) for webgl failures. r=backout
2016-03-11 12:37:23 +01:00
Jeff Muizelaar
5a4b19551c
Bug 1251390. Make timer queries available at the appropriate time. r=jgilbert
...
This is similar to what we do for other queries.
2016-03-11 18:10:07 +08:00
Jeff Muizelaar
25dd1aa4a3
Bug 1255283. Improve the correctness of EXT_disjoint_timer_query test. r=jgilbert
...
This is needed for us to pass on windows. There are two main changes:
1. Spin the event loop before asking for availability
2. Only test TIMESTAMP_EXT if it is supported. (It's not with D3D11)
2016-03-11 17:59:14 +08:00
Nicholas Nethercote
e1682e72e8
Bug 1255360 - Remove two unused declarations from CanvasRenderingContext2D. r=gw280.
2016-03-11 13:27:17 +11:00
Boris Zbarsky
2ce6bc7ebf
Bug 1255172. Fix unsafe reference gc hazards people snuck into DOM code. r=bkelly
2016-03-10 18:07:28 -05:00
Randell Jesup
fc6187d378
Bug 1224029: ensure video elements that may be disabled (black) are scaled r=mattwoodrow
...
disabled video elements may be 1x1 black images
MozReview-Commit-ID: 6xTm8Eq1Tjs
2016-03-08 19:21:40 -05:00
Xidorn Quan
ab357753a9
Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
...
MozReview-Commit-ID: 6UBvmEpo12f
--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
Jonathan Watt
a73bd8c354
Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
...
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Carsten "Tomcat" Book
41a0c1ddb8
Backed out changeset d88221aad093 (bug 1251995) for reftest failures
2016-03-07 12:18:40 +01:00
Xidorn Quan
5b1f34e2f6
Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
...
MozReview-Commit-ID: 6UBvmEpo12f
--HG--
extra : rebase_source : e967015366b727f199fe3febedc70f1f43f19725
2016-03-04 19:20:43 +08:00
Phil Ringnalda
cabee82044
Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
...
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
Ryan VanderMeulen
67195fa604
Bug 1253789 - Don't skip the webgl conformance tests on e10s. r=jgilbert
...
--HG--
extra : rebase_source : 1e901f0d43a829a95bfa84823ee36243ea650bfe
2016-03-04 22:45:13 -05:00
vincentliu
b690233730
Bug 801176 - part8-v1: Fix memory leak in OffscreenCanvas. r=roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 2 ++
dom/canvas/OffscreenCanvas.cpp | 12 +++++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
2016-03-04 15:24:50 +08:00
vincentliu
8f02812e74
Bug 801176 - part6-v1: Modify BufferProvider operations to fix assertions. r=roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 12 +++--
dom/canvas/OffscreenCanvas.cpp | 2 -
gfx/layers/AsyncCanvasRenderer.cpp | 85 +++++++++++++++++++++++++--------
gfx/layers/AsyncCanvasRenderer.h | 1 +
4 files changed, 73 insertions(+), 27 deletions(-)
2016-03-04 15:24:00 +08:00
vincentliu
e4d440e1c6
Bug 801176 - part5-v2: Fix Assertions in debug build. r=roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 47 ++++++++++++++++++++-------------
1 file changed, 29 insertions(+), 18 deletions(-)
2016-03-04 15:23:40 +08:00
vincentliu
778588d47a
Bug 801176 - part4-v2: Mochitest for adding 2d offscreen. r=mtseng
...
---
dom/canvas/test/mochitest.ini | 2 +-
dom/canvas/test/offscreencanvas.js | 155 ++++++++++++---------
.../test/offscreencanvas_serviceworker_inner.html | 52 +++++--
.../test_offscreencanvas_basic_operations.html | 80 +++++++++++
.../test/test_offscreencanvas_basic_webgl.html | 62 ---------
.../test_offscreencanvas_dynamic_fallback.html | 72 ++++++----
dom/canvas/test/test_offscreencanvas_many.html | 40 +++++-
dom/canvas/test/test_offscreencanvas_neuter.html | 42 +++---
.../test/test_offscreencanvas_serviceworker.html | 8 +-
.../test/test_offscreencanvas_sharedworker.html | 40 ++++--
.../test/test_offscreencanvas_sizechange.html | 67 +++++++--
.../test/test_offscreencanvas_subworker.html | 98 +++++++------
dom/canvas/test/test_offscreencanvas_toblob.html | 52 ++++---
.../test/test_offscreencanvas_toimagebitmap.html | 77 +++++-----
14 files changed, 530 insertions(+), 317 deletions(-)
create mode 100644 dom/canvas/test/test_offscreencanvas_basic_operations.html
delete mode 100644 dom/canvas/test/test_offscreencanvas_basic_webgl.html
2016-03-04 15:23:20 +08:00
vincentliu
2b8952ed36
Bug 801176 - part3-v6: Keep CSSParser operations as threading safe. r=heycam
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 13 +++++---
layout/style/ErrorReporter.cpp | 9 +++++-
layout/style/nsCSSParser.cpp | 55 ++++++++++++++++++++-------------
3 files changed, 51 insertions(+), 26 deletions(-)
2016-03-04 15:22:58 +08:00
vincentliu
906120d775
Bug 801176 - part2-v5: Let Canvas 2d context works on Workers. r=roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 53 ++++++++++++-----------
dom/canvas/OffscreenCanvas.cpp | 46 +++++++++++---------
dom/html/HTMLCanvasElement.cpp | 1 +
gfx/layers/AsyncCanvasRenderer.cpp | 17 ++++++++
gfx/layers/AsyncCanvasRenderer.h | 16 +++++++
gfx/layers/Effects.cpp | 6 +++
gfx/layers/GLImages.cpp | 5 +--
gfx/layers/client/CanvasClient.cpp | 74 +++++++++++++++++++++++++--------
gfx/layers/client/CanvasClient.h | 10 ++++-
9 files changed, 162 insertions(+), 66 deletions(-)
2016-03-04 15:22:39 +08:00
vincentliu
2a98ba1c2c
Bug 801176 - part1-v8: Modify webidl for 2d canvas. r=smaug, roc
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 38 +++++++++++++++
dom/canvas/CanvasRenderingContext2D.h | 6 +++
dom/webidl/CanvasRenderingContext2D.webidl | 76 ++++++++++++++++++------------
dom/webidl/HTMLCanvasElement.webidl | 2 +
dom/webidl/WebGLRenderingContext.webidl | 2 +-
dom/workers/WorkerPrefs.h | 1 +
6 files changed, 95 insertions(+), 30 deletions(-)
2016-03-04 15:22:16 +08:00
Kaku Kuo
89cbb71710
Bug 1239752 - Add test cases to make sure that alpha preserving is handled during transferring. r=roc
...
MozReview-Commit-ID: GaXNUggzQcz
--HG--
extra : rebase_source : 9f138530fe0470bc2ec2de7a58bee1ab034c0e1d
2016-01-26 11:27:23 +08:00
Kaku Kuo
fa2eaf528a
Bug 1239752 - Clean up test files. r=roc
...
MozReview-Commit-ID: S7mYwGDKk5
--HG--
extra : rebase_source : 28235c83cc1b416bdb034a818acddfa9e025f6f8
2016-01-26 10:53:46 +08:00
Kaku Kuo
7c27f74f1f
Bug 1239752 - Create ImageBitmap from ImageData should preserve alpha. r=roc
...
MozReview-Commit-ID: RTf8Bva5yb
--HG--
extra : rebase_source : f5a783c1d2bb7d02f64256e711010a3f2d8563f2
2016-01-19 15:06:20 +08:00
Ryan VanderMeulen
ed8a4802bf
Bug 1252348 - Skip the dom/canvas mochitests on OSX debug e10s.
2016-03-01 16:13:49 -05:00
Jeff Gilbert
20e882360f
Bug 1247804 - Enable seamless cubemaps where available. - r=jrmuizel
2016-02-11 17:57:25 -08:00
Jeff Muizelaar
a00f46b796
Bug 1247327. Fix WebGL acceptance rates in telemetry. r=milan
...
We were not checking for failure after initialization.
2016-03-01 18:20:45 -05:00
Jonathan Griffin
0b0e0abda1
Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only
2016-03-01 10:36:31 -08:00
Ehsan Akhgari
8a0731fdde
Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly
2016-03-01 09:16:38 -05:00
Boris Zbarsky
663b9bd562
Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey
2016-02-29 14:52:42 -05:00
Nathan Froyd
97bd5781a5
Bug 1251718 - use UniquePtr instead of ScopedDeletePtr in WebGLElementArrayCache; r=baku
...
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 13:29:19 -05:00
Chris Peterson
88de54c16e
Bug 1247532 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in dom/canvas/. r=jgilbert
...
dom/canvas/WebGLContextGL.cpp:845:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:10:02 -08:00
Boris Zbarsky
7345c5edb1
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
Milan Sreckovic
65bcdb7519
Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280
2016-02-22 14:23:00 +01:00