Граф коммитов

1398 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 5c01d7c3ee Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
MozReview-Commit-ID: J5RAfGW3X7T

--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
Jeff Gilbert a8d3b4b1d9 Bug 1276405 - EXT_color_buffer_float should disable clearColor clamping. - r=jrmuizel 2016-05-27 18:55:13 -07:00
Jeff Gilbert f9b51c3c01 Bug 1276096 - Use existing can-I-read-from-this helper. - r=jrmuizel 2016-05-26 18:08:31 -07:00
Jeff Gilbert 42afe56497 Bug 1276096 - Forbid reads from backbuffer with readBuffer(NONE). - r=jrmuizel 2016-05-26 18:07:52 -07:00
Jeff Gilbert 3773a30362 Bug 1276096 - Introspect for readBuffer mode. - r=jrmuizel 2016-05-26 18:07:03 -07:00
Jeff Gilbert b2883162ea Bug 1258036 - Separate global state checks from fb-specific checks. - r=jrmuizel 2016-05-31 14:44:46 -07:00
Kaku Kuo 4bf29cba79 Bug 1276411 - include nsPrintfCString.h; r=jrmuizel
MozReview-Commit-ID: 68fUci20dvv

--HG--
extra : transplant_source : %B3%26%EC%88%86%DFJ%F9%8AQ%BF%A7%02%BC%AD%04t%D6%CF%FE
2016-05-28 12:40:37 +08:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Carsten "Tomcat" Book 0b2b46fcdb Merge mozilla-central to mozilla-inbound 2016-07-18 17:10:52 +02:00
JerryShih 20509c6a8c Bug 1259702 - test case for webgl getFragDataLocation(). r=jgilbert 2016-07-18 20:19:04 +08:00
JerryShih c801d201b6 Bug 1241042 - remove the original implementation. r=jgilbert 2016-07-18 20:19:04 +08:00
JerryShih b44cfb7256 Bug 1241042 - save frag translated varying names into LinkedProgramInfo. r=jgilbert
Save the frag name info to the LinkedProgramInfo object. Then the fragment shader can be freely detached at any time.
2016-07-18 20:19:04 +08:00
Jeff Gilbert 8cb78cdcf9 Bug 1271830 - Remove non-webgl2 exts from webgl2 and update tests to check webgl2 exts. - r=jrmuizel 2016-05-26 16:34:49 -07:00
Tobias Schneider d5d7d42db2 Bug 1174278 - Tests. r=jrmuizel
--HG--
extra : rebase_source : fad40bc8ce51d008b0f579fe366f878e8ad43ce0
2016-05-24 22:01:12 -07:00
Tobias Schneider 2bf9b9a3e6 Bug 1174278 - Make filter tainting and canvas tainting. r=jrmuizel
--HG--
extra : rebase_source : 676ae4a6551246499d3a736ac9a35e6ac7f2c91c
2016-05-24 21:50:02 -07:00
Sebastian Hengst e8f1161147 Backed out changeset 22c42d243a5c (bug 1271830) for unexpected pass of test_EXT_color_buffer_float.html on Android. r=backout 2016-05-25 23:44:19 +02:00
Jeff Gilbert b48c8c77eb Bug 1271830 - Update ensure-exts to check webgl2 contexts. - r=jrmuizel 2016-05-25 13:37:20 -07:00
Joel Maher 8e50d588fd Bug 1269872 - adjust manifests of all jobs that require a gpu. r=RyanVM,jgilbert
dom/media/tests/mochitests/test_peerConnection_captureStream_canvas_webgl.html has an issue on android as it is moved from mochitest-media -> mochitest-gpu.
dom/bindings/test/test_integer.html uses experimental-webgl, it might need to be picked up in a future cleanup.

