Commit Graph

1175 Commits

Author SHA1 Message Date
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