Commit Graph

1622 Commits

Author SHA1 Message Date
Jeff Muizelaar
2a98a14011 Bug 617028. Add support for logging graphics failures. r=joe
We want to keep track of failures of things we expect to work.
These are situations where we can do better than crashing
but things are still pretty bad and the user experience
will be degraded.
2011-02-07 14:44:48 -05:00
Jory A. Pratt
6eb3c34ce5 Bug 623797 (1/2) - Work around new features that are not avaliable in system-cairo on linux. r=jmuizelaar a=joe
(romaxa's original patch with modifications to use cairo-tee)
2011-02-07 19:52:40 +01:00
Neil Rashbrook
ed71f5373d Fix for Windows-only non-libxul bustage a=NPOTDB DONTBUILD 2011-02-06 00:05:20 +00:00
Oleg Romashin
1a9564c770 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe 2011-02-04 14:47:06 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Oleg Romashin
19db525f87 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe
--HG--
extra : rebase_source : 7983ed59e06d33e5c17878a24434eef409684d25
2011-02-04 14:47:06 -05:00
Jacek Caban
455e326110 Bug 630844 - gfxWindowsPlatform.cpp fails to cross compile on case-sensitive OSes after landing bug 629611 r=jdaggett a=joe 2011-02-04 13:41:06 +00:00
Jonathan Kew
08df15c30f bug 629386 - avoid using GDI font table loading for symbol fonts and italic faces in Arabic locales. r=jdaggett a=blocking2.0 2011-02-03 12:12:10 +00:00
Vladimir Vukicevic
08ba2c3bee b=630184; SetPixelFormat crash fix attempt; r=jrmuizel, a=crashfix 2011-02-01 15:08:55 -08:00
Robert O'Callahan
ac7b8cc9c4 Bug 629866. Part 1: Create a DIB for a Win32 surface that's similar to a parent surface with alpha, even if the parent surface doesn't have a DIB. r=jrmuizel
--HG--
extra : rebase_source : 95240f4f4f2d7f7fa453a1eb3ca020c1839160c7
2011-01-31 22:47:47 -05:00
Vladimir Vukicevic
8675a7d878 b=627798; get a 24bpp depth buffer if possible, regardless of minimum (if > 0); r=jrmuizel 2011-01-31 13:10:57 -08:00
Vladimir Vukicevic
fa71b6d03f b=628088; fix pbuffer bind-to-texture attribs in contexts; r=jrmuizel 2011-01-31 13:10:54 -08:00
Vladimir Vukicevic
1b67db06c8 Bug 630019 - updated ANGLE PBuffers patch (makes ANGLE work again) - r=bjacob, a=blocking2.0 2011-01-31 20:58:21 -05:00
John Daggett
0e22df104f Bug 629611. Add font cache size info to about:support. r=bas,joedrew a=joedrew 2011-01-31 11:15:12 +09:00
Jonathan Kew
fa432f18fe bug 628091 - PostScript Type1 fonts fail via GDI rendering. r=jdaggett a=joe 2011-01-28 11:14:36 +00:00
Jacek Caban
d70ca40282 Bug 627693 - GfxInfo.cpp fails to compile on mingw after landing bug 590373 r=bjacob a=dbaron 2011-01-28 10:35:40 +00:00
Jonathan Kew
c55290656d bug 629450 - Sinhala requires specific shaping support, don't render via harfbuzz by default. r=jdaggett, a=blocking 2011-01-28 13:12:42 +09:00
John Daggett
8851b92260 Bug 628152. Fix crash in BuildFontList and revert lazy metrics initialization in gfxDWriteFont. r=jkew, a=blocker 2011-01-28 09:40:06 +09:00
John Daggett
01b02057fb Bug 551313. Workaround synthetic Gill Sans family when DirectWrite is used. r=jkew, a=joedrew 2011-01-27 12:05:55 +09:00
Adrian Johnson
26ebce4d15 b=490475 disable hinting when printing r=karlt a=joe
--HG--
extra : transplant_source : %C2%99%1F%E9%0D%94%26M%C2%3EE%01%B0%CC%87%2CT%FB%D2%1B
2011-01-26 08:59:41 +13:00
Chris Jones
3ce1002c85 Bug 627273, part 3: Add gfxContext::FillWithOpacity. sr=vlad 2011-01-26 00:26:37 -06:00
Chris Jones
d5365fbbf5 Bug 627273, part 2: Add some gfx path helpers. sr=roc 2011-01-26 00:26:37 -06:00
Jonathan Kew
2ef0fda852 bug 627840 - (DirectWrite) only check for bitmaps in CJK fonts. r=masayuki a=joe 2011-01-25 09:17:18 +00:00
Robert O'Callahan
2d31c1b98c Bug 627262. gfxQuartzSurfaces should disable the copy-background optimization when printing. r=jrmuizel,a=blocking 2011-01-25 21:46:30 +13:00
L. David Baron
bedebee99c Honor the "gfx.color_management.force_srgb" when it is set as a default pref in addition to when it is set as a user pref. (Bug 608030) r=jrmuizel a2.0=blocking2.0:betaN+ 2011-01-24 16:23:07 -08:00
Oleg Romashin
6ad82781f7 Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0 2011-01-24 21:31:35 +02:00
Jonathan Kew
9777ea3fdd bug 626299 patch 2 - don't use subpixel-AA mode with DWrite fonts when bitmaps are present. r=jdaggett a=blocking 2011-01-21 19:26:30 +00:00
John Daggett
027d784cc5 Bug 602792. Lazy initialize mUseFontGlyphWidths to avoid unnecessary font io. r=jkew, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
7715ebfe19 Bug 602792. Initialize dwrite factory at app startup to avoid startup slowdown. r=bas, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
eeb92a1447 Bug 602792. Clean up font logs and add system fallback logging. r=bas, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
a1b47791ac Bug 602792. Use GDI for font table loading to avoid excessive dwrite I/O. r=bas, a=blocker 2011-01-22 01:44:32 +09:00
Jonathan Kew
f168213574 bug 574907 - don't let DWrite use fractional font sizes and subpixel positioning when embedded bitmaps are present. r=masayuki a=joe 2011-01-21 10:36:28 +00:00
Jonathan Kew
97b96b98fb bug 624310 - get glyph widths via directwrite rather than font tables when using simulated bold. r=bas a=joe 2011-01-21 10:35:21 +00:00
John Daggett
4536c0f340 Bug 624970 Fix non-libxul builds r=Neil a=bustage DONTBUILD 2011-01-20 08:34:46 +00:00
Doug Turner
d9f12a52f9 [mq]: Backout of aeb9104f1534 2011-01-19 20:45:20 -08:00
Matt Woodrow
7aa8c06042 Bug 627178 - Fix build warning in gfxUtils.h r=Bas a=joe 2011-01-20 15:47:39 +13:00
Matt Woodrow
23cdfad3a4 Bug 612846 - Part 4 - Make ThebesLayerD3D10 support component alpha. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
b4e55ae952 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Matt Woodrow
1752246ab3 Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN 2011-01-18 08:21:12 +01:00
Matt Woodrow
a567dd6b52 Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
9cd9789d4f Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
600a964c35 Bug 619869 - Fix whitespace in GLContext.cpp. r=jrmuizel a=joe 2011-01-18 10:50:02 +13:00
Matt Woodrow
9301918144 Bug 620799 - Fallback to normal surface allocation if creating a PBO fails. r=joe a=blocking2.0 2011-01-18 10:47:18 +13:00
Robert O'Callahan
55ccb0da77 Bug 625357. Take account of tee-surface device offsets when copying subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-17 09:23:31 +13:00
Robert O'Callahan
bbb9fb9e66 Bug 624152. Don't do the 'copy background' part of PushGroupAndCopyBackground for non-pixel-based surfaces; it shouldn't be necessary. r=jrmuizel,a=blocker 2011-01-15 22:40:33 +13:00
Robert O'Callahan
d9c1d294fc Bug 623852. gfxContext::PushGroupAndCopyBackground should not try to copy the background if the underlying surface cannot be used as a source. r=mstange,a=blocking 2011-01-15 22:40:33 +13:00
John Daggett
fd6fdf61fd Bug 624970. Display DirectWrite version in about:support. r=joe, a=joe 2011-01-14 21:57:17 +09:00
Oleg Romashin
57fb318bb0 Bug 618628 - Optimize EGL backend for Maemo6. r=jmuizelaar a=npodb 2011-01-13 15:20:50 +02:00
Jonathan Kew
6256e2a358 bug 619511 - don't let font fallback on ZWJ propagate to following character. r=jdaggett a=joe 2011-01-13 10:58:26 +00:00
Justin Lebar
8774cdaf92 Bug 616782 - gfxAlphaRecovery.cpp should not be compiled with -msse2. r=vlad, a2.0=joedrew
--HG--
extra : rebase_source : 4957825f0d402991d2032b221682db22477231d0
2010-12-05 00:38:53 -08:00
Vladimir Vukicevic
89eb608706 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Jonathan Kew
e45ab700c4 bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe 2011-01-12 10:34:11 +00:00
Chris Jones
cd11268459 Bug 623451: Don't double-release surfaces. r=jrmuizel a=b 2011-01-11 15:34:31 -06:00
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Benoit Jacob
2a11249a6e CLOSED TREE - Bug 624390 - With GLX, blacklist everything but NVIDIA proprietary driver - r=jmuizelaar, a=joe 2011-01-10 16:14:14 -05:00
Jeff Muizelaar
eede7fe911 Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Markus Stange
cade7f1d9a Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+ 2011-01-07 15:32:42 -05:00
Ms2ger
1774ecafea Bug 620355 - Fix uninitialized variable warnings in GLContext::UploadSurfaceToTexture; r=mattwoodrow a=joedrew 2011-01-07 14:37:50 +01:00
Jonathan Kew
945cdcf548 bug 617905 pt 2 - remove code to split long runs from the uniscribe shaper now that gfxFont code handles this earlier. r=karlt a=joe 2011-01-07 12:38:31 +00:00
Jonathan Kew
4f05106888 bug 617905 pt 1 - refactor gfxFont::InitTextRun so that all platforms benefit from splitting huge text runs. r=karlt a=joe 2011-01-07 12:38:28 +00:00
John Daggett
4af9bc9eb3 Bug 602792. Rework code for doing localized font family name lookups. r=jkew, a=blocker 2011-01-07 21:29:49 +09:00
Ms2ger
309dea2808 Bug 620356 - Fix uninitialized variable warning in CreateOffscreenPixmapContext; r=bjacob a=joedrew 2011-01-07 11:54:19 +01:00
Jonas Sicking
69e373af1d Bug 610823: Change a few users that use nsTArrays as buffers to explicitly use fallible tarray. r=jdaggett a=blocker 2011-01-06 20:45:10 -08:00
Vladimir Vukicevic
ccf4230fbc b=623367; correctly handle pbuffer attribs in EGL offscreen context resize; r=bjacob 2011-01-06 14:07:12 -08:00
Vladimir Vukicevic
5c358eba4e b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Benoit Jacob
fdb9cba150 Bug 600079 - Crash in [@ @0x0 | mozilla::gl::GLContext::MarkDestroyed() ] - r=vlad, a=joe 2011-01-06 09:59:28 -05:00
Jeff Muizelaar
d01407ff7f Bug 619578. Add Android GfxInfo. r=vlad
A very basic implementation.

--HG--
extra : rebase_source : 7eac8fb407d7df6b7c82d5fc176ad14048653428
2011-01-05 23:54:31 -05:00
Jeff Muizelaar
8ad59d6cc2 Bug 623228. Avoid calling glDeleteFramebuffers(1, &0). r=vlad
The Droid phones have a bug where calling glDeleteFramebuffers(1, &0) hangs
instead of being ignored.

--HG--
extra : rebase_source : dcfc98792404c5526845c587a378fb200e4faa95
2011-01-05 23:54:29 -05:00
Jeff Muizelaar
9a36b6ccec Bug 623228. Unify debug/release build gl wrappers. r=vlad
This will allow us to work around the Droid hangs
in a single place.

--HG--
extra : rebase_source : f7d51f5584d04a53cd192a46d1d265a74f4ac481
2011-01-05 23:54:27 -05:00
Chris Jones
36730f50aa Bug 623285: Initialize gfxImageSurface.mData. r=bjacob a=blocking-fennec 2011-01-05 13:42:09 -06:00
Oleg Romashin
1f78eadca8 Bug 620684 - Possible attempt to use invalid mGLContext. r=jmuizelaar a=approval2.0 2011-01-05 15:48:17 +02:00
Jonathan Kew
e1c1f355e9 bug 594889 - improve glyph spacing with DirectWrite fonts when ClearType is disabled by using GDI-compatible instead of 'ideal' metrics. r=bas a=blocking2.0 2011-01-04 16:58:31 +00:00
Chris Jones
8c8ad2f763 Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Oleg Romashin
1d2b590fda Bug 618561 - Enable direct Qt rendering for Maemo6 r=dougt a=approval2.0
--HG--
extra : rebase_source : 104aca89d2827ec71a984baefae17aefec651a92
2011-01-04 17:37:24 +02:00
Simon Montagu
2d56d2efaf Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Benoit Jacob
ad0d6fc246 Bug 622436 - Crash [@ GLEngine@0xaa6bc ], was making GL calls on wrong GL context - r=vlad, a=joe 2011-01-03 12:01:19 -05:00
Robert O'Callahan
1e4d652a2a Bug 602757. Part 1: Create gfxContextAutoDisableSubpixelAntialiasing helper. r=vlad,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
ac7bd36fb0 Bug 593604. Part 8: Add SetAllowUseAsSource API for better diagnostics. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
03b628b846 Bug 593604. Part 7: When doing a PushGroupAndCopyBackground on a gfxTeeSurface, copy the backgrounds of the subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
3196f0174c Bug 593604. Part 1: Add gfxTeeSurface. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
65086f2d01 Bug 363861. Part 4: Track rectangles of opaque content in RGBA surfaces and use them to make PushGroupAndCopyBackground work in more situations. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
07597c48c8 Bug 363861. Part 2.6: Wrap cairo API in gfxASurface::Get/SetSubpixelAntialiasingEnabled. r=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
ad251a9b0c Bug 363861. Part 2.3: Disable subpixel AA in gfxASurfaces with alpha channels by default. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
a5295c29ab Bug 363861. Part 1: Introduce gfxContext::PushGroupAndCopyBackground and use it to create opaque temporary surfaces for opacity groups which will be composited onto opaque surfaces. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
timeless@mozdev.org
2d1e9665df Bug 620402 crash [@ gfxTextRun::BreakAndMeasureText] if haveHyphenation && !aProvider, r+a=roc 2010-12-20 15:54:00 -08:00
Jonathan Kew
dd723b2a02 bug 615445 - don't overwrite clusters when storing glyphs in textrun. r=karlt a=joe 2010-12-22 14:27:43 +00:00
Jonathan Kew
e6c77cc666 bug 618870 - CompressedGlyph::SetMissing should not overwrite the clusterStart bit. r=karlt a=roc 2010-12-22 14:27:43 +00:00
Robert O'Callahan
21068b15a9 Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad 2010-12-20 14:26:13 +13:00
Matt Woodrow
416cd3f0bb Bug 619934 - Fix startup crash in UploadSurfaceToTexture ra=jrmuizel
Some last minute changes caused this to assume that imageSurface->Data()
didn't return NULL.
2010-12-18 19:11:19 -05:00
Matt Woodrow
a2e7cac831 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow
47294e7de3 Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0 2010-12-16 23:49:42 -08:00
Joe Drew
75093ce566 Bug 611433 - Add gfxQuartzImage constructor for data pointers. r=jrmuizel a=blocking2.0 2010-12-16 23:34:54 -08:00
Matt Woodrow
bdcc087748 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
fce27bc281 Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow
58d947701c Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Timothy Nikkel
47046855a6 Bug 619601. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jrmuizel,a=joe 2010-12-16 00:07:20 -08:00
Oleg Romashin
188c6d35d1 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. GetOffscreenFormat r=roc a=b-f 2010-12-15 10:17:26 -08:00
Jeff Muizelaar
feb59ecd24 Bug 614832. Refactor EGL surface creation. r=vlad,a=blocking
This factors CreateSurfaceForWindow() out of CreateForWindow() so that we can
reuse it in RenewSurface(). For this to work we also need to factor out
CreateConfig(). The QT implementation is also pulled out because it didn't
share any code.
2010-12-13 14:36:35 -08:00
Karl Tomlinson
13e7636df7 b=618406 avoid crashy versions of FT_Face_GetCharVariantIndex r=jfkthame a=blocking
--HG--
extra : transplant_source : %C6%D21%5D%03_%07%1D%2B_O%F3%F1F%FF%B6%8F%5E%DB%9C
2010-12-14 08:44:55 +13:00
Bas Schouten
355708a54f Bug 612042: Set extend mode properly for integer translations. r=joedrew a=blocking-betan 2010-12-12 06:18:27 +01:00