Commit Graph

3109 Commits

Author SHA1 Message Date
Nicholas Nethercote
7b7acd41ea Bug 831193 (part 12) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxWindowsPlatform.cpp. r=jmuizelaar.
--HG--
extra : rebase_source : 7e7af6f1a59a8df65dcd6c9e16eff605c9b68572
2013-01-17 16:45:11 -08:00
Nicholas Nethercote
a7cb958343 Bug 831193 (part 11) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxAndroidPlatform.cpp. r=jlebar.
--HG--
extra : rebase_source : b683f7c4f991deefa99f460de89d37dbee56c1e4
2013-01-17 16:45:11 -08:00
John Daggett
cc0a077126 Bug 906704 - fix infinite loop drawing rotated synthetic bold text. r=jrmuizel 2013-08-28 08:36:02 +09:00
Edwin Flores
37cb83eb09 Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz 2013-06-10 13:25:12 +01:00
Robert O'Callahan
8bdab20fd7 Bug 906521. Part 6: Make gfxSVGGlyphs understand the new table format. r=jfkthame
This also adds a bunch of buffer sanity checks to the code. This may not be
strictly necessary, thanks to OTS, but I think we should code defensively here
too.

--HG--
extra : rebase_source : 26b11505aa143fae6f63cd5858c87a259bb54b50
2013-08-20 01:08:43 +12:00
Robert O'Callahan
ced25abc79 Bug 906521. Part 4: gfxSVGGlyphs should also check the version because it also does table parsing. r=jfkthame
--HG--
extra : rebase_source : 63d3e82908d1e42ab6990f280cb752f2547ab6cc
2013-08-20 01:08:43 +12:00
Robert O'Callahan
419b3b6eac Bug 906521. Part 2: Change from using the 'glyphid' attribute to using id='glyphNNN'. r=jfkthame
--HG--
extra : rebase_source : 5ce6484e72faacf6412987b27ca8179d495e0067
2013-08-20 01:08:43 +12:00
Robert O'Callahan
f1723fc430 Bug 906521. Part 1: Remove support for 'glyphchar' since it's no longer in the spec. r=jfkthame
--HG--
extra : rebase_source : 1d694f6e8579b20dbbe5c5d02411f078d7c67a83
2013-08-20 01:08:43 +12:00
Matt Woodrow
f6e05d5b54 Bug 908822 - Disable azure content on windows for now. r=nrc 2013-08-26 21:06:37 +12:00
Matt Woodrow
9981e0e2a8 Bug 909000 - Make SupportsAzureContentForBackend only return true for backends allowed by the current prefs. r=nrc 2013-08-26 16:13:24 +12:00
Ehsan Akhgari
ac5ab842c2 Bug 908671 - Don't #include gfxMatrix.h in gfx3DMatrix.h; r=jrmuizel 2013-08-23 13:22:49 -04:00
Matt Woodrow
11914fb596 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Matt Woodrow
4239d87f2d Bug 907011 - Enable Azure content for windows. r=Bas 2013-08-23 16:54:14 +12:00
Matt Woodrow
cd8a7c72ac Bug 907011 - Expose cairo objects from gfxContext when using Azure/cairo. r=Bas 2013-08-23 16:53:53 +12:00
Matt Woodrow
d9875997c1 Bug 907011 - Use the window device context for font metrics when using Azure. r=Bas 2013-08-23 16:53:30 +12:00
Bas Schouten
0d76cdc56d Bug 907011 - Workaround precision bugs in pixman when doing PopGroupToSource by drawing in device-space. r=mattwoodrow 2013-08-23 16:53:12 +12:00
Benoit Girard
d6b9b9b872 Bug 907286 - Implement Frame Counter for non OMTC basic. r=jmuizel,tnikkel
--HG--
extra : rebase_source : a2cf8295ead1af3f0a66491fd9455d37e7b3985d
2013-08-22 12:54:05 -04:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Nicholas Cameron
9b7d0b4cf3 Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Chris Lord
ce468943a9 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord
53810eb0be Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Jeff Muizelaar
ecae027e49 Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Arnaud Sourioux
de3b6b7cdf Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Ms2ger
c2315a28ab Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
0c3b97da57 Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ehsan Akhgari
dcc5877fbb Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Adrian May
a697186d75 Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical 2013-08-13 15:44:53 +02:00
Po-Chun Chang
6baaeb6ea1 Bug 898228 - Avoid wasted work in gfxContext::ClipContainsRect(). r=bas 2013-08-12 08:51:45 -04:00
Jonathan Kew
141239e413 bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett 2013-08-12 10:07:55 +01:00
Phil Ringnalda
26893fc5ad Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
f639add88a Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Ryan VanderMeulen
7b01d7a416 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce
1f88a47969 Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
Jonathan Kew
4387eff332 bug 880818 - check for failure when creating the cairo_scaled_font in gfxFT2Font::GetOrMakeFont. r=jdaggett 2013-08-09 09:51:51 +01:00
Matt Brubeck
077101237b Merge mozilla-central to mozilla-inbound 2013-08-08 21:49:53 -07:00
Matt Brubeck
c53520d691 Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes 2013-08-08 14:58:00 -07:00
Nicholas Cameron
180f8169bb Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
1bc1f9224a Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Jeff Muizelaar
949f85802a Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12
2013-07-31 14:46:25 -04:00
Josh Aas
8e90844825 Bug 899473 - Remove OS X 10.4 and 10.5 code from gfx. r=jmuizelaar 2013-08-06 17:52:52 -04:00
Jonathan Kew
283a063cb5 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
Nicolas Silva
8e7aa5738e Bug 899667 - Make layer borders more readable. r=BenWa 2013-08-03 00:50:17 +02:00
Nicholas Cameron
dd58f82344 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Benoit Girard
bebd5ab26c Bug 865902 - Port old gfx unit tests. r=milan
--HG--
rename : gfx/tests/TestColorNames.cpp => gfx/tests/gtest/TestColorNames.cpp
rename : gfx/tests/TestRect.cpp => gfx/tests/gtest/TestRect.cpp
rename : gfx/tests/TestRegion.cpp => gfx/tests/gtest/TestRegion.cpp
rename : gfx/tests/gfxFontSelectionTest.cpp => gfx/tests/gtest/gfxFontSelectionTest.cpp
rename : gfx/tests/gfxFontSelectionTests.h => gfx/tests/gtest/gfxFontSelectionTests.h
rename : gfx/tests/gfxSurfaceRefCountTest.cpp => gfx/tests/gtest/gfxSurfaceRefCountTest.cpp
rename : gfx/tests/gfxTextRunPerfTest.cpp => gfx/tests/gtest/gfxTextRunPerfTest.cpp
rename : gfx/tests/gfxWordCacheTest.cpp => gfx/tests/gtest/gfxWordCacheTest.cpp
rename : gfx/tests/per-word-runs.h => gfx/tests/gtest/per-word-runs.h
2013-04-25 19:02:13 -04:00
Birunthan Mohanathas
186d1e17e2 Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan 2013-07-31 11:44:31 -04:00
Jeff Muizelaar
0e7b768178 Bug 891650. Use mTransform instead of GetDTTransform() in Mask(). r=bas
GetDTTransform includes the device offset. We need to avoid that in order for things to work properly.

--HG--
extra : rebase_source : 5a8ae0011f16b85421df182263ec3137cecf6a6b
2013-07-30 10:15:27 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
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