Commit Graph

3080 Commits

Author SHA1 Message Date
Jonathan Kew
51d2de9a05 bug 840431 - cache an ellipsis textrun on gfxFontGroup, to minimize perf overhead due to text-overflow. r=roc 2013-03-08 10:41:31 +00:00
Daniel Holbert
56c48afacf Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
George Wright
ceb8b0a733 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Seth Fowler
e391985aa5 Bug 846132 - (Part 1) Add gfxASurface methods to produce gfxImageSurfaces. r=jrmuizel 2013-03-05 15:39:48 -08:00
Seth Fowler
dfbea1ac80 Bug 846937 - gfxQuartzImageSurface should implement GetSize. r=jrmuizel
--HG--
extra : rebase_source : e83f15f6bd5d55d678226b62e725b982d43f8b77
2013-03-05 14:22:28 -08:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jonathan Kew
3c4878e1e6 bug 844669 pt 3 - implement a simple GetCommonFallbackFonts for Android, to reduce the chances of hitting the global fallback codepath and loading all cmaps. r=blassey 2013-03-04 17:03:16 +00:00
Jonathan Kew
bf3682b987 bug 844669 pt 2 - use a transient FT_Face to read font tables such as cmap, if the font entry does not already have an existing face. r=blassey 2013-03-04 17:03:14 +00:00
Jonathan Kew
dd8ab1d754 bug 844669 pt 1 - don't keep freetype faces for all fonts around after building the font list on first-run. r=blassey 2013-03-04 17:03:11 +00:00
Ed Morley
35a3834d4f Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Jonathan Kew
aa623e0a8b bug 846617 - support AAT Myanmar fonts via Core Text shaping. r=jdaggett 2013-03-04 10:14:36 +00:00
John Daggett
bdf8f19da2 Bug 846215 - separate content and chrome word cache metrics. r=taras 2013-03-04 15:57:08 +09:00
Anthony Jones
123a7144b9 Bug 840693 - Add ZoomScale; r=Bas 2013-03-04 13:25:22 +13:00
Brian R. Bondy
dcff5c97c5 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Milan Sreckovic
a4a0dd7987 Bug 843830 - Consolidate the enums in one place, so that bad things don't happen if the qcms enums ever change. r=bgirard 2013-02-21 17:38:10 -05:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
6145f28e00 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Jonathan Kew
aabb1feab3 bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett 2012-10-29 13:43:17 +00:00
Tatiana Meshkova
147bf694f6 Bug 842805 - Use of API deprecated in Qt5. r=romaxa, r=glandium 2013-02-25 12:25:16 -08:00
Jonathan Kew
c8a9d651b2 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Jonathan Kew
2b216fca37 bug 843588 - font table cache management should not rely on hashtable entry pointers remaining valid. r=karlt 2013-02-22 13:14:33 +00:00
Jeff Gilbert
3c4c057a91 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
2f50db2b9c Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
adefde2afe Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
dcb992f562 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
6e032aab6c Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Jonathan Kew
9cd7d9f8bb bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
L. David Baron
116f312f48 Bug 563195: Fix -Wshadow warnings in gfx that affect layout/style. r=derf
A better name here would be welcome.
2013-02-17 22:56:32 -08:00
John Daggett
c1594c20c3 Bug 833169 - fixup idents and trim out redundant initialization. r=karlt 2013-02-18 14:19:40 +09:00
John Daggett
385dc15767 Bug 833169 - initialize family name in pango font entries. r=roc 2013-02-18 11:23:01 +09:00
John Daggett
74c397a0f6 Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew 2013-02-18 11:22:55 +09:00
Oleg Romashin
8fa4339c77 Bug 840869 - division-by-zero possible in gfxFont::Draw when mAdjusted == 0.0 r=bas.schouten 2013-02-17 10:24:55 -08:00
Avi Halachmi
8ba2f637aa Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.

This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.

Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3

m-c cache-key
open: 2.6 close: 2.4

ux
open: 7.3 close: 5.2

ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Ryan VanderMeulen
0f9300ca00 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Milan Sreckovic
8dbfb840d9 Bug 839621 - qcms_transform_create can return null, so indirect callers need to be ready for it as well. r=jmuizelaar 2013-02-08 15:46:26 -05:00
Jonathan Kew
581ef32c77 bug 836225 - handle supplementary-plane chars properly in graphite shaper. r=jdaggett 2013-02-13 23:40:24 +00:00
Jeff Gilbert
c0a7597ab0 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Cameron McCormack
9aa8bf1721 Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Jonathan Kew
c651d057a4 bug 837461 - backout parts 2 and 3 of bug 808288 because pdf.js may paint missing chars to canvas if it failed to load fonts, which looks really ugly; better to skip them for now. r=bas 2013-02-08 16:52:55 +00:00
Jonathan Kew
a19d1387a1 bug 808299 - scale missing-glyph hexbox digits depending on device resolution and zoom. r=roc 2013-02-07 00:19:46 +00:00
Mats Palmgren
81ba64a395 Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe 2013-01-30 17:02:27 +01:00
Jonathan Kew
8654cf370d bug 829523 followup - use MOZ_WIDGET_GONK for the platform conditional, rather than MOZ_B2G. r=cjones 2013-01-30 12:03:39 +00:00
Daniel Holbert
c3979e5b53 Bug 832545: Mark gfx/thebes as FAIL_ON_WARNINGS. r=BenWa 2013-01-28 12:36:05 -08:00
Daniel Holbert
64c8e34145 Bug 835473: Remove unused functions ValidateLocaTable & ValidateKernTable from gfxFontUtils.cpp. r=jfkthame 2013-01-28 12:35:56 -08:00
Daniel Holbert
2caf7e05de Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame 2013-01-28 11:01:59 -08:00
Jonathan Kew
d66002cc36 bug 833297 - ensure graphite shaper does not overwrite cluster information. r=jdaggett 2013-01-23 16:41:32 +00:00
Jonathan Kew
f752845e1e bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett 2013-01-23 16:41:18 +00:00
Daniel Holbert
e06be6b9e3 Bug 833073: Remove (unused) LOG macro from gfxAndroidPlatform.cpp, to fix build warning about it being redefined. r=blassey a=nonlibxul 2013-01-22 00:05:05 -08:00
Daniel Holbert
ccd07c99a7 Bug 833066: Declare loop variable in gfxFT2FontList.cpp as 'size_t' instead of 'int', to fix signed/unsigned warnings. r=blassey a=nonlibxul (#ifdef-android code) 2013-01-22 00:04:39 -08:00
Daniel Holbert
e646415969 Bug 832554: Add #ifdef guards around static functions in /gfx/thebes that aren't used on android, to fix android-only -Wunused-function build warnings. r=BenWa a=nonlibxul 2013-01-21 13:54:42 -08:00