MozReview-Commit-ID: GJKn7ubY7tL
2016-05-25 16:22:27 -04:00
Jeff Gilbert 7e947ee290 Bug 1273252 - WARP counts as a performance-caveat. - r=jrmuizel 2016-05-25 13:18:00 -07:00
JerryShih 72ee5f3769 Bug 1248580 - handle gl.UniformMatrixXfv() function uploading element size. r=jgilbert 2016-05-25 16:28:00 +02:00
JerryShih fc10d03978 Bug 1248580 - strip the uploading element num according to the uniform array size. r=jgilbert 2016-05-25 16:27:41 +02:00
Sebastian Hengst 4da8df1aab Backed out changeset 31879b3fdce3 (bug 1248580) for build bustage. r=backout on a CLOSED TREE 2016-05-25 14:15:41 +02:00
Sebastian Hengst 6838bab7e9 Backed out changeset 56c2db882b7d (bug 1248580) 2016-05-25 14:15:29 +02:00
JerryShih 6002b9f436 Bug 1274769 - handle the WebGLTimerQuery deletion status for GLContext cleanup. r=jgilbert 2016-05-24 18:52:00 +02:00
JerryShih 84beb03ee4 Bug 1248580 - handle gl.UniformMatrixXfv() function uploading element size. r=jgilbert 2016-05-25 13:50:57 +02:00
JerryShih e440e9dd9a Bug 1248580 - strip the uploading element num according to the uniform array size. r=hshih 2016-05-25 13:50:31 +02:00
JerryShih 6850e09718 Bug 1178871 - turn on WebGL conformance test |conformance/glsl/misc/shader-struct-scope|. r=jgilbert 2016-05-24 22:46:00 +02:00
JerryShih d8088c8229 Bug 1178871 - turn on WebGL conformance test |conformance/glsl/misc/struct-nesting-of-variable-names|. r=jgilbert 2016-05-24 09:43:00 +02:00
JerryShih f804058c0f Bug 1178871 - work around that Mac drivers for shader struct scopes. r=jgilbert 2016-05-24 02:41:00 +02:00
Jonathan Kew ec45c18193 Bug 1274936 - When <canvas> fillText is using a simple color, draw via the gfxTextRun::Draw code path to get support for COLR and SVG-in-OT fonts. r=bas 2016-05-25 09:21:10 +01:00
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
Jeff Gilbert 4ef83a5f6f Bug 1249483 - Stop filling A with 1.0 on readback from no-alpha. - r=jrmuizel 2016-02-25 17:47:50 -08:00
Morris Tseng b6b0cd102a Bug 1249543 - Disable offscreencanvas tests on OSX 10.6. r=jgilbert
--HG--
extra : commitid : 4QPPJUGwhma
2016-02-25 10:13:12 +08:00
Sebastian Hengst 00a63ca413 Backed out changeset 303b759e886e (bug 1249640) 2016-02-24 19:02:00 +01:00
Milan Sreckovic 1498964285 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
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Jeff Gilbert c363c26c53 Bug 1247764 - Disable STENCIL_TEST on mac+intel when not needed. - r=jrmuizel 2016-02-18 17:59:24 -08:00
Jeff Gilbert 1d19fc76c1 Bug 1201885,1247752,1247753 - Re-mark passing/failing tests. 2016-02-18 09:47:18 -08:00
Ethan Lin 5a257d1505 Bug 1237193 - Fix WebGL getActiveUniforms return type. r=jgilbert, r=smaug
--HG--
extra : amend_source : 93482b7af2062ede64a5e736735830d6b5bfb82b
2016-02-15 15:14:00 +01:00
Jeff Gilbert c6dad7bd09 Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
Lee Salzman 42a8ea393d Bug 1246775 - fix Canvas2D drawWindow to reacquire its DT after rendering. r=bas 2016-02-10 13:17:56 -05:00
Lee Salzman c631aefd3b Bug 1246775 - use already_AddRefed in PersistentBufferProvider interface. r=bas 2016-02-10 13:16:13 -05:00
Jeff Muizelaar eea799a81b Bug 1247327. Add WebGL acceptance rates to telemetry. r=vladan 2016-02-11 17:34:49 -05:00
Jeff Gilbert 5ec3468fb3 Bug 1233626 - Default MaxDrawingBuffers to 1 unless ext/webgl2. - r=jrmuizel 2016-02-05 16:42:33 -08:00
Jeff Gilbert 8969ca59b4 Bug 1246007 - Ignore RENDERBUFFER_SAMPLES outside of webgl2. - r=jrmuizel 2016-02-05 16:41:21 -08:00
Olli Pettay faea49c1f2 Bug 1244480, don't throw when passing random value as the second argument to canvas.getContext, r=bz
--HG--
extra : rebase_source : ba9d5e78d52745361a5c328474a5cccf7732d10b
2016-02-05 22:21:09 +02:00
Lee Salzman 5522b98482 Bug 1244850 - always validate destination rect for CanvasRenderingContext2D::DrawImage. r=jmuizelaar 2016-02-02 12:45:17 -05:00
Jeff Gilbert 156180d016 Bug 1233046 - Mark non-try platforms. 2016-02-03 16:27:36 -08:00
Jeff Gilbert 6b27b1d9fc Bug 1233046 - Add ensure-extension tests. - r=jrmuizel 2016-01-28 14:28:59 -08:00
Jeff Gilbert f14fb612c2 Bug 1233046 - Add requestFlakeyTimeout to SimpleTest shim. - r=jrmuizel 2016-01-26 16:51:42 -08:00
Jeff Gilbert be31bf4a6d Bug 1233046 - Fix OES_texture_float on OSX. - r=jrmuizel 2016-01-28 14:27:57 -08:00
Jeff Gilbert 6fcf83350c Bug 1243908 - Use DrawBuffers through GLScreenBuffer when operating on fb0. - r=jrmuizel 2016-01-26 12:42:39 -08:00
Jeff Gilbert f534188807 Bug 1243907 - Don't query _BITS enums on Core profiles. - r=jrmuizel 2016-01-22 18:00:54 -08:00
Wes Kocher ee541d1491 Backed out changeset 6f964a309e55 (bug 1233046) for winxp m(gl) bustage
--HG--
extra : commitid : C6wnJkjSq7L
2016-02-03 14:17:56 -08:00
Jeff Gilbert ea04ebebca Bug 1233046 - Fix OES_texture_float on Mac and add tests for extensions. - r=jrmuizel 2016-02-03 12:27:50 -08:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
vincentliu ba5e765fc3 Bug 801176 - part0-v3: Modify Coding Style for 2d Canvas. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 1336 +++++++++++++++----------------
 dom/canvas/CanvasRenderingContext2D.h   |  508 ++++++------
 2 files changed, 922 insertions(+), 922 deletions(-)
