Commit Graph

1736 Commits

Author SHA1 Message Date
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
Jonathan Kew
d7548946ee bug 624359 - iterate by clusters for mozTextAlongPath; r=vlad 2011-03-22 10:59:25 -04: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
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
Jonathan Kew
2f1ff76149 bug 553981 - handle Hangul Jamo sequences and other special cases when marking clusters. r=karlt a=roc
--HG--
extra : transplant_source : M%C8%2B%D6%B7%CBG%8E%EEE7%AC%97%01%A0%E4%DF%FB%F3%9B
2010-12-06 13:22:24 +00:00
Jeff Muizelaar
7fce1fff4d Bug 615753. Let the OpenGL layer manager handle double bufffering. r=vlad, a=blocking
Letting the OpenGL layer manager handle double buffering cleans things up
and makes them work properly.
2010-12-07 11:46:39 -05:00
Benoit Jacob
f3d3a4229e Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN 2010-12-06 06:34:34 -05:00
Jonathan Kew
624388b152 bug 467722 - don't short-circuit pref font search unless the previous search really did use the first font. r=jdaggett a=roc 2010-12-06 10:51:02 +00:00
Jonathan Kew
a23979cb8e bug 614904 - prefer CoreText path for complex-script fonts if AAT tables are present. r=jdaggett a=blocking-betaN 2010-12-06 10:41:29 +00:00
Ms2ger
3ec44ade0c Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
timeless@mozdev.org
cdcb36cc1f Bug 603354 hasKHRImage is used uninitialized in EGLLibrary::EnsureInitialized
r=bas

