Commit Graph

1510 Commits

Author SHA1 Message Date
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
Bas Schouten
8214a72452 Bug 612042: Add HasOnlyIntegerTranslation function. r=joedrew 2010-12-12 06:18:21 +01:00
Timothy Nikkel
dfe9eb3863 Bug 615782. Remove gfx surface null check that was put there to prevent mysterious linux64 talos tp4 crashes with 130078 and no longer seems to be needed. r=jrmuizel a=joedrew 2010-12-09 22:33:34 -06:00
Jonathan Kew
9644c26c55 bug 609649 part 2 - connect harfbuzz shaper to the FT2 font backend. r=karlt a=blocking-fennec 2010-12-09 11:58:16 +00:00
Jonathan Kew
7f06177394 bug 609649 part 1 - refactor gfxFT2Font code in preparation for connecting to harfbuzz. r=karlt a=blocking-fennec 2010-12-09 11:57:23 +00:00
Adam
75c73343b8 bug 612488 - make featureSettings fields use direct nsTArray rather than pointers. r=jfkthame a=joe 2010-12-09 11:52:03 +00:00
Karl Tomlinson
b5427db874 b=569770 part 9: use gfxHarfBuzzShaper when suitable r=jfkthame a=blocking
--HG--
extra : rebase_source : 3031f67c486b537111da28d08725e8916e703a89
2010-12-09 20:29:39 +13:00
Karl Tomlinson
ba8f23df20 b=569770 part 8: gfxFT2FontBase::GetGlyph implementation r=jfkthame
--HG--
extra : rebase_source : 00fece30a0b418af6d86e946ad23479249f6a792
2010-12-09 20:28:51 +13:00
Karl Tomlinson
8b2fb0cd5d b=569770 part 7: allow the font to provide its own GetGlyph function r=jfkthame
--HG--
extra : rebase_source : 7468110c4def7c0f0ab04503052ae5de75ecb237
2010-12-09 20:28:51 +13:00
Karl Tomlinson
03967248be b=569770 part 6: use font group style to look for language and CSS features r=jfkthame
--HG--
extra : rebase_source : afe0ed117ddb5df2fe450d7845131663b39e31d7
2010-12-09 20:28:51 +13:00
Karl Tomlinson
011c9d94ae b=569770 part 5: gfxFT2FontBase::GetHintedGlyphWidth implementation r=jfkthame
--HG--
extra : rebase_source : 9770d596e7edf369f08f85a0598d470e07f7bbae
2010-12-09 20:28:51 +13:00
Karl Tomlinson
67bd437165 b=569770 part 4: gfxFT2FontBase::GetFontTable implementation r=jfkthame
--HG--
extra : rebase_source : ae66628adef86771a316fdfd24e1548773524c86
2010-12-09 20:28:50 +13:00
Karl Tomlinson
374455a6ee b=569770 part 3: provide public access to gfxFontEntry font table cache r=jfkthame
--HG--
extra : rebase_source : ea989eec6d22c0201a58cbe0bb045470e14907f0
2010-12-09 20:28:47 +13:00