Commit Graph

1976 Commits

Author SHA1 Message Date
Benoit Jacob
c3b3ed17f9 backout bug 645407, bug 639842, bug 642502 2011-05-03 17:18:44 -04:00
Benoit Jacob
f383bf0179 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob
a739bbaf8e Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew
6a0388114b bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett 2011-05-02 10:01:55 +01:00
Jonathan Kew
450943ec19 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
306e33cbda bug 653705 - ensure mIsCFF is not left uninitialized for downloaded fonts. r=jdaggett 2011-05-02 10:01:54 +01:00
Zack Weinberg
85ef3b518f Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Jonathan Kew
fcadc04ff6 Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges. 2011-04-28 10:52:04 +01:00
Jonathan Kew
32c814b853 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
eed7de5c54 bug 653098 - remove unused function gfxUserFontSet::RemoveFamily. r=jdaggett 2011-04-28 09:01:19 +01:00
Jonathan Kew
0d12b6c03d bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett 2011-04-28 06:06:53 +01:00
Jonathan Kew
eb0e942dc9 bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron 2011-04-28 06:04:45 +01:00
Masatoshi Kimura
07ab33fd8d bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame 2011-04-26 16:29:43 +01:00
Zack Weinberg
43341e9470 Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel 2011-04-21 12:36:53 -07:00
Zack Weinberg
8a4c92cea7 Bug 649429 part 1: fix undefined behavior in gfxASurface::CheckSurfaceSize. r=jrmuizel
--HG--
extra : rebase_source : 145c3c4b2acd86e2743811f4be5eba599dcc1df3
2011-04-12 12:22:45 -07:00
Jonathan Kew
8e92dd97a6 bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett 2011-04-21 07:29:50 +01:00
Zack Weinberg
d5e47757d8 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
ba4c919431 Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -07:00
Jonathan Kew
f67ad53dd4 bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett 2011-04-19 09:01:21 +01:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
8b71e83f60 Bug 641426. Part 2.5: Make gfxBlur bail out in all cases where the blur rect is empty. r=tnikkel 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
John Daggett
a5724434f7 Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar 2011-04-19 10:11:09 +09:00
Matt Woodrow
c43047b608 Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob 2011-04-19 10:50:54 +12:00
Matt Woodrow
8fd6e01911 Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob 2011-04-19 10:49:00 +12:00
Matt Woodrow
1b93d0832f Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Landry Breuil
5334f0f25b Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Jonathan Kew
99d0c392b8 bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Jonathan Kew
5a633fc5ed bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett 2011-04-13 08:28:34 +01:00
Ms2ger
4c894d44d4 Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Matt Woodrow
38a5c34624 Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Zack Weinberg
1a54f9512d Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Doug Turner
bb9cf72cbb Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me 2011-04-11 09:25:59 -07:00
Jonathan Kew
95036edb98 bug 623495 - revise prefs for dispatching scripts to shaping backends; enable harfbuzz for Hebrew on OS X. r=smontagu 2011-04-11 12:17:31 +01:00
Rich Walsh
463cdad8da Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno 2011-04-09 23:32:09 -04:00
Ehsan Akhgari
c142d20d2c Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Matt Brubeck
170c710ac7 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger
1528a3aa42 Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob 2011-04-07 21:55:10 -07:00
Matt Woodrow
099fef4367 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4 Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
0ff89b8752 Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe 2011-04-07 16:58:07 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato
0aac0cc47c Bug 644054 - Support WOFF on Android; r=jfkthame 2011-03-22 21:40:00 -04:00
Benoit Jacob
a4d00bab86 Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar 2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Benoit Jacob
71406e87b5 imported patch 640064 2011-03-09 05:17:00 -05:00
Jonathan Kew
6b4f50d01a bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu 2011-03-31 09:47:02 +01:00
Josh Matthews
b2ae468243 Bug 640968 - Avoid using null cache if the singleton does not actually exist. r=blassey 2011-03-24 19:37:07 -04:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Makoto Kato
14ea2bfa7f Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar 2011-03-30 13:40:47 -04:00
Jeff Muizelaar
24bc5d4c25 Bug 645947 - Remove unneeded copy constructors from gfxRGBA, gfxPoint and gfxRect; r=bjacob
This lets us get smaller code (by 1KB) and potentially faster code too.
2011-03-29 18:29:22 -04:00
Doug Turner
ef35aa039b Bug 643307 - Crash [@ nsThebesFontMetrics::GetMetrics ]. r=blassey
--HG--
extra : rebase_source : 6d878a2ff10aa1030f71526dacb64d6d92882322
2011-03-29 11:50:39 -07:00
John Daggett
6fb5fc67de Bug 643649. Pass correct parameter value into registry call. r=joedrew 2011-03-29 12:11:22 +09:00
Karl Tomlinson
00d3f613f1 b=626192 blacklist ATI libGL due to seg faults on querying server info r=bjacob
--HG--
extra : transplant_source : %15Ay%22pB%8B%7D%B2%5Eph%12%18%17%91G%FC%D7%10
2011-03-25 16:38:59 +13:00
Karl Tomlinson
620408b145 b=617703 use target visual to determine target format r=roc
--HG--
extra : transplant_source : L%E8%90%93Mar%3EO%A5w%D8%7B%F1%9DH%0B%7EUi
2011-03-25 16:38:59 +13:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Doug Turner
c022bddecd Bug 644747 - font.cache storage off by one. r=blassey 2011-03-25 11:06:53 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Robert O'Callahan
443b94ac3c Bug 615092 - Add a way to dump gfxASurfaces to a data URL. r=mattwoodrow 2011-03-25 11:04:46 +13:00
Matt Woodrow
423b5b30b7 Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe 2011-03-25 11:04:11 +13:00
Jonathan Kew
bf757a9d0e Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Ehsan Akhgari
d40a33c22e Backout changeset f39ad7e4054e (bug 623711) because of reftest failure 2011-03-24 00:15:02 -04:00
Masatoshi Kimura
dcbef1ea3b bug 637481 - add vhea/vmtx support to OTS for CJK webfonts. r=jfkthame 2011-03-24 20:11:38 +00:00
Jonathan Kew
b15a7010f2 bug 642093 - map commonly-used bitmap font names to truetype equivalents for dwrite. r=bas 2011-03-24 20:11:38 +00:00
Jonathan Kew
5559ee375c bug 637157 - @font-face family names should hide system fonts. r=jdaggett 2011-03-24 20:11:37 +00:00
Jonathan Kew
7a650852b8 bug 544617 - ensure Cairo font is set up in gfxGDIFont::InitTextRun. r=jdaggett 2011-03-24 20:11:37 +00:00
Karl Tomlinson
c84babe21f b=546315 use weak bindings to give lower priority to families after a generic r=jfkthame 2011-03-23 23:14:32 -04:00
Jonathan Kew
84a78f4078 Bug 605009 - Linux debug build with --disable-pango crashes during shutdown; r=karlt 2011-03-23 23:02:14 -04:00
Jonathan Kew
cb230f5ba2 Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Jonathan Kew
559ac56c3a bug 635640 - force font metrics of Arial Black to match the main Arial family; r=Bas 2011-03-23 23:01:14 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Doug Turner
61c35070ce Bug 616426 - fix paramater type. r=blassey. a=me 2011-03-11 15:41:32 -08:00
Brad Lassey
6277b5a31b bug 616426 - crash [@ nsThebesFontMetrics::GetMetrics ], follow up r=dougt a=blocking-fennec 2011-03-11 17:03:39 -05:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Alon Zakai
cfddbcbdfd Bug 616426 - Crash in nsThebesFontMetrics::GetMetrics. r=blassey,stuart a=blocking-fennec 2011-03-10 14:07:55 -08:00
Timothy B. Terriberry
e2473b98ea Bug 641019 - "Crash on video with odd widths and 16-bit displays" [r=tterribe a=stuart] 2011-03-15 15:01:00 -07:00
Chris Jones
bd10a2887b Bug 635035, part 7: Remove obsoleted gfxASurface::SupportsSelfCopy. r=roc a=b 2011-03-09 11:27:37 -06:00
Chris Jones
8f802d6998 Bug 635035, part 5: Add a helper to check whether a gfxRect is rounded within a given epsilon. sr=roc 2011-03-09 11:27:37 -06:00
Chris Jones
aa1ced7f8a Bug 635035, part 4: Implement MovePixels() for image surfaces. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
d1fd67bbe8 Bug 635035, part 3: Add gfxASurface::MovePixels() interface and generic impl. sr=roc 2011-03-09 11:27:37 -06:00
Benoit Jacob
7f1f831a27 Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe 2011-03-02 15:50:36 -05:00
joe@drew.ca
2f9eaad891 Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker). 2011-03-01 17:00:33 -08:00
Karl Tomlinson
0cba2f1d40 b=634556 don't assume 16-bit text when wordStartsInsideLigature r+a=roc
--HG--
extra : transplant_source : %3F%AB_%7E%C1Y%9A%CC%0DLRh%5B2y%E1%E9%02%C6%C4
2011-02-28 08:31:39 +13:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
John Daggett
8c52aa33e6 Bug 630201. Don't use DirectWrite for pre-RTM versions of Windows 7. r=bas, a=joedrew 2011-02-25 10:31:16 +09:00
Benoit Jacob
8cffd874ec Bug 635401 - Segfault when checking name of graphics driver vendor - r=bas, a=joe 2011-02-24 17:17:34 -05:00
Doug Turner
4e523fad21 Bug 636086 - build bustage when building with --disable-pango. r=karlt a=build-bustage
--HG--
extra : rebase_source : 0ce7c97eed2291ba7ede603ed4ed8175d35a158b
2011-02-24 09:59:37 -08:00
Jonathan Kew
bd37a3bdb7 bug 635768 - restore explicit font selection in gfxGDIFont::GetGlyphWidth to fix spacing issues when printing. r=roc a=blocker 2011-02-23 09:39:21 +00:00
Jonathan Kew
64909ee7be bug 635451 - don't reject glyph index 31 in type-1 fonts. r=jdaggett a=joe 2011-02-22 17:04:37 +00:00
Brad Lassey
b8fa7c23de bug 623136 - speed up font loading on android r=jdagget a=blocking-fennec 2011-01-12 23:04:42 -05:00
Jacek Caban
c8c54a7aac Bug 635593 - Compilation failure in gfxWindowsPlatform.h during compilation without DWrite r=jfkthame a=joe 2011-02-21 13:47:32 +00:00
Jonathan Kew
066aec9326 bug 634762 - Don't call cairo_win32_scaled_font_select_font from SetupCairoFont, but from DCFromContext, and SaveDC/RestoreDC around it; fix usage of DC and font in Uniscribe/GDI shapers. r=roc a=blocking 2011-02-19 20:48:33 +00:00
Doug Turner
cd5b5337e5 Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0.0f [r=karlt a-2.0=pavlov] Whitespace followup. DONTBUILD 2011-02-17 16:04:34 -08:00
Doug Turner
e860851571 Bug 634734 - "Fennec ASSERTION: mFUnitsConvFactor not valid: 'mFUnitsConvFactor > 0.0f" [r=karlt a-2.0=pavlov] 2011-02-16 15:46:00 -08:00
Chris Jones
11ef1d1487 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Chris Jones
b2e95d051c Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-16 16:43:30 -06:00
Chris Jones
1d0f567d0f Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-16 16:43:30 -06:00
Jonathan Kew
a66e635a6c bug 633342 - allow subpixel AA but not the manual show_glyphs path when Asian font has embedded bitmaps. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jonathan Kew
201f78023c bug 633342 - get rid of windows newlines in thebes files. r=bas a=joe 2011-02-15 20:55:01 +00:00
John Daggett
474a8001b3 Bug 626611. Fix incorrect buffer size. r=jkew, a=joedrew 2011-02-15 11:29:33 +09:00
John Daggett
16a5833071 Bug 632155. Check possible error conditions in GetDLLVersion. r=ehsan, a=ehsan 2011-02-15 11:28:51 +09:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
965a08c8d5 Bug 629265 - dont block NVIDIA 260.19 for now - r+a=joe 2011-02-14 16:39:52 -05:00
Benoit Jacob
5dc1546e1e Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
7045bfa4fc Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
1658160279 Bug 632969 - 4/4 - logic change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
dc69425fb9 Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Karl Tomlinson
e6082aa43d Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Matt Woodrow
b6b769faf1 Bug 591687: Add new image type for IOSurfaces on Mac OS X. r=roc r=benwa a=blocking2.0betaN+ 2011-02-12 11:02:08 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
4ff6fe0115 Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
5515543330 Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
af3ae9119a Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
bef311f4d5 Bug 632969 - 4/4 - logic change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
526aea3020 Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Karl Tomlinson
27a3a859e1 Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Jonathan Kew
91ffef44ac bug 633453 - correctly check the last array element before deciding whether to append or insert. r=roc a=blocking 2011-02-11 22:07:39 +00:00
Jonathan Kew
36ed20e7c6 bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking 2011-02-11 22:05:09 +00:00
Jonathan Kew
7c7c589748 bug 633500 - fix invisible text by not using proxyFontEntry that has been destroyed when all sources fail. r=jrmuizel a=blocking 2011-02-11 21:19:23 +00:00
Ms2ger
547e5632af Bug 637181 - Unused variable sh in gfxAlphaRecovery::AlignRectForSubimageRecovery; r=cjones 2011-03-22 15:15:42 -04:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
efffd3fdc3 Remove unused (and unnecessarily slow) method gfxAlphaBoxBlur::PremultiplyAlpha. (Bug 633369) r=roc 2011-03-03 13:18:42 -08:00
Jonathan Kew
c4c9f2d9e9 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Jonathan Kew
1002db5143 bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0 2011-02-10 06:50:47 +00:00
Marco Bonardo
e5507515ee Backout bug 629799 due to reftest permaorange causing a=CLOSED TREE 2011-02-09 19:16:29 +01:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Chris Jones
cf6aed5e65 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-08 18:44:14 -06:00
Robert O'Callahan
a02e22f69f Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-08 18:44:13 -06:00
Chris Jones
61c07da777 Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-08 18:44:12 -06:00
Chris Jones
5480c3e504 Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-08 18:44:12 -06:00
Matt Woodrow
c0ff9d37e2 Bug 586683 - Part 1 - Add resolution handling to BasicLayers. r=roc a=blocking2.0 2011-02-09 09:35:54 +13:00
John Daggett
bd72fcd371 Bug 629611. Fix file handle leak, compiler warnings. r=joedrew, a=joedrew 2011-02-08 15:02:06 +09:00
Jeff Muizelaar
71495e5b5b Bug 617028. Add example call to LogFailure when binding a buffer fails. r=mattwoodrow
This uses the new failure reporting infrastructure to report buffer binding
failures.
2011-02-07 15:15:46 -05:00
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
Mitchell Field
1592ff67f7 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
dd61bc4257 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11: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
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