--HG--
extra : rebase_source : 435bb1d6ba3600970d0e70698d093afcc13eae05
2010-12-04 11:07:18 +01:00
Vladimir Vukicevic
8db3cedac7 b=603367; use ANGLE for WebGL on Win32; r=bjacob 2010-12-03 14:44:01 -08:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Jonathan Kew
13248a80c1 bug 606419 - always return the dwrite factory once one has been created. r=bas a=blocking2.0 2010-12-02 10:37:17 +00:00
Jonathan Kew
9c693a7b81 bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Dave Townsend
5944c85a97 Backing out changeset ee61ea93a2fa from bug 609691 due to causing permanent orange on OSX crashtests. CLOSED TREE. a=backout 2010-12-01 11:07:40 -08:00
timeless@mozdev.org
3dbea022b0 Bug 603358 gfxHarfBuzzShaper::InitTextRun leaks hb_font_funcs_create() and hb_unicode_funcs_create(). r=jfkthame a=joe 2010-12-01 16:34:24 +00:00
Jonathan Kew
73e737410a bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Karl Tomlinson
ce91e01757 bug 615121 - fix operator precedence error in glyph yoffset. r=jfkthame a=blocking-betaN 2010-11-30 15:44:35 +00:00
Justin Lebar
a34dc4c30c Merge backout. a=orange 2010-11-29 09:08:41 -08:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Markus Stange
68cb82f59c Bug 600476 - Restore a painting optimization that I accidentally removed in bug 572680. r=joe, r=roc, a=betaN 2010-11-27 00:31:01 +01:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Oleg Romashin
e2bbd5efeb Bug 592464. Redo EGL TextureImage code. r=jrmuizel,vlad,a=blocking-fennec 2010-11-26 16:41:53 -05:00
Karl Tomlinson
ed9e78b8a6 b=605872 refactor mFontTableCache, providing a sharing/saving distinction to fix a hb_blob_t leak r=jfkthame a=blocking
--HG--
extra : transplant_source : u%FB%E2%9D%A8g%1ASG%FB%A4%12%A2kGi%882%ED9
2010-11-26 14:07:09 +13:00
Jonathan Kew
deef686723 bug 594078 - fix handling of regular vs italic during font fallback search. r=jdaggett a=benjamin 2010-11-25 15:36:49 +00:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Emmanuel Gil Peyrot
201fbb3800 Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg 2010-11-24 11:11:45 +01:00
Brad Lassey
2eaf077f1c bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Karl Tomlinson
e3519cfcb1 b=600452 move font FcPattern reference from Font to FontEntry r=jfkthame a=blocking 2010-11-22 11:21:19 +13:00
Karl Tomlinson
9a7792a19a b=600452 share font entries between fonts with the same cairo_font_face_t r=jfkthame
--HG--
extra : transplant_source : %9C%9E%C6%242U%95%E8%280_%9E%06E%2B.%0E%89%DE%27
2010-11-16 11:29:50 +13:00
Jonathan Kew
d572b7fa06 bug 603879 - part 2 - update harfbuzz integration to support arabic etc shaping. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Bas Schouten
10dded5fc3 Bug 610737: Use EXTEND_PAD for drawing native themes. r=jmuizelaar a=blocking-betaN 2010-11-19 19:51:33 +01:00
Daniel Holbert
8e1302c7ce Bug 612662 patch 2: In gfxPlatformGtk::CreateOffscreenSurface, drop our surface if it has non-OK status. r=roc a=blocking-final+ 2010-11-19 08:56:05 -08:00
Daniel Holbert
92783cf367 Bug 612662 patch 1: Skip RecordMemoryUsed call in gfxImageSurface constructor if our surface is invalid. r=roc a=blocking-final 2010-11-19 08:56:05 -08:00
Masatoshi Kimura
4a11f15b87 Bug 531606 - "Gecko 1.9.x (Firefox 3.x / Seamonkey 2) truncates print job name to only 30 characters" [r=roc a=dolske] 2010-11-13 03:02:00 -08:00
Benoit Jacob
78fce4caa8 Bug 612572 - Crash [@GLContext::ListHasExtension] when extensions is null - r=jseward a=joe 2010-11-18 09:17:19 -05:00
Vladimir Vukicevic
db3e386db3 b=612756; fix EGL TextureImage upload code; r=jrmuizel, a=b 2010-11-16 20:49:09 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Brad Lassey
77ba0ab35f bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec 2010-11-16 18:33:56 -05:00
Jonathan Kew
98d536c5c1 bug 605043 followup - fix --with-system-cairo build breakage. r=karlt a=bustage 2010-11-16 08:38:44 +00:00
Jonathan Kew
55054bd8bf bug 611855 - work around incorrect font traits for helvetica light oblique on 10.6.5. r=jdaggett approval2.0=dbaron 2010-11-16 08:34:38 +00:00
Benoit Jacob
980bce6499 Bug 612171 - Regression: severe scrolling glitches with GL layers - r=joe, a=blocking-beta8 2010-11-15 18:13:56 -05:00
Markus Stange ext:(%2C%20Joe%20Drew%20%3Cjoe%40drew.ca%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
19a64fc670 Bug 593342 - Use double buffering on Mac instead of flushing, for greater performance. r=vlad,roc,joe a=b 2010-09-21 14:39:38 -04:00
Karl Tomlinson
3f1c699647 b=605043 round inter-glyph spacing to pixels when glyphs will be pixel snapped r=jfkthame
--HG--
extra : transplant_source : %9Eu%09%E3N%EC%D7x%20O%EA%3E%0F%86%9C%93k9%7E%B2
2010-11-15 08:21:37 +13:00
Joe Drew
c2d219bdce Bug 611498 - Clear transparent surfaces before we draw into them. r=jrmuizel a=b
--HG--
extra : rebase_source : 0bda0fede9b4fb607906d93997de8f85402a5592
2010-11-12 18:34:36 -05:00
Vladimir Vukicevic
4b44267bda b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic
18c7818ede b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Vladimir Vukicevic
32096750fc b=605063; fix android GL startup; r=jrmuizel 2010-11-12 12:02:11 -08:00
Jonathan Kew
94c89c69d7 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Robert O'Callahan
2215e35a5d Bug 579985. Part 3.2: Remove gfxASurface::AreSimilarSurfacesSensitiveToContentType because it's effectively always true now. r=jrmuizel,a=blocking 2010-11-12 14:43:40 +13:00
Robert O'Callahan
d78da67af5 Bug 579985. Part 3.1: Pass cairo_content_t parameter when creating CGLayer surfaces. r=jrmuizel,a=blocking 2010-11-12 14:42:22 +13:00
Joe Drew
5d143ec57b Bug 575521 - bustage fix. r=me a=b 2010-11-11 16:04:36 -05:00
Joe Drew
a2aa4fefa9 Bug 575521 - Draw to a clipped context backed by the surface uploaded to OpenGL using APPLE_client_storage to avoid slowdowns in glTexSubImage2D. r=jrmuizel a=b 2010-11-11 15:31:23 -05:00
Joe Drew
01b68699c8 Bug 575521 - Use the APPLE_client_storage extension to reduce the number of copies of data we make when uploading textures. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
37ef931f88 Bug 575521 - Support the APPLE_client_storage GL extension. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
95cd602adf Bug 575521 - Use gfxASurface::GetAsImageSurface in TextureImageCGL to make it faster. r=jrmuizel 2010-11-11 15:31:23 -05:00
Joe Drew
c001466571 Bug 575521 - Add gfxQuartzSurface::GetAsImageSurface. r=jrmuizel,vlad 2010-11-11 15:31:23 -05:00
Matt Woodrow
0a67be7b51 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Jonathan Kew
06f2a83a6f merge backout of 7e3e4c91c0f7, a=backout 2010-11-11 12:18:56 +00:00
Jonathan Kew
9eeab3f07b Backed out changeset 7e3e4c91c0f7 due to Linux failures 2010-11-11 12:18:02 +00:00
Jonathan Kew
5677fae53c bug 606917 part 2 - update character property tables for harfbuzz to unicode 6.0. r=smontagu approval2.0=benjamin 2010-11-11 11:32:02 +00:00
Jonathan Kew
c2e6d96f80 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Karl Tomlinson
891ba8205c b=597147 part 19: simplify gfxFcFont/gfxPangoFcFont ownership a little r=jfkthame
--HG--
extra : rebase_source : c7288edd9faefde36543d635c37b8a05d3d18a7b
2010-11-11 11:32:06 +13:00
Karl Tomlinson
46c8b1c97d b=597147 part 18: use GDK's default PangoFontMap when suitable r=jfkthame
--HG--
extra : rebase_source : 62f25ad9a6c0b926f8c357cae8b85adfb44f2988
2010-11-11 11:30:21 +13:00
Karl Tomlinson
0fdc24da53 b=597147 part 17: switch from pango_itemize to gfxScriptItemizer r=jfkthame
--HG--
extra : rebase_source : f0b1026020b765d1ffedd1f98d04373b8d8fbc9a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
d8a4e4c012 b=597147 part 16: Add gfxFcFont::InitTextRun to shape with Pango r=jfkthame
--HG--
extra : rebase_source : bb1b064642eb58f86400b774bd8514f9baa956c4
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f6dd30961a b=597147 part 15: set up PangoAnalysis for Pango shaping r=jfkthame
--HG--
extra : rebase_source : 89c6d15adbf7d82672939889aad64a80a36f945a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
43e6d1b464 b=597147 part 14: Let gfxFcFont and gfxPangoFcFont share ownership of each other r=jfkthame
--HG--
extra : rebase_source : 13cc757a75d3a222634606e3f3220869da4bb12e
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f82a1296af b=597147 part 13: Add a factory method to create a gfxPangoFcFont from gfxFcFont r=jfkthame
--HG--
extra : rebase_source : 460d3c74112cec7a42ca29c840dd9120457499e1
2010-11-11 11:25:59 +13:00
Karl Tomlinson
287a3dcee0 b=597147 part 12: un-inline some of gfxPangoFcFont r=jfkthame a=blocking
--HG--
extra : transplant_source : %B3%9C%C9%8E%91%D9%1D%F3%95%12%5CRg%40%7D%D3%E5%06L%0B
2010-11-11 09:04:19 +13:00
Karl Tomlinson
f3d9a0fdaa b=597147 part 11: Use C++ instance methods in gfxPangoFcFont r=jfkthame
--HG--
extra : transplant_source : %D9%15%DB%9C%EB%8CCi%03%C1%915-%9EOA3%B8%5C%7F
2010-11-11 08:46:55 +13:00
Karl Tomlinson
72fddc4960 b=597147 part 10: make font group language a real language for font shaping r=jfkthame
--HG--
extra : transplant_source : %BE%D9%0B%C0I%17%26%14%7E%ED9j%96%7BPE%8C%A3Q%09
2010-11-11 08:46:55 +13:00
Karl Tomlinson
36ae658015 b=597212 remove unnecessary extra nsILanguageAtomService::LookupLanguage r=jfkthame a=joe
--HG--
extra : transplant_source : p%23%5B%82.%9D70%F6%95%96%85%0C%EE%04%1C%BC9%27%D2
2010-11-11 08:45:00 +13:00
Karl Tomlinson
be1b3e0616 b=597212 hold a reference to language nsIAtom from gfxFontStyle r=jfkthame a=joe
--HG--
extra : transplant_source : %11e%10%CF%5E%90Ce%84S%ADj%16%EC%8FA%9A%0A%D5%29
2010-11-11 08:44:32 +13:00
Karl Tomlinson
17490b3745 b=597147 part 9: make language GetSampleLangForGroup parameter an atom r=jfkthame
--HG--
extra : transplant_source : %1C%3E%F6_%93%EFW%AEFx/%2B%8F%0F%AEO%9B%E5%CC%26
2010-11-08 11:44:51 +13:00
Karl Tomlinson
0553d786a8 b=597147 part 7: avoid some signed/unsigned comparisons r=jfkthame
--HG--
extra : transplant_source : %81b%3A%0F%D7Ul%FC%1F%B8/n%CD%25%BB%9E%D8%C2%F7%19
2010-11-08 11:44:51 +13:00
Karl Tomlinson
9c7c805dd5 b=597147 part 6: move Pango shaping out of FontGroup r=jfkthame
--HG--
extra : transplant_source : db%C4%E5%A8i%B7%8C-%16.P%F16%FDb%07P%A9%B6
2010-11-08 11:44:51 +13:00
Karl Tomlinson
41db32b4f0 b=597147 part 5: move glyph run routines from FontGroup to Font r=jfkthame
--HG--
extra : transplant_source : %3E%9A%B3%994%99%E9%08jQb%3D%08%B1y%C5%A36%C9%89
2010-11-08 11:44:51 +13:00
Karl Tomlinson
d3baabcd62 b=597147 part 4b: pass run script to FindFontForChar and add gfxPangoFontGroup implementation r=jfkthame
--HG--
extra : transplant_source : %1D%B2%B9O%9F%2C%05%81%B4%C8%BER%9B%5D%A0%3A-%AB%98%F5
2010-11-08 11:44:51 +13:00
Karl Tomlinson
decd4337ef b=597147 part 4a: move latin-for-common bug 590114 workaround from font group to shaper so as not to disrupt fontconfig font selection language r=jfkthame
--HG--
extra : transplant_source : %E4%29r%B2%84%3Bu%04C%07%EEm%AC%AD%7Ef%3DF%5Ee
2010-11-08 11:44:51 +13:00
Karl Tomlinson
cf72691334 b=597147 part 3: add gfxFcFont* gfxFcFontSet::GetFontAt(i) and use it for size-adjust measuring font r=jfkthame
--HG--
extra : transplant_source : a%F6%9D%D4%9E%89y%7C%A7%A5V%EF.%1F%EEs%B7k%BC7
2010-11-08 11:44:51 +13:00
Karl Tomlinson
bb3d9ff82b b=597147 part 2: rename gfxFcPangoFontSet to gfxFcFontSet, add GetBaseFont to return a gfxFcFont r=jfkthame
--HG--
extra : transplant_source : c%CD%A8%09%A0J%D6%AA%B6%F7lz%1Fj%A4%BC%9C-s%92
2010-11-08 11:44:50 +13:00
Karl Tomlinson
dd0403f1ff b=597147 part 1: remove unused WhichFontSupportsChar r=jfkthame
--HG--
extra : transplant_source : %8B%27%DA%C5R%B4%A0s%1Fb%DC%AF%98%3C%C0%9F%0A%02%E0%D3
2010-11-08 11:44:50 +13:00
L. David Baron
27a87fad7a Fix GLX version check so it won't break when the version hits 1.10. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
a9ab99d440 Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2917f2551e Don't repeatedly try to initialize GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2c661ecb3f Add glXQueryExtensionsString to GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
0b1d00c690 Remove unused functions from GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
5ef5e39547 Remove non-working remnant of support for GLX versions less than 1.3. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
4a14a0d6f2 Make glXDestroyContext function pointer consistent with name of function. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
8fe93df76f Remove duplicate XFree call. (Bug 605992) r=vlad a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
ed2ce3bf01 Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2 Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Chris Jones
06dffe7607 Bug 603885, part 3: Allow allocating gfxSharedImageSurface with unsafe Shmem. r=joe 2010-11-05 02:17:07 -05:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Oleg Romashin
04ff8b2cce Bug 606910 - RENDER_DIRECT mode for Qt widget (xshmPutImage). r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 6ea776ea7e0b282d6b61d5e5fa570460e84f90be
2010-10-27 07:56:31 +03:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Ehsan Akhgari
5726920ba8 Bug 603821 - debug non-libxul builds fail in WebGLContext.cpp, with "Undefined reference to `mozilla::gl::GLContext::sCurrentGLContext'" - r=khuey, a=bustage 2010-10-13 07:45:13 -04:00
Stuart Parmenter
f7550eb9c4 Bug 610554. Round advances rather than truncating them. r=karlt a=blocking-fennec 2010-11-09 12:18:17 -08:00
Benoit Jacob
cdfba8c17a fix GLContextSymbols::Zero(), r+a=bustage 2010-10-12 18:06:51 -04:00
Robert O'Callahan
260e34f8ed Bug 593839. Part 2: Remove DESTINED_FOR_SCREEN flag now that it's no longer used. r=vlad a=blocking-betaN 2010-10-25 16:39:27 +02:00
Benoit Jacob
88165b3ed8 Bug 597881 - OpenGL debug mode - r=vladimir 2010-10-12 17:01:59 -04:00
Mats Palmgren
5a51827cc7 Bug 603167 - Link layout fails with Undefined symbols mozilla::gl::GLContext::ReadPixelsIntoImageSurface; r=vladimir a=bustage 2010-10-11 14:06:08 -04:00
Mats Palmgren
a984b3be02 Fix bustage. a=backout 2010-10-11 00:48:33 +02:00
Mats Palmgren
999c4be001 Export GLContext symbols to unbreak --disable-libxul builds. b=603167 r=vlad a=bustage 2010-10-11 00:07:00 +02:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Bas Schouten
d3a7e174bd Bug 600909: Use OptimalFillOperator() for drawing some images. r=joedrew a=blocking-betaN 2010-10-08 18:02:58 +02:00
Julian Seward
2bdb2f941b Bug 604395 - OpenGL contexts use uninitialized format, often resulting in failure to create - r+sr=vladimir, a=bjacob:trust me, we want this in beta7.
Note: pushed by bjacob -- so complain to me if you're not happy about that.
2010-10-31 10:32:46 -04:00
Robert O'Callahan
3f29ca47ee Bug 595842. When GetHDCWithClip fails, fall through to the fallback rendering path. r=vlad,a=blocking-beta7 2010-10-29 16:08:07 +13:00
Tom Brinkman
fa1c5b8b9c Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00
Daniel Holbert
ececcd1fd2 Bug 596784 followup: Remove unused variable 'dummy' in GLContext.h. r=vlad a=NPOTB 2010-10-07 12:19:33 -07:00
Jonathan Kew
3e72e86729 bug 527276 - part 5 - implement pref to control whether OTL tables are preserved in sanitized fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
a3d07f0790 bug 527276 - part 3 - apply OTS sanitizer to downloaded fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
0bed9a8bb2 bug 590114 - treat unresolved common script runs as Latin. r=jdaggett approval2.0=joe 2010-10-07 08:59:17 +01:00
Jonathan Kew
e1d3b86388 bug 580863 part 2 - scale glyph metrics correctly when initializing CFF fonts on OS X 10.6. r=jdaggett a=blocking-betaN 2010-10-07 08:59:16 +01:00
Jonathan Kew
00edb2283a bug 577707 - some Indic scripts rendered with incorrect font/glyphs on OS X. r=jdaggett a=blocking-betaN 2010-10-07 08:59:15 +01:00
Benoit Jacob
764d885972 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Benoit Jacob
20a45b4898 Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Benoit Jacob
a671874c70 Bug 602289 - Add Vendor() function to GLContext - r=joe, a=blocking2.0-b7 2010-10-06 16:43:14 -04:00
Oleg Romashin
c58271c6e7 Bug 601451 - Allow compile qt port with system cairo which does not have QT_SURFACE compiled. r=joe a=npodb
--HG--
extra : rebase_source : a6bc7d01efb4a9d91418a33d43bbaf07139b4a18
2010-10-05 09:15:57 +03:00
Oleg Romashin
78afeaaec0 Bug 598970 - GL/EGL qt rendering is broken completely after landing 596784. r=vladimir a=blocking-fennec 2010-10-04 14:21:32 +03:00
Benoit Jacob
8d44a37a58 b=600927; don't print gl extensions in non-debug builds; r=vlad a=b 2010-10-01 21:00:36 -07:00
Bas Schouten
67888ccd42 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten
786128e3d2 Bug 546514 - Part 2: Add #defines for D3D10 layers. r=vlad 2010-10-01 00:53:47 +02:00
Bas Schouten
2b22fa73c9 Bug 597950 - Part 2: Expose API to create a D2D surface from a D3D10 Texture. r=vlad 2010-10-01 00:53:42 +02:00
Joe Drew
1a4c17d1cb Back out temporary initialization of OpenGL because we're turning it on by default. 2010-09-29 22:34:08 -04:00
Jeff Muizelaar
4c2820c868 Bug 600763. Force initialization of OpenGL on OS X. r,a=joe
This is expected to regress Ts but the idea is to separate
out the costs that we have little control of (like this one)
from the costs that we have more control of.
2010-09-29 22:30:48 -04:00
Joe Drew
80e6919bfc Back out bug 596303 for causing Tp regressions with OpenGL. a=backout 2010-09-29 14:36:20 -04:00
Benoit Jacob
868cedad20 Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7 2010-09-27 16:20:11 -04:00
Benoit Jacob
500e111cce Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7 2010-09-27 16:20:07 -04:00
Chris Jones
8e028241fc Bug 595215: Check for a null FontEntry here. r=karlt a=blocking-oprah 2010-09-24 20:15:02 -05:00
Chris Jones
db41945436 Bug 597336, part 2: Create offscreen gfxImageSurfaces if UseClientSideRendering(). r=vlad 2010-09-23 20:00:06 -05:00
Chris Jones
ad9d76e650 Bug 597336, part 1: Add gfxPlatformGtk::UseClientSideRendering() to control whether to avoid X server compositing. sr=vlad 2010-09-23 20:00:06 -05:00
Oleg Romashin
e01fadb4cc Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Benoit Jacob
c0f4c629bb Bug 598732 - GLX initialization crash [@ mozilla::gl::GLContextGLX::Init ] - r=vladimir, a=blocking-2.0b7 2010-09-23 17:05:52 -04:00
Benoit Jacob
4486ada028 Bug 599101 - Fix EGL crash: mEGLLibrary was not loaded on non-Windows, depending on uninitialized value - r=vlad, a=blocking-fennec-2.0b1 2010-09-23 16:59:17 -04:00
Vladimir Vukicevic
0a2aa77b6f Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
John Daggett
a4541c4944 bug 593296 - avoid potential read beyond end of kern-pair list. r=jfkthame a=blocking-beta7+ 2010-09-22 10:15:57 +01:00
Jeff Muizelaar
8107e95a3c Bug 596303 - Use transparent surfaces for our GL contexts so transparent windows work. r=mstange a=b 2010-09-21 12:30:19 -04:00
Joseph Yasi
2dd82f8e4d Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-21 01:02:00 +02:00
Mounir Lamouri
7041d292a7 Backed out changeset f8854fb6b63f - Wrong patch attached to the bug. 2010-09-21 00:57:19 +02:00
Joseph Yasi
cf5be75b46 Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-20 23:25:58 +02:00
Benoit Jacob
e4d04cf07d Bug 596544 - These WebGL samples are slow on Firefox, fast on Chrome - r=vladimir, a=joe 2010-09-20 13:19:30 -04:00
Robert O'Callahan
ed855da605 Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5 2010-09-17 12:29:52 -07:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Jonathan Kew
d2ab2a82f6 bug 593296 - correctly release kern table in HB shaper. r=jdaggett a=blocking2.0 2010-09-16 17:41:41 +01:00
Jonathan Kew
85dcd28188 bug 593564 - account for synthetic bold in glyph metrics when constructing textrun. r=jdaggett a=joe 2010-09-16 17:41:40 +01:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
df01b80c7a Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc 2010-09-14 00:23:08 -05:00
Chris Jones
b7034dad64 Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc 2010-09-14 00:23:08 -05:00
Joe Drew
8ab2818e4f Bug 595055 - Use the correct context when deleting textures, so we don't accidentally unset some state like the viewport. r=vlad a=b 2010-09-09 23:09:39 -04:00
Vladimir Vukicevic
cfe8913fec b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Vladimir Vukicevic
61fb3a126f b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Vladimir Vukicevic
0b88b52f6c b=594553; correctly create gl layer manager on android; r=jrmuizel 2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
7414352ff2 b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel 2010-09-07 12:26:43 -04:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Oleg Romashin
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07:00
Benoit Jacob
32eac584aa Bug 595194 - CGL context creation crashes on Mac Tryserver - r=bas.schouten a=blocking2.0
--HG--
extra : rebase_source : b8e2bfde25a0acb33258e77ebd36959c91f73af8
2010-09-10 12:19:09 -04:00
KUROSAWA, Takeshi
abb6802ff0 Bug 422179 - Implement bilinear filtering of upscaled images for Linux; r=jmuizelaar a=blocking-final+ 2010-09-09 16:27:10 -04:00
Bas Schouten
351e721d3b Bug 594322: Do not assert using CAIRO_HAS_D2D_SURFACE when D2D surfaces are not available. r=jrmuizel a=bustage-fix 2010-09-09 09:50:18 +02:00
Oleg Romashin
8af3b31ddc Bug 556487 - XRenderFormat API for remote X-Surface handling. r=karlt,jmuizelaar a=blocking2.0 2010-09-08 08:55:14 -07:00
Oleg Romashin
d3b765aafa Bug 556487 - gfxASurface GetSize. r=joe a=blocking2.0
--HG--
extra : rebase_source : 3f587a6352af1c72f5dbf860380dc8a2ef42f72d
2010-09-07 17:36:57 -07:00
Jeff Muizelaar
09b3c4aab6 Bug 593268 - Part 2.5: Update gfxASurface::SurfaceTypes to be in sync with Cairo. r=Bas 2010-09-08 05:27:34 +02:00
Oleg Romashin
736c7d9124 Bug 578649 - ThebesLayerOGL using wrong shader program on QT GL build. r=vlad,a=blocking-fennec 2010-09-07 17:37:34 -07:00
Vladimir Vukicevic
38e200272a b=593558; make gl context creation quieter; r=matt.woodrow; a=b 2010-09-05 16:37:52 -04:00
Vladimir Vukicevic
74b5baf759 b=592106; correctly update GL context format; r=jrmuizel 2010-09-05 16:37:51 -04:00
Jonathan Kew
55a866274d bug 593155 - check table length before accessing cmap data. r=jdaggett approval2.0=roc 2010-09-03 11:45:53 +01:00
Matt Woodrow
11d93c27a5 Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0 2010-09-03 15:51:15 +12:00
Robert O'Callahan
fa118e17df Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00