Nicolas Silva
a400802da9
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-29 20:19:28 +02:00
Nicolas Silva
a0adabcd8e
Bug 1289380 - Simplify PersistentBufferProviderShared. r=edwin
2016-07-27 16:50:20 +02:00
Nicolas Silva
3766bcc94a
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Sotaro Ikeda
51d8d5501a
Bug 1250914 - Create gl texture for each video frame drawing to SkiaGL canvas r=jrmuizel
2016-07-22 18:10:13 -07:00
Nicolas Silva
b0636255f6
Bug 1285263 - Restore clips with the proper transform when in CanvasRenderingContext2D::EnsureTarget. r=bas
2016-07-21 11:02:12 +02:00
vincentliu
48c5175431
Bug 1281800 - The API should return an empty array if maxWidth was provided but is less than or equal to zero or equal to NaN. r=jrmuizel
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
2016-07-19 10:52:50 +08:00
Kevin Chen
c1c1b5a407
Bug 1275693 - Refactor <canvas> strokeText drawing to re-use gfxTextRun::Draw. r=jfkthame
2016-07-14 02:00:00 +02:00
Kevin Chen
0cde4222e4
Bug 1275693 - Refactor <canvas> fillText drawing to re-use gfxTextRun::Draw. r=jfkthame
2016-07-13 19:07:00 +02:00
Nicolas Silva
9a979cbc1d
Bug 1284721 - Flush CanvasRenderingContext2D's DrawTarget when returning it to the BufferProvider. r=lsalzman
2016-07-11 17:44:27 +02:00
Nicolas Silva
4fad78061e
Bug 1285207 - Don't let canvas have a DrawTarget without a BufferProvider and keep them in sync. r=lsalzman
2016-07-11 17:44:25 +02:00
Wes Kocher
209d5edb7b
Backed out changeset b966ababca8d (bug 1284721) for bustage CLOSED TREE
...
***
Backed out 3 changesets (bug 1284721, bug 1285207) for bustage CLOSED TREE
Backed out changeset 75f6c7e15d76 (bug 1284721)
Backed out changeset b7f2d54f3904 (bug 1285207)
Backed out changeset fceb3f145f91 (bug 1284721)
2016-07-08 12:17:06 -07:00
Nicolas Silva
c1ab3ae570
Bug 1284721 - Flush CanvasRenderingContext2D's DrawTarget before handing it off to the BufferProvider. r=lsalzman
2016-07-08 19:26:48 +02:00
Nicolas Silva
c437c2c699
Bug 1285207 - Don't let canvas have a DrawTarget without a BufferProvider and keep them in sync. r=lsalzman
2016-07-08 19:26:44 +02:00
Carsten "Tomcat" Book
0956961fbc
merge mozilla-inbound to mozilla-central a=merge
2016-07-08 11:58:46 +02:00
kearwood
b5b6726ccc
Bug 1284324 - Implement Canvas Layer mirrors r=bas
...
- When a canvas layer is set to mirror, it copies the
texture from the canvas rather than changing the
texture factory with Morph().
- This is useful when a canvas content will be sent to
multiple devices simultaneously, such as a VR HMD
and a 2d monitor mirror.
- This is used by the WebVR 1.0 API, in Bug 1250244
MozReview-Commit-ID: JfMSockO2uz
2016-07-04 13:11:07 -07:00
Boris Zbarsky
2060db2920
Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley
2016-07-07 20:08:26 -04:00
Nicolas Silva
1548bf8ce0
Bug 1167235 - Part 7 - Don't paint directly into a canvas with DrawWindow when using a shared PersistentBufferProvider. r=lsalzman
2016-07-01 10:58:26 +02:00
Nicolas Silva
580b6e4d8f
Bug 1167235 - Part 5 - Unlock canvas2D resources after drawing. r=Bas
2016-07-01 10:58:20 +02:00
Nicolas Silva
74b2b18373
Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas
2016-07-01 10:58:18 +02:00
Nicolas Silva
84cb9d96a7
Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas
2016-07-01 10:58:06 +02:00
Sebastian Hengst
cf24627d37
Backed out changeset 14dfa550c783 (bug 1167235)
2016-06-28 20:28:23 +02:00
Sebastian Hengst
dc841259f4
Backed out changeset f534fcb785c9 (bug 1167235)
2016-06-28 20:28:22 +02:00
Sebastian Hengst
1038d10e56
Backed out changeset 61465f67b591 (bug 1167235)
2016-06-28 20:28:22 +02:00
Nicolas Silva
9422c5654e
Bug 1167235 - Part 5 - Unlock canvas2D resources after drawing. r=Bas
2016-06-28 14:07:02 +02:00
Nicolas Silva
2931e6ed92
Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas
2016-06-28 14:07:00 +02:00
Nicolas Silva
fe2f5020fe
Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas
2016-06-28 14:06:51 +02:00
Jonathan Watt
3e53df336e
Bug 1279628, part 3 - Replace the last gfxASurface::CheckSurfaceSize call, and remove gfxASurface::CheckSurfaceSize. r=mstange
2016-06-10 13:32:01 +01:00
Jonathan Watt
693a4df952
Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange
2016-06-10 13:32:01 +01:00
Phil Ringnalda
8c9ca22137
Back out 2 changesets (bug 1279628) for reftest bustage
...
CLOSED TREE
Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Jonathan Watt
4df2fe5523
Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
2016-06-09 15:31:24 +01:00
eyim
e2c2b0b56c
Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
...
MozReview-Commit-ID: FjLA9xNH3zD
2016-06-06 11:17:23 -04:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Nicholas Nethercote
64bfc9d2ab
Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a41e57a9b1
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
2016-06-07 09:39:56 +10:00
Jonathan Watt
fa7b69b631
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Tobias Schneider
dd9f58cf1e
Bug 1174278 - Make filter tainting and canvas tainting. r=jrmuizel
2016-05-24 21:50:02 -07:00
Jonathan Kew
2a5e08da26
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
Mason Chang
d5737706be
Bug 1267260 - Change CanvasImageCache to lookup cache images based on imgIContainer instead of imgIRequest. r=seth
2016-05-10 08:00:06 -07:00
Michael Kohler
84e09dc0d9
Bug 1217031 - createPattern should not throw NS_ERROR_NOT_AVAILABLE if image usability check returns bad r=bz
...
MozReview-Commit-ID: 101uAYhcx3u
2016-05-03 17:41:02 -07:00
Carsten "Tomcat" Book
0862e14b0d
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
82ce40b9be
Bug 1217031 - createPattern should not throw NS_ERROR_NOT_AVAILABLE if image usability check returns bad. r=bz
2016-04-24 12:20:00 +02:00
Bob Owen
a7bf88d853
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
Jonathan Watt
5199de2cab
No Bug - Remove some unnecessary SVGImageContext.h includes and add comments. r=sparky
2016-04-22 15:07:31 +01:00
Jonathan Kew
e6846dd2c6
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
Lee Salzman
99b70f4e21
Bug 1257717 - throw InvalidStateError when CreatePattern fails to snapshot source. r=jrmuizel
2016-04-14 16:20:12 -04:00
David Anderson
e65ca29f0b
Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
2016-04-13 19:24:42 -04:00
Milan Sreckovic
dd0830c93c
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
2016-04-12 15:18:11 -04:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Cameron McCormack
a08ba659c3
Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00