Bas Schouten
0cae097489
Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel
2012-01-31 06:15:23 +01:00
George Wright
5fd307b7b1
Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
...
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Jonathan Kew
86583c11cb
backout changeset bcd556d83109 (bug 721315) for reftest orange.
2012-01-28 09:37:15 +00:00
Jonathan Kew
8de5b3163e
bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett
2012-01-28 08:27:01 +00:00
Joe Drew
f54df1b8ab
Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
892502ef40
Bug 719629 - Add ThebesIntSize() convertor function. r=mattwoodrow
...
--HG--
extra : rebase_source : 85e496ac1b0dbd176157ab7feabd4c41bd29cce4
2012-01-27 13:09:09 -05:00
Joe Drew
415d0eacaa
Bug 719628 - Fix the formatting and naming of ThebesSurfaceKey. r=mattwoodrow
...
--HG--
extra : rebase_source : 371e80f924bc6f8dd3dbeea02999ebe8fdd7d27e
2012-01-27 13:08:58 -05:00
Joe Drew
93916b3c5b
Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
...
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Nicholas Nethercote
a7ad4ef70e
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Jonathan Kew
9abc24757f
bug 721068 - update to latest graphite2 code from upstream (hg rev 911:a697cecbaddd). rs=roc
2012-01-26 11:20:57 +00:00
Marco Castelluccio
94763126a2
Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow
2012-01-26 09:54:31 +09:00
Karl Tomlinson
ba0f5d0527
b=716402 improve inter-glyph pixel rounding r=jfkthame
2012-01-20 09:19:10 +00:00
Jonathan Kew
cca6cd92d3
bug 718513 - [dwrite] implement synthetic bolding for fonts loaded via @font-face with src:local(). r=bas
2012-01-18 21:18:10 +00:00
Jeff Muizelaar
57f0178ec2
Bug 717921. Only have one thebes surface. r=bas
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
80095e3007
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
7245b4f159
Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
2011-12-13 09:58:11 -05:00
Matt Brubeck
0dc4c17288
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
6eb206d846
Bug 717921. Only have one thebes surface. r=bas
...
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
b2072dc211
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
f0ddcff50f
Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
...
--HG--
extra : rebase_source : ec2d4e1c76e504b794707d83e5f31580aee81fee
2011-12-13 09:58:11 -05:00
Ms2ger
ce301744c0
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
e8f99f9572
Bug 717921. Only have one thebes surface. r=bas
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
e74511907f
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
4e229f2af6
Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
2011-12-13 09:58:11 -05:00
Jonathan Kew
faa24b11a2
bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc
2012-01-15 08:45:09 +00:00
Jonathan Kew
c0b92e301e
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-13 11:37:46 +00:00
Nathan Froyd
fa5154d0f1
Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame
2012-01-11 15:51:09 -05:00
Ed Morley
a5e2d37200
Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes
2012-01-12 13:30:39 +00:00
Jonathan Kew
451eefe74c
bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc
2012-01-12 12:44:05 +00:00
Nathan Froyd
4eb190e713
Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame
2012-01-11 15:51:09 -05:00
Joe Drew
75e6f69da6
Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Ed Morley
49f22f3ce4
Backout b9e154713763 (bug 702158) for pgo linux failures
2012-01-11 01:22:15 +00:00
Marco Castelluccio
e10776db76
Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow
2012-01-11 11:17:56 +13:00
Jonathan Kew
ee5bca4de4
bug 716229 - don't switch fonts for non-printing control chars. r=roc
2012-01-10 20:40:30 +00:00
Jonathan Kew
8fae2a5409
bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard
2012-01-10 14:47:52 +00:00
Kyle Huey
b82fe49789
Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium
2012-01-06 09:44:25 -05:00
Jonathan Kew
2c2e690cb8
bug 703100 followup - fix potential crash due to string not being null-terminated.
2012-01-05 14:41:37 +00:00
Jonathan Kew
174cf9e76f
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
39b0dea87f
bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
d5a2294830
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
ccc9f44ded
bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
61bcbc8a14
bug 703100 - pt 2.4.1 - make gfxPangoFontGroup font-matching behavior more similar to generic gfxFontGroup version. r=roc
2012-01-05 11:54:44 +00:00
Jonathan Kew
a496e551bd
bug 703100 - pt 2.4 - adapt Linux/Pango font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
6295b88fbb
bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
c331f7adb9
bug 703100 - pt 2.2 - adapt Mac font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
8a374cd168
bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
dab5dd6132
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Jonathan Kew
aa9862b507
bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett
2012-01-05 10:14:11 +00:00
Bas Schouten
bf4eadaee5
Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
0c431d68e7
Bug 711063 - Part 9: Adjust gfxDrawable to be compatible with the Azure Wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
e6a43af1fa
Bug 711063 - Part 5: Adjust gfxWindowsNativeDrawing to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
351194b1e9
Bug 711063 - Part 4: Adjust gfxUtils to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
29a752007d
Bug 711063 - Part 3: Adjust font code to be compatible with Azure wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Bas Schouten
2d4395c3fd
Bug 711063 - Part 2: Add new wrapper code for gfxContext and gfxPattern. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
fbae97b9be
Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Nicholas Nethercote
dcb5c7be56
Bug 710958 - Remove gfx{Glitz,DirectFB,QuartzPDF}Surface. r=joedrew.
...
--HG--
extra : rebase_source : da77b2ceb7840a42651386c822d5b21499bae439
2011-12-18 14:54:50 -08:00
Jeff Walden
08edc0c58a
Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert
2011-12-31 01:15:59 -06:00
Jeff Walden
841701c767
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Masatoshi Kimura
bca08a24f4
Bug 700057 - Create artificial names if English names not found in the name table. r=jfkthame
2011-12-19 10:48:46 +00:00
Jonathan Kew
ebaa9ad3ce
bug 711357 - release the CGFontRef after creating our font entry (which holds its own reference). r=jdaggett
2011-12-19 10:36:05 +00:00
Jonathan Kew
0236199d36
bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett
2011-12-19 10:33:37 +00:00
Jonathan Kew
71796a0d20
bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey
2011-12-19 01:55:11 +00:00
Nicholas Nethercote
8f335f567c
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Brubeck
7d451f6bac
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Bas Schouten
b1fe1c94c1
Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett
2011-12-15 17:12:40 +01:00
Justin Lebar
251efb48b8
Bug 708963 - Remove tautological comparison (unsigned int >= 0) in gfxFont.h. r=jmuizelaar
...
--HG--
extra : rebase_source : 1562649cfe16bbfeeacad6b53ba53f50c58fa2b0
2011-12-15 09:49:42 -05:00
Robert O'Callahan
c1f1cc4a64
Bug 708109. Remove THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING in favour of NS_ version. r=joe
2011-12-15 23:26:42 +13:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Jonathan Kew
164f1ffdde
bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Jonathan Kew
e24f640930
bug 631479 (part 3) - allow graphite tables to be passed through OTS for downloadable fonts. r=jdaggett
2011-12-09 22:32:29 +00:00
Jeff Walden
91683ae3e3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
John Daggett
5b27f91689
Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc
2011-12-07 12:02:53 +09:00
aceman
03b5fc2b81
Bug 704210 - Add license headers to files gfx/gl/Makefile.in and gfx/thebes/Makefile.in. r=joe
2011-12-03 13:04:52 +01:00
John Daggett
971bd19215
Bug 705590. Measure system font fallback times. r=jrmuizel
2011-11-30 10:55:11 +09:00
Nicholas Nethercote
f102556f32
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
David Marteau
59db32c5ad
Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg
2011-11-26 20:48:35 +01:00
Jonathan Kew
5d3cc2bea2
bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett
2011-11-21 08:19:57 +00:00
Joe Drew
9faa8a6d27
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-18 22:19:24 +13:00
Matt Woodrow
f1acc41494
Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel
...
--HG--
rename : gfx/thebes/EGLUtils.h => gfx/gl/EGLUtils.h
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProvider.h => gfx/gl/GLContextProvider.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderImpl.h => gfx/gl/GLContextProviderImpl.h
rename : gfx/thebes/GLContextProviderNull.cpp => gfx/gl/GLContextProviderNull.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLContextSymbols.h => gfx/gl/GLContextSymbols.h
rename : gfx/thebes/GLDefs.h => gfx/gl/GLDefs.h
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
2011-11-18 22:07:49 +13:00
Ed Morley
d06867876a
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
053e18194b
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Matt Woodrow
9f4d4881c9
Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas
2011-11-17 16:45:51 +13:00
Matt Woodrow
5adc6b8e01
Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc
2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Benoit Girard
1d1b235efb
Bug 671639 - Part 1: AttachIOSurface now updates the Framebuffer instead of recreating it. r=matt.woodrow
2011-11-16 11:36:06 +13:00
Joe Drew
890d07996d
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-14 17:29:28 +13:00
Joe Drew
303a252576
Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas
2011-11-14 17:29:14 +13:00
Matt Brubeck
d9a00c1f73
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Ali Juma
5ff47a56c5
Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel
2011-11-08 10:51:44 -05:00
Jacek Caban
c99fb93d82
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Matt Woodrow
d866e852f3
Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
0b21d3a24b
Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
4503deadd0
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
f58c65db73
Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas
2011-11-18 17:00:37 +13:00
Marco Castelluccio
65fe650cde
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Jeff Muizelaar
3dc2412d44
Bug 703472. Retain the DataSourceSurface. r=bas
...
The Quartz Azure backend has the data owned by the DataSourceSurface so we
can't drop the DataSourceSurface after creating an image surface around it.
This patch keeps the DataSourceSurface around for the lifetime of the
gfxASurface.
--HG--
extra : rebase_source : d758646bab85d827c09af390d11e5e30ad33a6c9
2011-11-15 11:44:21 +13:00