Commit Graph

2305 Commits

Author SHA1 Message Date
Phil Ringnalda
bdec90789d Back out c891149d1ca4 (bug 719776) for Windows build bustage 2012-03-11 19:25:16 -07:00
Matt Woodrow
f519d4dfdc Bug 719776 - Remove external dependencies from Azure. r=Bas 2012-03-12 15:00:57 +13:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Nathan Froyd
099b3154b4 Bug 731301 - eliminate duplicate headers in gfx/; r=jrmuizel 2012-02-29 10:23:37 -05:00
Nathan Froyd
073f29b803 Bug 700659 - Slay nsHashSets in gfx/thebes, round 2. r=jrmuizel 2012-02-27 11:19:36 -05:00
Jonathan Kew
5b0e4bbb7b bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Masatoshi Kimura
efa6083243 Bug 730550 - Make sure the t2embed library is available before using. r=jdaggett
--HG--
extra : rebase_source : f5fd56246a71795ad872f4db10c58c9f28fbaac2
2012-02-28 17:04:05 +01:00
Jonathan Kew
143e5862ee bug 707959 - followup, move font cache telemetry into gfxFontCache::Lookup. r=roc 2012-02-15 10:17:25 +00:00
John Daggett
62f0357445 Bug 707959. Add word cache and font cache telemetry probes. r=roc 2012-02-15 15:37:48 +09:00
Jonathan Kew
dfd78e9265 bug 726962 - remove stray instances of PRBool in gfx. r=joe 2012-02-14 16:17:19 +00:00
Rafael Ávila de Espíndola
5f403b6deb Bug 723738. Move comment. r=jmuizelaar. 2012-02-14 09:22:23 -05:00
Jonathan Kew
777cd62f11 bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
636a871edd bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett 2011-08-09 09:00:52 +01:00
Jonathan Kew
263e79641c bug 724231 - ensure synthetic font styles under GDI are truly synthetic, rather than using a potentially incompatible font face. r=jdaggett 2012-02-14 08:24:26 +00:00
Jonathan Kew
6f8dbeb979 bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett
harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9;
replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx;
adapted for changes to HB function signatures.
2012-02-14 08:03:01 +00:00
Hugh Nougher
7d09869cd2 Bug 689870 - Add memory reporter for (shared) GPU memory. r=nnethercote,jmuizelaar. 2012-02-08 15:13:50 -08:00
Joe Drew
9e3248eeb9 Bug 720467 - Update comments, which I forgot to commit. 2012-02-09 14:05:11 -05:00
Brian R. Bondy
60e9d05597 Bug 722225 - Improve Firefox startup speed by ~5% (-70ms) on Windows by optimizing D3D10CreateDevice1. r=bas 2012-02-09 13:50:54 -05:00
Chris Jones
ce62e557b5 Bug 725240: Re-enable hinting on 'mobile' when non-reflowing-zoom isn't going to be used. r=jfkthame 2012-02-08 14:52:57 -08:00
Ed Morley
ada565efab Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Bas Schouten
13b54eb6ce Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Joe Drew
823768c293 Bug 720467 - Shut down all the available GL context providers. r=jgilbert 2012-02-06 22:09:28 -05:00
Simon Montagu
cc6357ccc9 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
Nathan Froyd
b9d5bef2be Bug 724275 - fix -Wswitch warnings; r=jrmuizel 2012-02-04 07:22:47 -05:00
Edwin Flores
bc6a31b0b1 Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Rafael Ávila de Espíndola
0112747391 Bug 723738 - Remove invalid forward declaration of an objective c interface. r=BenWa. 2012-02-03 01:22:34 +01:00
Jonathan Kew
5b11414fc9 bug 721315 - clear the faces' mFamily pointers when a font family is deleted. r=jdaggett 2012-02-02 11:24:22 +00:00
Jonathan Kew
d3b1b52568 bug 721315 - fix nsUserFontSet::UpdateRules to detach faces from families that are being replaced. r=jdaggett 2012-02-02 11:24:22 +00:00
Bas Schouten
f41ddf02da Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Bas Schouten
2923f1a1c9 Bug 624109: Deal with failing DXGI factory creation due to DLL injections. r=joedrew 2012-01-31 06:15:23 +01:00
Bas Schouten
67de65ca66 Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel 2012-01-31 06:15:23 +01:00
George Wright
f175ca9984 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
d324fdbcb2 backout changeset bcd556d83109 (bug 721315) for reftest orange. 2012-01-28 09:37:15 +00:00
Jonathan Kew
ad4fa54177 bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett 2012-01-28 08:27:01 +00:00
Joe Drew
24e53f97aa 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
b1afbbe8ab Bug 719629 - Add ThebesIntSize() convertor function. r=mattwoodrow
--HG--
extra : rebase_source : 85e496ac1b0dbd176157ab7feabd4c41bd29cce4
2012-01-27 13:09:09 -05:00
Joe Drew
efcc3eb0ef 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
fcbcf9f7e7 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
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
3f5de025f0 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
19bbd8ae76 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
798dc727de Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Karl Tomlinson
2d98cf01f5 b=716402 improve inter-glyph pixel rounding r=jfkthame 2012-01-20 09:19:10 +00:00
Jonathan Kew
3a14b1e4be 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
70ef4ef0ad Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
d2397bb29b Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
c9be313fe1 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Matt Brubeck
717184f6d9 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
e098baef0d Bug 717921. Only have one thebes surface. r=bas
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
529f347f49 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
106d95528a 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
5bd0fc389c 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
8369528d31 Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
f4d68ad863 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
6a40672d79 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Jonathan Kew
ce4e5f11cc 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
861f13c646 bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Nathan Froyd
bc820f122e Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Ed Morley
2d367bdbd8 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
16e9fbe2df bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Nathan Froyd
4d3e6d4a20 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Joe Drew
8cc05dbabc 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
ed04f5bb8e Backout b9e154713763 (bug 702158) for pgo linux failures 2012-01-11 01:22:15 +00:00
Marco Castelluccio
7de5f246ff Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow 2012-01-11 11:17:56 +13:00
Jonathan Kew
0299bb22c5 bug 716229 - don't switch fonts for non-printing control chars. r=roc 2012-01-10 20:40:30 +00:00
Jonathan Kew
703ff33238 bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard 2012-01-10 14:47:52 +00:00
Kyle Huey
40b26fb600 Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium 2012-01-06 09:44:25 -05:00
Jonathan Kew
ef5972b56b bug 703100 followup - fix potential crash due to string not being null-terminated. 2012-01-05 14:41:37 +00:00
Jonathan Kew
6e85485e5c 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
7ccaa62585 bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc 2012-01-05 11:54:45 +00:00
Jonathan Kew
1bf3af6cfe bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
bf44ffadea 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
1be7f64c75 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
c0d8a929ad 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
ffc47897ce 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
0de751c7c0 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
569f6de227 bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
f702c54c74 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Jonathan Kew
07d0c6eea4 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
589af2c146 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
0b22cc5542 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
338c264807 Bug 711063 - Part 5: Adjust gfxWindowsNativeDrawing to be compatible with Azure wrapper. r=jrmuizel 2012-01-05 08:17:52 +01:00
Bas Schouten
a8dc64fce4 Bug 711063 - Part 4: Adjust gfxUtils to be compatible with Azure wrapper. r=jrmuizel 2012-01-05 08:17:51 +01:00
Bas Schouten
2c3f9cecef 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
cb4d099430 Bug 711063 - Part 2: Add new wrapper code for gfxContext and gfxPattern. r=jrmuizel 2012-01-05 08:17:51 +01:00
Bas Schouten
1cd7f246df Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew 2012-01-05 08:17:51 +01:00
Nicholas Nethercote
f7b2a8b9f1 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
553cc19655 Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert 2011-12-31 01:15:59 -06:00
Jeff Walden
5d0d2b2e73 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
a020b3f1d8 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
2fb4204447 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
370006eab0 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
a95afb1ac9 bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey 2011-12-19 01:55:11 +00:00
Nicholas Nethercote
2fa63e0548 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
5d8466250b Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea 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
1491f130ef Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett 2011-12-15 17:12:40 +01:00
Justin Lebar
3cfcc44884 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
06e43725c2 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
e51c16190c 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
db8015990f 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
873f88c1f3 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
461e38f5e8 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
John Daggett
fe75ceb337 Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc 2011-12-07 12:02:53 +09:00
aceman
60be1addd1 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
0977d91a9a Bug 705590. Measure system font fallback times. r=jrmuizel 2011-11-30 10:55:11 +09:00
Nicholas Nethercote
f1e77095c2 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
31eb0b25f9 Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg 2011-11-26 20:48:35 +01:00
Jonathan Kew
45f3b099cf bug 703411 - remove redundant 'status' variable in gfxUserFontSet::OnLoadComplete. r=jdaggett 2011-11-21 08:19:57 +00:00
Joe Drew
269d23bf72 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
655a2b090b 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
aa5192da19 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Kyle Huey
b742a745e6 Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Matt Woodrow
eef9fbc92e Bug 703109 - Add CreateOffscreenDrawTarget to gfxAndroidPlatform. r=Bas 2011-11-17 16:45:51 +13:00
Matt Woodrow
2de74de923 Bug 700240 - Add DumpAsDataURL et al. for DrawTarget. r=roc 2011-11-17 16:44:16 +13:00
Matt Woodrow
a289897b49 Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc 2011-11-17 16:44:16 +13:00
Benoit Girard
552f49dfe3 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
e4e41060d9 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
0c584068af 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
78721ee177 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
79b0975cc8 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ali Juma
eeadbad7cd Bug 697990 - Clean up GLES-specific workarounds for GL_UNPACK_ROW_LENGTH. r=jrmuizel 2011-11-08 10:51:44 -05:00
Jacek Caban
545ad4011b Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones 2011-11-08 10:25:33 +01:00
Matt Woodrow
a049cb4f65 Bug 703430 - Cache Azure mac fonts in gfxFontMac. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
6392b36119 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
dd2c85ab1d Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
2f712b3b4b Bug 700179 - Add GetSize() support for the windows surfaces. r=Bas 2011-11-18 17:00:37 +13:00
Marco Castelluccio
34d53ff8bc Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Jeff Muizelaar
f68f59b3ef 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
Jonathan Kew
6534b23bd1 Bug 689087 - Relax cmap format 4 checking slightly to allow Baskerville on Lion to work; r=jdaggett 2011-11-17 19:11:37 +01:00
Doug Sherk
332f23c4b9 Bug 695912: implemented antialiasing blocklisting r=jgilbert
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Doug Sherk
086371f121 Bug 668004 - generalized GPU blocklist to all platforms - r=bjacob
Refactored Windows-specific code for blocklisting GPUs to GfxInfoBase so that it
could be re-used by every platform. Also enabled all downloaded blocklist code on X11 (Linux) and Cocoa (Mac)
but not yet on Android.
2011-11-03 10:50:40 -04:00
Benoit Jacob
3160e12587 Bug 699025 - Don't try to use more multisampling samples than is supported by the GL - r=jgilbert
This fixes "WebGL is broken unless I set webgl.msaa-level=0" issues.
2011-11-03 10:50:39 -04:00
Matt Woodrow
85518431cb Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
f871e68d88 Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Ali Juma
1675687981 Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel 2011-11-02 09:40:14 -04:00
Doug Sherk
545febe771 Bug 697757 - WebGL context fix for alpha being improperly set on OSX. r=jgilbert
If we request alpha and it isn't enabled, or we request it off and it gets
enabled, we now fail the pbuffer creation and fall back to FBOs. This is bad for
performance but allows us to pass the conformance test in this case.
2011-10-31 17:49:55 -07:00
Adrian Johnson
d1e8518c84 Bug 691061 - Don't use EXTEND_PAD on printing surfaces. r=jmuizelaar 2011-10-29 19:36:19 +10:30
Benoit Girard
c5d4b20cce Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
--HG--
extra : rebase_source : e121a8718fa68e602794957bae278d7351d7d585
2011-10-26 14:36:18 -07:00
Jonathan Watt
71a67640b1 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Adrian Johnson
bf2aa7ffe5 Bug 454532. Substitute "Courier" with "Courier New". r=jdagget 2011-10-28 09:58:49 -04:00
Benoit Girard
bfebbb2e0b Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage. 2011-10-27 10:17:40 -04:00
Benoit Girard
662ec0aafa Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Benoit Girard
b79713eb11 Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar 2011-10-20 16:32:38 -04:00
Doug Sherk
63e6006511 Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Jeff Gilbert
34bac37946 Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob 2011-10-26 16:00:44 -04:00
Matt Woodrow
a4372d638f Bug 697048 - Add multiple output formats for DumpAsDataURL. r=roc 2011-10-26 16:19:13 +13:00
Landry Breuil
4c1dc453b3 Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Jonathan Kew
b68692ed80 bug 672456 - ensure proper font is selected into the DC for GDI text layout. r=jdaggett 2011-10-25 13:30:02 +01:00
Marco Bonardo
52f20d29d1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
c5f832692e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Jeff Gilbert
f8971f0786 Bug 696093 - Fix ResizeOffscreenFBO not properly retrying when AA fails - r=bjacob 2011-10-20 23:41:02 -04:00
Jeff Muizelaar
773b1a59b1 Bug 690456. Initialize sz in a clearer way. r=joedrew
--HG--
extra : rebase_source : b4ac096a22ef8916e29e8a2a6cdb2fb8bce06594
2011-10-18 15:17:32 -04:00
Benoit Girard
393799daca Bug 688844 - Stop using PBuffers for plugins on OS X. r=jrmuizel 2011-10-13 10:36:59 -04:00
Jeff Gilbert
2279492640 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
3ab26a8701 Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
acb7c24c78 Bug 615976 - Fixes for support for multisampled Mac/CGL GLContexts - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
2a3da0403f Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
8f04123a4b Bug 615976 - Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
d8f97c2d0d Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
98a6f4dffb Bug 615976 - Adds support for separate Draw/Read buffers in GLContext, with lazy blitting - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
ac985089ee Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
99d86b9849 Bug 686083 - Adds method to disable GL implementations - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93 Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
d1f0738a66 Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed 2011-10-19 15:09:57 -04:00
Jeff Gilbert
942ec59cc2 Fixes for support for multisampled Linux/GLX GLContexts 2011-10-19 15:09:57 -04:00
Jeff Gilbert
550f22d50f Fixes for support for multisampled Mac/CGL GLContexts 2011-10-19 15:09:57 -04:00
Jeff Gilbert
281abc1b80 Adds support for multisampled GLContexts, esp. EGL, WGL paths 2011-10-19 15:09:57 -04:00
Jeff Gilbert
9be6bed91b Adds glRenderBufferStorageMultisample, extension detection for framebuffer_multisample 2011-10-19 15:09:57 -04:00
Jeff Gilbert
cc847aa544 Adds support for samples in ContextFormat, pref 'webgl.max-samples' 2011-10-19 15:09:57 -04:00
Jeff Gilbert
c6e2753c9d Adds support for separate Draw/Read buffers in GLContext, with lazy blitting 2011-10-19 15:09:57 -04:00
Jeff Gilbert
d3ef700073 Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Jeff Gilbert
1d4f3410ab Fix for 686083: Adds method to disable GL implementations 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
1daed01c41 Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Matt Woodrow
67c757e3a4 Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc 2011-10-15 09:45:01 +13:00
Jonathan Kew
36c1dc9fbe bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Woodrow
911c9a449a Bug 693520 - Fix backface visibility calculations, and share can-hit checks. r=derf 2011-10-12 16:16:06 +13:00
Benoit Girard
b30b117622 Bug 626694 - Forgot an instance of mIsRGBFormat. r=bustage 2011-10-11 21:36:03 -04:00
Benoit Girard
881b619cc6 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Jonathan Kew
7571b3d682 bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Jonathan Kew
faf99ed6aa back out 32989cd5377b for total (non-DEBUG) bustage 2011-10-07 17:45:39 +01:00
Jonathan Kew
e2f00a270f bug 577911 - don't ignore the return value from SetGlyphsFromRun. r=jdaggett 2011-10-07 17:25:19 +01:00
Matt Woodrow
f5bcaad772 Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow
5ca101cd1c Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc 2011-10-07 10:22:18 +13:00
Ali Juma
26e350dca1 Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Josh Matthews
9d68aebc29 Bug 686453 - Create invalid cairo surfaces instead of null pointers when possible. r=jrmuizel 2011-09-13 10:49:01 -04:00
Doug Sherk
5b5702d6a4 Bug 684853: implement OES_standard_derivatives
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Ali Juma
8b7081cada Bug 690443 - Make GLContextEGL::CreateTextureImage pass on its aUseNearestFilter argument. r=bgirard 2011-09-30 09:33:20 -04:00
Rafael Ávila de Espíndola
12cd3efcc7 Bug 690235 - Fix Mac builds with clang caused by bug 666414 not catching the stupidness of gcc4.2 (see bug 689397); r=ehsan
--HG--
extra : rebase_source : ac24c47e2885476593985c88a503e4f075602582
2011-09-29 10:56:57 -04:00
Michael Wu
48a76e1463 Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame 2011-09-29 03:59:43 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
8ddd2bdc2f Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Brad Lassey
74b3e46a33 bug 688798 - disable client side rendering for maemo only r=cjones 2011-09-23 13:24:12 -04:00
Dão Gottwald
46b5e8b3b3 add missing newline 2011-09-27 10:49:53 +02:00