Jeff Muizelaar
7dfe172ed7
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
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Nicolas Silva
5ec3fda767
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Chris Kitching
a3b82d4e55
Bug 898028 - Fix crash @ gfxUtils::ConvertBGRAtoRGBA(). r=jgilbert
2013-07-29 16:24:57 -04:00
John Daggett
49087c1b1c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-30 05:01:14 +09:00
John Daggett
852023e695
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-30 05:00:53 +09:00
John Daggett
b439b6e590
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Ed Morley
213793252e
Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures
2013-07-29 11:09:26 +01:00
Ed Morley
b711f1b3aa
Backed out changeset 04a45dec4326 (bug 898267)
2013-07-29 11:08:52 +01:00
Ed Morley
b8c5ca2e7d
Backed out changeset 7174bdf1201e (bug 857142)
2013-07-29 11:08:49 +01:00
John Daggett
f227c3953c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-29 17:33:52 +09:00
John Daggett
79e2fd3173
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-29 17:33:43 +09:00
John Daggett
f843bbb3ea
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-29 17:33:35 +09:00
Nicholas Cameron
7472580c15
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
562e0d0eac
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
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Jonathan Kew
7bda5a6c80
backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200.
2013-07-23 09:38:57 +01:00
Gervase Markham
acfedfd6cb
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Jonathan Kew
61edd65b1e
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
81b0d336c3
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Jeff Muizelaar
8566657ec1
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
b74ce7787c
Bug 894957 - Don't attempt to draw transparent text. r=roc
2013-07-18 08:36:05 +02:00
Ed Morley
9424eb7c9e
Backed out changeset 33c17daf66bf (bug 879963)
2013-07-17 17:07:30 +01:00
Bas Schouten
7c1ee02372
Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel
2013-07-17 14:12:22 +02:00
Jonathan Kew
f6223eadc2
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
b06762e454
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
684d1c65f3
Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel
2013-07-12 17:19:29 -04:00
Matt Woodrow
9da84efe22
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Phil Ringnalda
8dcbf36c38
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
ef352d5aef
Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel
2013-07-12 17:19:29 -04:00
Matt Woodrow
386a557051
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Matt Woodrow
125c1ad96b
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
5b43ee14ca
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
Jeff Muizelaar
28dd205a48
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
80cb6231b8
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Jeff Muizelaar
9000441a55
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
93da75702f
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
70d581c00d
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
5e73252a64
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
297ed9fec9
Bug 869764. Eliminate use of t2embed library in Windows GDI case. r=emk
2013-07-09 10:40:03 +09:00
Joey Armstrong
a6b9800cfb
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Benoit Girard
4138a43f75
Bug 890630 - Port FrameCounter to the compositor API. r=nical
2013-07-06 12:19:52 -04:00
Ryan VanderMeulen
8bf46962c6
Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes.
2013-07-03 10:14:11 -04:00
James Willcox
a9323d5fe7
Bug 885623 - Disable some gradient tests for SkiaGL r=gw280
2013-06-24 13:32:59 -04:00
Benoit Jacob
019e7f80e4
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
860e8df0b1
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
3cc9485feb
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
8ca610b51c
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
George Wright
b05c1cf852
Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow
2013-04-09 15:57:22 -04:00
Matt Woodrow
d426585dce
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
62b86193e4
bug 889365 - re-enable timed expiration of shaped word cache entries. r=roc
2013-07-03 12:36:58 +01:00
Trevor Saunders
795144e55a
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Joey Armstrong
2e19c976cc
bug 870407: move CMMSRCS to mozbuild (file batch #2 ) r=mshal
2013-07-01 12:32:40 -04:00
Catalin Iacob
ff12d6de33
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
6c46d0633d
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
75c400493b
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
21f4113886
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
3cd852181b
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
56cd4d45f3
Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions
2013-06-25 11:26:00 +01:00
Jonathan Kew
b606d6d74d
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
4f03e5bb1a
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
48aa80f20f
Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc
2013-06-24 17:27:29 +12:00
Jeff Muizelaar
3bd854107b
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
72a7ac139c
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
2b16cfb484
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
d6069876ed
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
2644c6aa00
Bug 876043 - Build for multi qt4/qt5 ubuntu environment. r=romaxa, r=glandium
2013-06-19 15:08:44 -07:00
Jeff Muizelaar
6fc104ba83
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
01296b90c1
Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
...
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
f7aa0ef397
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
4f43e21bf5
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
3cd56434ca
bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett
2013-06-12 13:08:53 +01:00
Jonathan Kew
66049a0a86
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
a32d506ac3
Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt
2013-06-11 13:40:27 -04:00
Karl Tomlinson
3f51c42b11
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
788d65e368
Backed out changeset ae2b07dfd3d0 (bug 875218) because of build bustage on a CLOSED TREE
2013-06-05 14:54:43 -04:00
George Wright
f71f7293a2
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
Jonathan Kew
f2be763bd2
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
88238a55e8
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
5d63f21d00
Bug 878522. Don't permit Azure/content/Cairo on Linux. r=kentuckyfriedtakahe
2013-06-04 17:18:27 +12:00
Milan Sreckovic
80778bc74f
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
9d20f65d5f
Bug 722975: Unbreak builds using --with-system-cairo. r=bas
2013-06-01 00:23:05 +02:00
Jonathan Kew
5e335bb455
bug 847344 followup - explicitly cast the AutoSwap type to avoid ambiguity r=roc
2013-05-20 11:33:16 +08:00
Jeff Gilbert
ea987c7dd2
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Nicolas Silva
3d80aaa983
Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow
2013-05-26 04:44:24 +02:00
Mike Shal
994cfe0b6b
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
f092eb387c
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
18866d81dc
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Jonathan Kew
0980c2cd57
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
bb67ab0a14
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
7160043c3a
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
1134362932
Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures.
2013-05-22 13:18:19 +08:00
Jonathan Kew
b95f14bee7
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
676e01f94f
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
ce8fcc565c
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
ba4133d1ab
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
f146fdebf7
Bug 549861 - add missing files from reland patch. r=bustage
2013-05-20 12:47:32 +09:00
Jonathan Kew
5088360b94
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
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b
Merge backout.
2013-05-19 20:26:58 +02:00