2016-02-01 16:39:08 +08:00
Brad Kotsopoulos 71346bf41d Bug 1242330 - "Four extensions were promoted to core in WebGL 2 and should no longer be available as extensions." r=jgilbert r=jmuizelaar 2016-01-24 22:21:00 +01:00
Ethan Lin 48c9893604 Bug 1240438 - Fix WebGL2 framebuffer attachment related implementation. r=jgilbert 2016-01-29 01:41:00 +01:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Morris Tseng 6523e669e2 Bug 1243663 - Max uniform and attribute location lengths in WebGL2 should be 1024. r=jgilbert
--HG--
extra : commitid : 5Dh3QQP7TPU
2016-01-29 14:44:08 +08:00
Morris Tseng 571b20fd9f Bug 1242347 - Allow unsized internal format when generate mipmap. r=jgilbert
--HG--
extra : commitid : BMfNLWIwGbn
2016-01-29 10:58:05 +08:00
Ethan Lin 7392c36bba Bug 1242336 - Fix WebGL2 return type of GL_UNPACK_SKIP. r=jgilbert
--HG--
extra : rebase_source : 3b03d187959fbcac72bda8139b3f37211ede5fcc
2016-01-25 22:11:00 +01:00
Jeff Walden 1e1850242d Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz
--HG--
rename : dom/media/webaudio/test/audioBufferSourceNodeNeutered_worker.js => dom/media/webaudio/test/audioBufferSourceNodeDetached_worker.js
rename : dom/media/webaudio/test/test_audioBufferSourceNodeNeutered.html => dom/media/webaudio/test/test_audioBufferSourceNodeDetached.html
extra : rebase_source : acc6f8336a3ffb084a0e95865710748edd9354d9
2016-01-25 18:10:22 -08:00
Carsten "Tomcat" Book df24af8302 Backed out changeset b7d242697573 (bug 1237193) for bustage 2016-01-27 11:42:24 +01:00
Ethan Lin bcb1b9e546 Bug 1239541 - Fix WebGL2 texImage related checking. r=jgilbert 2016-01-20 16:39:00 +01:00
Kaku Kuo e3bc6c71ea Bug 1239300 - reject promise with null while creating imagebitmap from empty blob; r=smaug 2016-01-19 14:35:01 +08:00
Ethan Lin d650b65ee9 Bug 1237193 - Fix WebGL getActiveUniforms return type. r=jgilbert, r=smaug
--HG--
extra : rebase_source : 141f00dc036118d7ec0b92a079de84b7b81c29f6
extra : amend_source : 158f20f09262bbbdc41b3b7ba734cfadd3706198
2016-01-07 21:45:00 +01:00
Morris Tseng 9316d33f5f Bug 1241777 - TexCompareFunc should be stored in ascending order. r=jgilbert
--HG--
extra : commitid : 5tm6TsrqtCf
2016-01-27 14:12:52 +08:00
Ethan Lin d31232b919 Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert
--HG--
extra : rebase_source : 2c131d0b6178666e80f5771030c8cb61afeb8766
2016-01-20 23:12:00 -05:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Chris Peterson 1d19e74439 Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08:00
Jeff Gilbert 475ef4bef2 Bug 1233819 - Fix WebGL on WinXP. - r=jrmuizel 2016-01-21 18:47:29 -08:00
Jeff Gilbert df5d401330 Bug 1241702 - Allow unsized DEPTH_STENCIL for RBs in WebGL 2. - r=kamidphish 2016-01-21 18:46:05 -08:00
peter chang 4cf0f00742 Bug 1236786 - [WebGL2] pass getVertexAttrib in gl-object-get-calls.html, r=jgilbert
--HG--
extra : rebase_source : 4e323185d00c83f4d13a73c7edb7adceb65521b3
2016-01-22 09:44:01 +08:00
peter chang 275089b227 Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r=jgilbert
--HG--
extra : rebase_source : 0d2b263da0f5dfd6ed3c211684c04381c6f32b65
2016-01-20 15:50:47 +08:00
Jeff Gilbert 2a59586f95 Bug 1239187 - Use the GLFeature instead. - r=jrmuizel 2016-01-21 14:18:44 -08:00
Nicolas Silva c7cf4b994f Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-21 14:12:51 +01:00
Ethan Lin d0a5f2f401 Bug 1239259 - Fix WebGL2 generateMipmap checking. r=jgilbert
--HG--
extra : rebase_source : 7bc5579f227ee5c21e2019aec53ac225e4e2dca9
2016-01-13 02:08:00 +01:00
Morris Tseng 4648f2d1cb Bug 1238865 - Part 3: Prevent IMPLEMENTATION_COLOR_READ_FORMAT return SRGB_ALPHA. r=jgilbert
--HG--
extra : commitid : Gu6Cf81s63T
2016-01-21 14:51:59 +08:00
Morris Tseng 794c8843cb Bug 1238865 - Part 2: Add more format/type checks for WebGL2. r=jgilbert
--HG--
extra : commitid : 6746QJFsDKZ
2016-01-21 14:51:59 +08:00
Morris Tseng df9b295844 Bug 1238865 - Part 1: Validate attachments before clearBuffer. r=jgilbert
--HG--
extra : commitid : DBWPqeN7T5j
2016-01-21 14:51:59 +08:00
Morris Tseng 6e90a4c6fc Bug 1230089 - If sampler is bound, use parameter of sampler. r=jgilbert
--HG--
extra : commitid : JF12eiQS7m8
2016-01-21 14:49:41 +08:00
Morris Tseng 8fbc15e43a Bug 1240662 - Add max level check for framebufferTextureLayer. r=jgilbert
--HG--
extra : commitid : EfpF8WzPVIa
2016-01-21 14:47:33 +08:00
Morris Tseng 31360128bd Bug 1233353 - Initialize rb correctly if rb bind to READ_FRAMEBUFFER. r=jgilbert
--HG--
extra : commitid : 6O3mskCBcnU
2016-01-21 14:44:12 +08:00
Brad Kotsopoulos 75ef7d9bcf Bug 1239488 - Add int/uint to vertex attrib data type. r=jgilbert
--HG--
extra : amend_source : 0c05e1aebdceec45cd242c6b6fe30f6b6e631feb
2016-01-20 11:04:00 -05:00
Chris Peterson 5191c1753c Bug 1240262 - Annotate intentional switch fallthrough and suppress -Wimplicit-fallthrough warnings in dom/canvas/. r=jgilbert
dom/canvas/WebGL2ContextState.cpp:116:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/canvas/MurmurHash3.cpp:140:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

