Commit Graph

490 Commits

Author SHA1 Message Date
Jonathan Kew
732e11752e Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 15:14:54 +01:00
Anuj Agarwal
0393dda483 Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj 2014-10-01 11:26:00 +02:00
Jonathan Kew
b107bf5af1 Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett 2014-09-30 07:38:35 +01:00
Jonathan Kew
10867a56bf Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett 2014-09-30 07:38:26 +01:00
Jonathan Watt
2eb7a06afd Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas 2014-09-29 18:32:36 +01:00
Jonathan Watt
d4d4e380f3 Bug 1071774 - Restore the current transform in a couple of places that fail to do so. r=seth 2014-09-29 18:26:31 +01:00
Jonathan Watt
2fe02df4ea Bug 1073363, part 3 - Convert some Mozilla code to use Moz2D's new GeneralPattern class. r=Bas 2014-09-29 14:12:06 +01:00
John Daggett
aa3c4939b9 Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame 2014-09-25 12:16:54 +09:00
John Daggett
7fba2ab13e Bug 998869 part 4 - rename fontgroup methods. r=heycam 2014-09-25 12:16:54 +09:00
John Daggett
b1e97f13d2 Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame 2014-09-25 12:16:53 +09:00
Markus Stange
343f7c193c Bug 927892 - Use aDestPoint in dt->DrawFilter instead of a translation. r=Bas 2014-09-23 17:47:20 -04:00
Markus Stange
b8d18d13f4 Bug 927892 - Canvas filter drawing support. r=Bas 2014-09-23 17:47:20 -04:00
Markus Stange
22e424fd6b Bug 927892 - Split shadow drawing out of AdjustedTarget. r=Bas 2014-09-23 17:47:20 -04:00
Markus Stange
270387f9bb Bug 927892 - Also calculate bounds for canvas operations when a filter is used. r=Bas 2014-09-23 17:47:19 -04:00
Markus Stange
06ae8700a9 Bug 927892 - Keep the filter description up-to-date when something in the referenced filter changes. r=roc 2014-09-23 17:47:19 -04:00
Markus Stange
57d88d0d0e Bug 927892 - Correctly handle em/ex units in SVG filter primitive region length values. r=roc 2014-09-23 17:47:19 -04:00
Markus Stange
2adb11600c Bug 927892 - Resolve the parsed canvas filter to a FilterDescription. r=roc 2014-09-23 17:47:18 -04:00
Markus Stange
df4121f91b Bug 927892 - Add parsing support for canvas filters. r=heycam 2014-09-23 17:46:11 -04:00
Markus Stange
94ec302de4 Bug 927892 - Add the CanvasRenderingContext2D.filter property, preffed off by default behind canvas.filters.enabled. r=roc, r=smaug 2014-09-23 17:44:53 -04:00
Rik Cabanier
b0891b7c8c Bug 1070466 - Crash [@ mozilla::gfx::StreamPathToSinkApplierFunc] after path.addPath(path). r=roc 2014-09-20 11:03:00 -04:00
Sotaro Ikeda
f56895e7f2 Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Jonathan Watt
35ab786298 Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
96a5f5b9b8 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
chiajung hung
c73d202d34 Bug 1065759 - Fix a nit in CanvasRenderingContext2D::EnsureTarget. r=gwright 2014-09-10 23:04:00 +02:00
Jonathan Watt
727b0a4e88 Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Sotaro Ikeda
7fc39c4816 Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert 2014-09-09 18:40:51 -07:00
George Wright
c7ee3cf465 Bug 1061988 - Get rid of the notion of "demoting" and replace it with "switch rendering mode" r=snorp 2014-09-02 19:26:36 -04:00
George Wright
44c1203436 Bug 1061885 - [Skia] Do not demote for non-standard compositing ops r=snorp 2014-09-02 15:46:01 -04:00
Ehsan Akhgari
99fed18e00 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
James Kolb
73baa79505 Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
Botond Ballo
f4e48b3a62 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats 2014-08-28 12:45:48 -04:00
Rik Cabanier
9a5437d964 Bug 985801 - Add implementation for Path2D::AddPath. r=roc, r=bz 2014-08-25 09:03:00 -04:00
Seth Fowler
c25a32c077 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel 2014-08-22 13:12:38 -07:00
Botond Ballo
29e678a8e8 Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas 2014-08-19 13:08:16 -04:00
Wes Kocher
84b7885915 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Wes Kocher
773ac7a27f Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect 2014-08-06 15:43:25 -07:00
Botond Ballo
1d9a372eb4 Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats 2014-07-29 17:24:12 -04:00
James Kolb
a93ca7bd1e Bug 1028288 Add canvas global transparency support to svgs. r=roc 2014-08-02 16:14:53 +09:00
Jeff Muizelaar
f4162a1c39 Bug 1035244. Initialize canvas context width/height to 0, 0. r=bas
This fixes a ~50ms Phone and Contacts launch regression that's not
really understood.
2014-07-25 17:16:51 -04:00
Birunthan Mohanathas
3ae7697323 Bug 946065 - Part 1: Move content/canvas/ to dom/ and flatten subdirectories. r=ehsan 2014-07-25 14:15:35 -07:00