Commit Graph

3007 Commits

Author SHA1 Message Date
Nicolas Silva
2b6a0c31a2 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Chris Kitching
5ac5ecb22d Bug 898028 - Fix crash @ gfxUtils::ConvertBGRAtoRGBA(). r=jgilbert 2013-07-29 16:24:57 -04:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
64789c29d2 Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel 2013-07-30 05:00:53 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Ed Morley
68957fc8a4 Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures 2013-07-29 11:09:26 +01:00
Ed Morley
1d1beb8a4e Backed out changeset 04a45dec4326 (bug 898267) 2013-07-29 11:08:52 +01:00
Ed Morley
8ccc97c967 Backed out changeset 7174bdf1201e (bug 857142) 2013-07-29 11:08:49 +01:00
John Daggett
b011ed564d Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-29 17:33:52 +09:00
John Daggett
c3d536ed2b Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel 2013-07-29 17:33:43 +09:00
John Daggett
60b8376081 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-29 17:33:35 +09:00
Nicholas Cameron
55c1931c05 Bug 756606. Don't try to fast path D2D A8 surfaces in GetSourceSurfaceForSurface. r=Bas 2013-07-29 10:12:37 +12:00
David Anderson
bb159eb494 Only use DirectX 11.1 on Windows 8 or higher (bug 893221, r=bas).
--HG--
extra : rebase_source : 147493bef3e487c6ab5424c3e4a4fd2fd2440e09
2013-07-24 11:52:54 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Jonathan Kew
deaf3f5b3a backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Gervase Markham
83c0913922 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Jonathan Kew
e9df9a17d2 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Jeff Muizelaar
557b4f19f9 Bug 895007. Handle zero size native drawing more gracefully. r=mattwoodrow
This fixes null drawtarget crashes

--HG--
extra : rebase_source : e7edd25c21edc636fad1a88940d97db4af269f0b
2013-07-17 16:16:41 -04:00
Markus Stange
48b1dcbd40 Bug 894957 - Don't attempt to draw transparent text. r=roc 2013-07-18 08:36:05 +02:00
Ed Morley
01e793a3a4 Backed out changeset 33c17daf66bf (bug 879963) 2013-07-17 17:07:30 +01:00
Bas Schouten
9f559af1e2 Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Jonathan Kew
2fc8207e32 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Matt Woodrow
176768d454 Bug 892966 - Clear any cached SourceSurfaces when a gfxASurface is flushed or marked dirty. r=jrmuizel 2013-07-11 22:44:29 -04:00
Matt Woodrow
1771e697f1 Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
0debdb2a99 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Phil Ringnalda
82da68ce77 Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
CLOSED TREE
2013-07-12 16:39:36 -07:00
Matt Woodrow
c2496a9870 Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
fd6c011a54 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
c1f63582a2 Bug 892966 - Implement CreateSourceSurfaceFromNativeSurface for DrawTargetCG and use it instead of copying pixel data. r=jrmuizel 2013-07-12 17:19:28 -04:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Jeff Muizelaar
338f482c3d Bug 891660. Backout the part of c59328e3cabf that broke mochitest 4
--HG--
extra : rebase_source : fa7b76b37f575742342b4914a1859bf3820f8593
2013-07-10 16:22:32 -04:00
Avi Halachmi
33f8c51e08 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03:00
Jeff Muizelaar
d4c95018cd Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Matt Woodrow
146fa01a1e Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Matt Woodrow
6c47d7391d Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Markus Stange
a43c75493b Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
John Daggett
47e484ae88 Bug 869764. Eliminate use of t2embed library in Windows GDI case. r=emk 2013-07-09 10:40:03 +09:00
Joey Armstrong
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Benoit Girard
d000f2c08b Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -04:00
Ryan VanderMeulen
38a9d6f38d Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
James Willcox
f10daf743a Bug 885623 - Disable some gradient tests for SkiaGL r=gw280 2013-06-24 13:32:59 -04:00
Benoit Jacob
f0a1c91ea8 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob
70a86a8ebb Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel 2013-06-28 22:48:35 -04:00
George Wright
18f4f04c76 Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
George Wright
dc4ca76cb2 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
George Wright
fadeba4d82 Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow 2013-04-09 15:57:22 -04:00
Matt Woodrow
d34edcb95b Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Jonathan Kew
cef4da253f bug 889365 - re-enable timed expiration of shaped word cache entries. r=roc 2013-07-03 12:36:58 +01:00
Trevor Saunders
ea8461a6ca bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel 2013-06-16 03:09:07 -04:00
Joey Armstrong
f183040ef5 bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Catalin Iacob
088b9fe162 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
Justin Lebar
09d2312322 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
cab87a0cce 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
57497c10c8 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
cde5e625bc 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
e68d70b967 Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions 2013-06-25 11:26:00 +01:00
Jonathan Kew
d3da72928e 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
83b78343dc 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
e1a0d2923b Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Jeff Muizelaar
f1f7e5df13 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
0a1ce8e213 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
971ac55d18 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
9e2717d794 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
e7e0d95611 Bug 876043 - Build for multi qt4/qt5 ubuntu environment. r=romaxa, r=glandium 2013-06-19 15:08:44 -07:00
Jeff Muizelaar
9925eb3684 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
63406f756c Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
f9e37e5828 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
66d469548d 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
c4ee226766 bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett 2013-06-12 13:08:53 +01:00
Jonathan Kew
b7755dd8dc 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
577cf4c6d4 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Karl Tomlinson
dc29740b2d 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
0256ba6673 Backed out changeset ae2b07dfd3d0 (bug 875218) because of build bustage on a CLOSED TREE 2013-06-05 14:54:43 -04:00
George Wright
9e03db43d9 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
Jonathan Kew
9aa9a0aa9a 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
6e0a3f59c0 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
8fd530d445 Bug 878522. Don't permit Azure/content/Cairo on Linux. r=kentuckyfriedtakahe 2013-06-04 17:18:27 +12:00
Milan Sreckovic
637a4266f6 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
4eee3aa7c0 Bug 722975: Unbreak builds using --with-system-cairo. r=bas 2013-06-01 00:23:05 +02:00
Jonathan Kew
42f6e866bf bug 847344 followup - explicitly cast the AutoSwap type to avoid ambiguity r=roc 2013-05-20 11:33:16 +08:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Nicolas Silva
56b552e21e Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Mike Shal
6f32ddf61c 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
4131e1e140 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
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jonathan Kew
e3e7dd0c6c 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
ac9b0734ab 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
9af24cb77c 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
6e5cd2cba5 Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Jonathan Kew
cc26becaf5 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
ec3bf09cb0 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
d20bcb4257 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
1b6d3e5fef 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
6ef6e22846 Bug 549861 - add missing files from reland patch. r=bustage 2013-05-20 12:47:32 +09:00
Jonathan Kew
1ecd77525b 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
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
9d5803279f Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Ms2ger
ecc15add17 Backout changeset 0a6d36fc3749 for conflicting with the backout of bug 549861. 2013-05-19 20:22:17 +02:00