--HG--
extra : rebase_source : b69bcd8e68fffcca45a4169dfb68813238041068
2016-01-14 01:34:56 -08:00
Phil Ringnalda 722db78364 Back out 604c30246eeb (bug 1180942) for Linux reftest OOMs in 632781-verybig.html
CLOSED TREE
2016-01-19 20:17:20 -08:00
Jeff Muizelaar 69e504a564 Bug 1239126. Handle gl_InstanceID attribute with no location. r=jgilbert
This patch avoids a crash when querying program info when gl_InstanceID is used.

ANGLE will return -1 from GetAttribLocation("gl_InstanceID") (this location is
hardcoded in the ANGLE source) but still includes gl_InstanceID in it's attribute list.
2016-01-19 13:29:04 -05:00
Nicolas Silva afcb9adea8 Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-19 18:36:36 +01:00
Milan Sreckovic 5ca86c6996 Bug 1239835: Do nothing when rectangle given to ClearRect has zero width or height. (Also mixing in some minor white space changes while in the file.) r=dholbert
--HG--
extra : rebase_source : c171b3732c02485c806770e53b3902fe83a5bbaa
2016-01-18 11:32:41 -05:00
peter chang d8bb5481f5 Bug 1236395 - [WebGL2] pass getFramebufferAttachmentParameter in gl-object-get-calls.html, r=jgilbert
--HG--
extra : rebase_source : 5cab2380be2efc8e6eae0b71183646443f654a5f
2016-01-11 19:56:00 +01:00
Michael Froman 6abe3c833c Bug 1166832 - Add test for canvas capture on multiple streams. r=bwc
--HG--
extra : transplant_source : M%EF%1B%05%EC%E7%E7%D3%A0%3A%E3C4%17%C3%2B%8B%3D%2B%C3
extra : histedit_source : d018f58a2c171558932911bde42025b3184f5611
2016-01-14 10:56:17 -06:00
Brad Kotsopoulos 552f476047 Bug 1237420 - "Fix length-checking when setting WebGL 2 vertex attributes with an array". r=jgilbert 2016-01-09 13:20:00 +01:00
Andrea Marchesini 7167daa292 summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book 00abd66130 Backed out changeset 6d08ab04a77c (bug 1231378) 2016-01-12 15:48:53 +01:00
Andrea Marchesini 98f16784c5 Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 13:57:37 +00:00
Jeff Gilbert f3b0f8b2c7 Bug 1237637 - Disallow negative levels for framebuffer attachments. - r=jrmuizel 2016-01-07 16:22:45 -08:00
Jeff Muizelaar 7053abd108 Bug 1236091. Move validate checks inside of null checks. r=jgilbert
We trigger this during deqp/functional/gles3/framebufferblit.html
2016-01-11 15:28:59 -05:00
Jeff Muizelaar 6013e98127 Bug 1236080. Null check format in GetParameter. r=jgilbert
This avoids a crash in deqp/functional/gles3/fbostatequery.html when Format() returns null.
2016-01-11 15:28:59 -05:00
Nicholas Nethercote 88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Ethan Lin 36e70e85b0 Bug 1237194 - Fix getSyncParameter return error. r=jgilbert
--HG--
extra : rebase_source : 53ecd7eb7a750e8ed9dd36015504e9d992afe0c5
2016-01-06 01:29:00 +01:00
Ethan Lin f8f7798965 Bug 1237191 - Add check for getQueryParameter to return correct error. r=jgilbert 2016-01-07 20:05:00 +01:00
Morris Tseng 1ae8baf23c Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Ben Kelly e7a54a390c Bug 1237158 Unregister service worker at end of test_offscreen_serviceworker.html. r=ehsan 2016-01-06 08:56:16 -08:00
peter chang 13f0aa17be Bug 1236782 - [WebGL2] pass getProgramParameter in gl-object-get-calls.html; r=jgilbert
--HG--
extra : rebase_source : ebe21e72c7eca6d022999da92054bbcfab42c817
2016-01-05 14:44:28 +08:00
Jonathan Griffin 59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Morris Tseng 084b138ad2 Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc
--HG--
extra : commitid : E5x4DxqzQ3k
2016-01-05 17:51:04 +08:00
Nicholas Nethercote 9ac2c3e3be Bug 1233631 - Moz2Dify CanvasBidiProcessor. r=jfkthame.
--HG--
extra : rebase_source : 4e255a8b622251d1283fd4b1ebb6954797f0aa09
2015-12-17 19:59:04 -08:00
Nicholas Nethercote 06e901cb9f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().

