Commit Graph

3209 Commits

Author SHA1 Message Date
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Jim Mathies
0cbcf40108 Bug 870390 - Remove the bit of code that forces the d2d backend on for metrofx. r=bbondy 2013-06-26 19:31:56 -05:00
Jonathan Kew
394d375f91 bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc 2013-06-25 09:14:03 +01:00
Ed Morley
3b7e3a0a84 Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions 2013-06-25 11:26:00 +01:00
Jonathan Kew
e13a42f40c bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc 2013-06-25 09:14:03 +01:00
Catalin Iacob
6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Matt Woodrow
1cff1e2f07 Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Jeff Muizelaar
313cf88dee Bug 885020. Make Mask() use MaskSurface when drawing with EXTEND_NONE. r=bas
We can avoid the overhead of Mask() in situations where we are drawing with
a surface mask and EXTEND_NONE.

--HG--
extra : rebase_source : 578d1ab2de5dee536215ffccc5f80a907efb2140
2013-06-19 17:14:24 -04:00
Jeff Muizelaar
6f60fff27a Bug 885016. Avoid using uninitiated extend in gfxPattern. r=bas
This changes gfxPattern to use GraphicsExtend. All of the inputs and outputs
are GraphicsExtend so there's no point storing it in a type of ExtendMode. We
also intialize gfxPattern to EXTEND_NONE when constructing it for Azure.

--HG--
extra : rebase_source : 576a620b45d5222a5548dd79520537d52ed5659e
2013-06-19 17:06:42 -04:00
Jeff Muizelaar
40fccc1fd4 Bug 885621. Fix gfxPattern::GetMatrix() with azure and add GetInverseMatrix(). r=bas
Currently SetMatrix will take the Inverse of the passed in matrix but GetMatrix
doesn't not invert it on the way out. This fixes that and adds a
GetInverseMatrix() so that we don't double invert it when we need the inverse.

--HG--
extra : rebase_source : 6bb2049ccee22c62b1825687ecd09ddd1aad8b2e
2013-06-21 14:55:24 -04:00
Matt Woodrow
7fe6df5f70 Bug 756601 - Enable OMTC by default on OSX 10.7 and 10.8. r=roc 2013-06-21 09:32:04 +12:00
Tatiana Meshkova
0e696cb125 Bug 876043 - Build for multi qt4/qt5 ubuntu environment. r=romaxa, r=glandium 2013-06-19 15:08:44 -07:00
Jeff Muizelaar
44d26ad07a Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
extra : rebase_source : a3031305302fb4abe93aa480df35ed0936d68cd8
2013-06-12 23:57:51 -04:00
Ryan VanderMeulen
e6eb53fb07 Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
32dbe991d6 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg => layout/reftests/svg/non-scaling-stroke-03-ref.svg
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke.svg => layout/reftests/svg/non-scaling-stroke-03.svg
extra : rebase_source : a1218b8bc5cdcec7d4dd94561d841fb6e2a8ce5d
2013-06-12 23:57:51 -04:00
Jonathan Kew
f5c75311d1 bug 877203 - consistently use pixel-rounded values for maxAscent/Descent in the FT2 font metrics. r=roc 2013-06-18 07:50:02 +01:00
Jonathan Kew
a68a7de6da bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett 2013-06-12 13:08:53 +01:00
Jonathan Kew
250014b672 bug 880690 - pt 1 - fix handling of glyph ID range in SVG glyph index entries. r=roc 2013-06-12 10:48:35 +01:00
Martin Stransky
b3b0827162 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Karl Tomlinson
da84656417 b=810252 remove default-unused Pango shaping code r=jfkthame
--HG--
extra : transplant_source : %19%97%F6%D5%F7h%1D-Yg%D6%08%226h%BE%D3%E4%12%22
2013-06-06 15:21:40 +12:00
Ehsan Akhgari
6d27bbe3ef Backed out changeset ae2b07dfd3d0 (bug 875218) because of build bustage on a CLOSED TREE 2013-06-05 14:54:43 -04:00
George Wright
c5b447e581 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
Jonathan Kew
7737e17fd7 bug 875629 - handle UTF-16 surrogate pairs in the SVG-in-OpenType glyphchar attribute. r=roc 2013-06-05 12:34:48 +01:00
Nicholas Cameron
4f491064ec Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Nicholas Cameron
c069c2b5fb Bug 878522. Don't permit Azure/content/Cairo on Linux. r=kentuckyfriedtakahe 2013-06-04 17:18:27 +12:00
Milan Sreckovic
8dd14782bb Bug 876208: only evaluate the preference for gfx.direct2d.* once, and require restart before any further changes to the preferences take effect in the code, r=bas 2013-05-30 16:53:37 -04:00
Connor Behan
b8c31ae955 Bug 722975: Unbreak builds using --with-system-cairo. r=bas 2013-06-01 00:23:05 +02:00
Jonathan Kew
998055a772 bug 847344 followup - explicitly cast the AutoSwap type to avoid ambiguity r=roc 2013-05-20 11:33:16 +08:00
Jeff Gilbert
d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Nicolas Silva
64e53fc053 Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Kew
e18800113e backout changesets d8f3694dd6df (bug 871961 pt 2) and b77d5e403c3d (bug 871961 pt 4) for making the browser crashy. r=me 2013-05-25 21:06:59 +08:00
Aryeh Gregor
8b16f79037 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jonathan Kew
64135bae96 bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Matt Woodrow
e32f79e41c Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 15:04:12 +08:00
Jonathan Kew
f2868384ce bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc 2013-05-22 14:42:30 +08:00
Matt Woodrow
153f37adaa Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Jonathan Kew
a80c470dd2 bug 862222 pt 2 - empty the webfont cache in response to cacheservice:empty-cache notification. r=roc 2013-05-22 12:39:47 +08:00
Jonathan Kew
224eec2ee6 bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc 2013-05-22 12:39:39 +08:00
Matt Woodrow
d840fcc9ca Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 11:36:39 +08:00
Jonathan Kew
a9a5996e88 bug 874053 - ReadCMAP() must not leave the font entry's mCharacterMap pointer NULL, even if cmap table can't be read. r=roc 2013-05-21 12:25:47 +08:00
John Daggett
77f5e06d8f Bug 549861 - add missing files from reland patch. r=bustage 2013-05-20 12:47:32 +09:00
Jonathan Kew
3eb1fdd857 bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc 2013-05-16 17:29:20 +01:00
John Daggett
0eae803e8f Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
a8ca7bda9d Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
7786ea6954 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Ms2ger
63c2282db0 Backout changeset 0a6d36fc3749 for conflicting with the backout of bug 549861. 2013-05-19 20:22:17 +02:00
John Daggett
14610ff282 Bug 549861. Trim out kerning from gfxFontStyle. r=jkew 2013-05-13 18:45:38 +09:00
John Daggett
be11778d6b Bug 549861. Implement gfx support for font-variant-alternates. r=jkew 2013-05-13 18:45:37 +09:00