Commit Graph

1622 Commits

Author SHA1 Message Date
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