--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Lee Salzman 5512fbeae7 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-30 13:39:13 -05:00
Ethan Lin fcfe0c61e6 Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert 2015-12-29 18:37:00 +01:00
Dan Glastonbury 892ace5b27 Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury d156bf5bfb Bug 1205168 - Part 5: Texel Conversion - RGB11F11F10F format. r=jgilbert 2015-12-22 22:02:00 +01:00
Dan Glastonbury 79005668cf Bug 1205168 - Part 4: Texel Conversion - RG32F format. r=jgilbert 2015-12-22 22:01:00 +01:00
Dan Glastonbury c5a43b8a44 Bug 1205168 - Part 3: Texel Conversion - RG16F format. r=jgilbert 2015-12-22 21:57:00 +01:00
Dan Glastonbury 0dd6033485 Bug 1205168 - Part 2: Texel Conversion - RG8 format. r=jgilbert 2015-12-22 21:56:00 +01:00
Dan Glastonbury bac0a15f6a Bug 1205168 - Part 1 - Sort all the WebGLTexelFormats. r=jgilbert
In preparation for adding new formats and conversion code, sort the
existing ones into some semblance of order.
2015-12-22 19:59:00 +01:00
Ethan Lin cd1dbb2c02 Bug 1205168 - Part 0: Remove copy-ctor from strong type. r=jgilbert 2015-12-22 19:58:00 +01:00
Andreas Pehrson 4e152dde77 Bug 1233613 - Add crashtest. r=mt
--HG--
extra : commitid : KHfLYnTxrYk
extra : rebase_source : d747689ad5bf66a4d30c0642938cb6432f6c7516
2015-12-22 11:29:26 +08:00
Jeff Gilbert 7a82450687 Bug 1220450 - Clear length on cache OOM. r=kamidphish
DONTBUILD a=relanding

--HG--
extra : source : 740e4ce7bb1623505a8555c9a2be80f8700e32fe
extra : amend_source : 9026a1b1416a7f46978b816f7866fa298bc85bba
2016-01-01 14:00:48 -05:00
Ryan VanderMeulen 6c23983753 Backout changeset 740e4ce7bb16 (bug 1220450) for landing with oddball whitespace. 2016-01-01 19:49:46 -05:00
Jeff Gilbert ca26d27230 Bug 1220450 - Clear length on cache OOM. r=kamidphish 2016-01-01 14:00:48 -05:00
Sebastian Hengst 5fb86d302c Backed out changeset 21607399e25e (bug 1229983) for failing own R(C) test. r=backout 2015-12-30 15:00:44 +01:00
Lee Salzman cafcefe183 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-16 17:53:11 -05:00
Lee Salzman 016ec296bf Bug 1229932 - check that offsets to canvas fillText() are finite. r=jmuizelaar 2015-12-16 14:56:22 -05:00
Lee Salzman 9a71f879e0 Bug 1230686 - use RefPtr<DrawTarget>& instead of DrawTarget* to track changes in SurfaceFromElement. r=jmuizelaar 2015-12-29 10:41:43 -05:00
Ting-Yu Lin 8583cbceaa Bug 1234744 - Fix build errors in ImageBitmap.h. r=roc
--HG--
extra : rebase_source : 6832c025216fd26cdd5932dc1a789b5080621380
2015-12-23 11:49:19 +08:00
Jeff Muizelaar 8a84e958bf Bug 1233549. Disallow ES3 compressed texture formats. r=jgilbert
This fixes assertion failures on platforms that don't have
these formats. This is a temporary fix until we iron out
this issue in the spec. It's easier to add this later than
it is to take it away.
2015-12-18 22:05:11 -05:00
Jeff Muizelaar da469b9391 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 17:05:42 -05:00
Wes Kocher aacaab5baa Backed out changeset cdc2bfed4faa (bug 1218881) for static build bustage CLOSED TREE 2015-12-18 12:43:42 -08:00
Jeff Muizelaar 62b6b77c10 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 14:40:08 -05:00
Lee Salzman 54897f1c6a Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel 2015-12-18 13:53:26 -05:00
Ms2ger 7d058880e0 Bug 1217835 - Rewrite some code in CanvasRenderingContext2D::GetImageDataArray to avoid build warnings; r=gw280 2015-12-18 11:08:06 +01:00
Morris Tseng 28c0197533 Bug 1172796 - Part 9: Use gfxPrefs to get webgl.enable-prototype-webgl2. r=jgilbert
--HG--
extra : commitid : 3Eh8pRaT6if
2015-12-18 14:52:17 +08:00
Morris Tseng 3e61e4b4cf Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug
--HG--
extra : commitid : J5ynF4BHVHV
2015-12-18 14:52:17 +08:00
Morris Tseng 4144a07339 Bug 1172796 - Part 6: Implements ImageBitmap::Close(). r=roc r=smaug
--HG--
extra : commitid : 85dot8oSPkP
2015-12-18 14:52:17 +08:00
Morris Tseng 25c5294a43 Bug 1172796 - Part 5: Implements OffscreenCanvas::TransferImageBitmap. r=roc r=smaug
--HG--
extra : commitid : 4XzkGVfRcHJ
2015-12-18 14:52:17 +08:00
Morris Tseng 4493d55b04 Bug 1172796 - Part 4: Implement OffscreenCanvas::ToBlob. r=roc r=smaug
--HG--
extra : commitid : 6RcUmz8ar4L
2015-12-18 14:52:17 +08:00
Morris Tseng abfddd01cc Bug 1172796 - Part 3: Implement OffscreenCanvas constructor. r=roc r=smaug
--HG--
extra : commitid : LmsiLXfRbN
2015-12-18 14:52:17 +08:00
Morris Tseng 6587a9fbd2 Bug 1172796 - Part 2: Add write-only flag for origin-clean check. r=roc
--HG--
extra : commitid : 2PNCCwc1czh
2015-12-18 14:52:17 +08:00
Morris Tseng d8c2245a34 Bug 1215438 - Part 5: Add test for imagebitmap transfer. r=roc
--HG--
extra : commitid : Ft9dJQOF9Um
2015-12-18 14:52:16 +08:00
Morris Tseng ef261c0b38 Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc
--HG--
extra : commitid : H9H2n8GsBOK
2015-12-18 14:52:16 +08:00
Morris Tseng 0d4ac3243e Bug 1215438 - Part 1: Add utility functions to support transferring ImageBitmap. r=roc
--HG--
extra : commitid : JdhYZUbeqRs
2015-12-18 14:52:16 +08:00
Jeff Gilbert 9001d85bea Bug 1233557 - Allow RGB8 to be renderable again for web-compat. - r=jrmuizel 2015-12-17 14:41:53 -08:00
Wes Kocher 6ebc8a4b00 Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)

--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Jeff Gilbert 9354363010 Bug 1229944 - Reenable the test. 2015-12-17 14:17:17 -08:00
Lee Salzman f5d37b9220 Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel 2015-12-17 14:45:45 -05:00
Jeff Gilbert b1a83a74e6 Bug 1229944 - Touch moz.build to avoid a clobber? (hotfix) 2015-12-16 19:11:45 -08:00
Jeff Muizelaar 9d9541f65f Bug 1229210. Handle the new formats required by WebGL2 in ReadPixels. r=jgilbert
This is required for deqp/functional/gles3/builtinprecision00.html to pass on Linux
2015-12-16 22:10:53 -05:00
Jeff Muizelaar f7dbec6ee1 Bug 1232462. Only ask for a higher version of GLSL when using WebGL2. r=jgilbert
This fixes the situation for now. I'm going to try to work out what should
actually be happening here with ANGLE.

See also: https://bugs.chromium.org/p/angleproject/issues/detail?id=1256
2015-12-16 22:10:53 -05:00
Jeff Gilbert 32028a4b32 Bug 1229944 - Hotfix disable test on Android. 2015-12-16 18:04:37 -08:00
Jeff Gilbert 94e9d75b26 Bug 1229944 - Add a fixed test. - r=kamidphish - CLOSED TREE HOTFIX 2015-12-16 16:44:53 -08:00
Jeff Gilbert 1b8ce0a596 Bug 1232864 - Hotfix test on a CLOSED TREE 2015-12-16 16:13:21 -08:00
Jeff Gilbert 34eeb80550 Backout revision e46ca0ac35f5 (Bug 1229944) for bad m-gl on CLOSED TREE.
--HG--
extra : amend_source : ef2350272321c23ef40ae08bf68235d95b98c999
2015-12-16 16:10:01 -08:00
Jeff Gilbert ed71d481e8 Bug 1229944 - Add test. - r=kamidphish 2015-12-15 13:42:21 -08:00
Jeff Gilbert 110371f3f7 Bug 1232864 - Cauterize and release WebGL 2 to Nightly. - r=jrmuizel 2015-12-16 14:56:24 -08:00
Jeff Gilbert aa928a99a3 Bug 1231040 - Check for premulting better. - r=jrmuizel 2015-12-16 14:35:17 -08:00
Jeff Muizelaar 4ab1426a59 Bug 1231657. Don't allow linking different versions shaders. r=jgilbert
This fixes glsl3/shader-linking.html
2015-12-16 16:16:00 -05:00
Jeff Muizelaar 54ee20ab50 Bug 1233094. Handle null buffers in GetIndexedParameter. r=jgilbert 2015-12-16 14:10:45 -05:00
Ethan Lin 52129e7387 Bug 1225291 - IsTransformFeedback doesn't report error when input is null. r=jgilbert 2015-12-01 17:56:00 +01:00
Wes Kocher 4b84f553c1 Backed out changeset 495ff1195591 (bug 1231040) for build failures in TexUnpackBlob.cpp
--HG--
extra : commitid : B2HulRlJFhE
2015-12-15 17:53:00 -08:00
Jeff Gilbert 7dd12ef863 Bug 1231040 - Take fast path if not alpha-premulting. - r=jrmuizel 2015-12-15 17:45:03 -08:00
Jeff Gilbert 80a77a7508 Bug 1232346 - Clarify ResolveForDraw's failure checking. - r=kamidphish 2015-12-14 17:38:33 -08:00
Joel Maher 6a93b47c8a Bug 1220658 - disable unexpected pass gl tests until new MESA library is used everywhere. r=jgilbert 2015-12-15 13:27:46 -08:00
Jeff Muizelaar beda3fab62 Bug 1232502. Use the correct internalFormat when calling CopyTexImage2D. r=jgilbert
Previously we were just using the internalFormat directly from the caller.
This broken when trying to do RGBA8 -> L8 copies because L8 is not supported
in Core Profile OpenGL
2015-12-15 09:46:30 -05:00
Brad Kotsopoulos 7a8310686c Bug 1228676 - WebGL2 VertexAttrib funcs should match WebGL 1 patterns. - r=jgilbert 2015-12-14 17:48:55 -08:00
Jeff Gilbert 10befa1b39 Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish 2015-12-14 16:14:03 -08:00
Jeff Gilbert 30a228420f Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish 2015-12-14 16:11:59 -08:00
Jeff Gilbert 7f34e60540 Bug 1228885 - Implement WebGLTexture::MemoryUsage. - r=kamidphish 2015-12-14 15:58:29 -08:00
Jeff Muizelaar b2cb03074c Bug 1231832. Make IsActive work on Querys that have not begun. r=jgilbert
This fixes deqp/functional/gles3/lifetime.html
2015-12-14 13:47:46 -05:00
peter chang 877c081880 Bug 1018527 - test for clearRect API with input in double precision, r=jmuizelaar 2015-12-09 01:09:00 +01:00
peter chang e0b4369755 Bug 1018527 - bypass canvas API calls when inputs are out of float precision, r=jmuizelaar 2015-12-09 01:08:00 +01:00
Jeff Gilbert 26dafe015c Bug 1228711 - Cubemap images must be square. - r=benwa 2015-12-03 15:38:06 -08:00
Jeff Muizelaar 303885a832 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Jeff Muizelaar ba14718938 Revert "Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert"
This reverts commit cb6196bdba35
CLOSED TREE
2015-12-02 12:43:00 -05:00
Lars T Hansen 49063542c0 Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb
--HG--
extra : rebase_source : 65b6b69a0a5fd7987d390832cedf844588a41846
2015-11-26 12:47:53 +01:00
Lars T Hansen b62493634b Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Jeff Muizelaar 18f1188eac Bug 1219890. Use ES3 when appropriate. r=jgilbert
This enables the use of WebGL2 on top of ANGLE.
2015-12-02 10:21:08 -05:00
Jeff Muizelaar 6de960ff8d Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-02 10:14:43 -05:00
Ethan Lin c257b89d86 Bug 1228949 - Fix WebGLBuffer content type when the target is LOCAL_GL_COPY_READ_BUFFER or LOCAL_GL_COPY_WRITE_BUFFER. r=jgilbert 2015-11-30 01:30:00 +01:00
Robert O'Callahan 6f11ea45c0 Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
--HG--
extra : commitid : 9SdyuwXVlRD
extra : rebase_source : 7143bc6c346bf1c1259a83321d26a653adb70705
2015-11-17 16:34:28 +13:00
Andreas Pehrson efff11f482 Bug 1223696 - Make canvas captureStream helper resilient to exceptions when there's no video. r=roc
--HG--
extra : commitid : FAzUHddlKxp
extra : rebase_source : cdd127adc5352c464675635626274fc0d0da2c0e
2015-11-16 10:58:13 +08:00
Jeff Muizelaar 50e8c44daf Bug 1225576. Always use the VAO workaround. r=jgilbert
I'd like to unconditionally use this work around for now. This bug affects the
current version of ANGLE and older versions of Mesa (not just llvmpipe like we
were checking for). Once ANGLE is fixed we can consider disabling this on
Windows again.

FWIW, Chrome does something like this unconditionally.
2015-12-01 14:46:46 -05:00
Milan Sreckovic 1c2f56d5f0 Bug 1228287 - Make sure we can't do SkiaGL without the pref set. r=benwa
--HG--
extra : rebase_source : 601d27a896f5d97353051e7e8ac85be0ccf92cda
2015-11-26 11:00:00 +01:00
Morris Tseng 6f06c75266 Bug 1228488 - Return INVALID_ENUM for GL_UNIFORM_NAME_LENGTH. r=jgilbert
--HG--
extra : commitid : DORQSRrsbTP
2015-12-01 10:16:12 +08:00
Kaku Kuo 5d8bf09be9 Bug 1224647 - part2 - remove ErrorResult in the creating ImageBitmap from Blob code path; r=bz
Rebase.

--HG--
extra : transplant_source : %8A%9DE%EA%B9%16%2A%13/Q%AEg%D3%EBp%40G%80%A9%FF
2015-11-22 23:27:44 +08:00
Kaku Kuo a6c9d12493 Bug 1224647 - part1 - remove ErrorResult in the creating ImageBitmap from ImageData code path; r=bz
Rebase.

--HG--
extra : transplant_source : O%E2%13%9E%F4%FF%96%0Eh%87S%B0%94%22%91%DA%8BV%F8b
2015-11-23 14:56:00 +08:00
Andrew Comminos 544dcecc58 Bug 1203135 - Terminate linking if maximum vertex attribute count is exceeded on Mesa. r=jgilbert 2015-11-24 21:27:29 -08:00
Jeff Gilbert 19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda 71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Boris Zbarsky dc20817615 Bug 1224596 part 7. Switch ImageBitmap to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Jeff Gilbert 87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Lee Salzman d75fbddd08 Bug 1223740 - enforce max surface size for DrawTargetSkia. r=bas 2015-11-19 13:35:31 -05:00
Michael Bebenita fcda618387 Bug 696630 - Take imageSmoothingEnabled into account when creating pattern fills. r=mattwoodrow
--HG--
extra : rebase_source : 77bc3248e7af31a958bacf0d1b490972d933cd6d
2015-11-17 14:46:42 -08:00
Carsten "Tomcat" Book 694a81aba1 Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE 2015-11-23 09:48:56 +01:00
Robert O'Callahan f537754554 Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
--HG--
extra : commitid : 1b7GXS454NK
extra : rebase_source : cd2e35e1dc3be39945d00bfd2648f104258955c8
2015-11-17 16:34:28 +13:00
Andrea Marchesini c1df69ea87 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-21 01:03:20 +00:00
Boris Zbarsky 1fec018fcb Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv 2015-11-20 16:29:41 -05:00