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
Jonathan Kew
de908b5bc2
bug 831292 - don't mask complex-script ranges from the cmap if Graphite tables are present. r=jdaggett
2013-01-21 09:24:45 +00:00
Jonathan Kew
45b3edb7fe
bug 831687 - make graphite shaping use hinted widths if implemented by the font. r=jdaggett
2013-01-21 09:24:24 +00:00
Jonathan Kew
8743c8e938
bug 831277 - (b) properly round glyph positions to appunits or pixels (as appropriate for the platform) in the graphite shaper. r=jdaggett
2013-01-21 09:24:08 +00:00
Jonathan Kew
fc774d33a2
bug 831277 - (a) make GetRoundOffsetsToPixels a method on gfxContext, instead of private to the harfbuzz shaper. r=jdaggett
2013-01-21 09:24:01 +00:00
Jonathan Kew
0e949a6ac2
bug 831548 - character codes with cmap mappings that result in glyph id 0 should not be included in the font's character map. r=jdaggett
2013-01-21 09:23:48 +00:00
Daniel Holbert
2d5764ccc2
Bug 832486: Cast enum values from different types to int32_t before asserting that they're equal, in gfxPangoFonts.cpp. r=jfkthame
2013-01-18 15:15:21 -08:00
Daniel Holbert
0144c015c8
Bug 832456: Declare nsRunnable subclass at file scope instead of inside of a function, to fix build warning about 'visibility' attribute being ignored. r=BenWa
2013-01-18 15:15:04 -08:00
Chris Jones
8ce05e794b
Bug 831191: Make PNG dumping work for r5g6b5 surfaces. r=joedrew
2013-01-17 12:06:36 -08:00
Jeff Muizelaar
ae814deb35
Bug 831438. Add pref for forcing 16bit on B2G. r=cjones
...
B2G currently tries to detect the depth of the screen and uses
that as the offscreen format. This lets us override that
for testing the 16bit path on 24bit devices.
2013-01-17 11:52:41 -05:00
Jonathan Kew
d8a1d9e121
bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones
2013-01-15 15:19:28 +00:00
Ed Morley
1ecfd9cba4
Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE
2013-01-15 14:33:51 +00:00
Mats Palmgren
325a03febf
Bug 786533 - X11/Xlibint.h defines 'min' and 'max' as macros which breaks any use of std::min/std::max. r=ehsan
2013-01-15 13:22:03 +01:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Jonathan Kew
2c30c14aae
bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones
2013-01-15 09:06:47 +00:00
Cameron McCormack
bc2d799592
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
Anthony Jones
06644285ee
Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc
2013-01-12 15:24:14 -05:00
Trevor Saunders
cd9ce5e64f
no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type
2013-01-11 04:43:29 -05:00
Chris Jones
92e8707043
Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar
2013-01-11 12:19:02 +01:00
Ehsan Akhgari
89f4b400c3
Bug 827934 - Only build gfxUtils.cpp when needed; r=jrmuizel,ted
2013-01-08 14:09:32 -05:00
Ehsan Akhgari
c023e35440
Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky
2013-01-07 18:34:38 -05:00
Jonathan Kew
dc68a4ac60
bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
32fd2a26de
bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
b366d014bc
bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc
2013-01-04 14:01:44 +00:00
Jonathan Kew
531d3c6676
bug 825504 - fix gfxPangoFontGroup::FindFamilyNameAt for user fonts, to resolve MathML fonts breakage. r=roc
2013-01-02 22:27:49 +00:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ms2ger
09400dc8df
Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows.
2013-01-01 13:34:34 +01:00
Robert O'Callahan
d224021f24
Bug 717178. Part 3: gfxGDIFont should pass ownership of its mFont to cairo_font_face_t. r=jrmuizel
2013-01-01 17:53:39 +13:00
Robert O'Callahan
66c066653a
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Anthony Jones
f0fee81267
Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc
2012-12-23 10:50:30 -05:00
Neil Rashbrook
41d5c4cd99
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Chiajung Hung
a3797d3442
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Jonathan Kew
0c8a150c5c
bug 765700 - part 1 - trigger PresContext to reflow when Mac font list is updated. r=jdaggett
2012-12-21 09:48:39 +00:00
Mark Hammond
e249240d97
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Nicholas Nethercote
51f20b1833
Bug 820132 - Measure imgFrame::mOptSurface's size where possible, instead of calculating it. r=joedrew.
...
--HG--
extra : rebase_source : da7616356429242e924a09df1124b1dbab13ad60
2012-12-18 21:59:30 -08:00
Ed Morley
c46531d501
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-12-19 19:30:22 +00:00
Jonathan Kew
a03d1dc724
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Oleg Romashin
09597e2391
Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow
2012-12-16 11:25:04 -08:00
Jonathan Kew
a0edfcb37c
bug 822048 - use a /fonts/ subdir for any locally-added fonts stored in the profile. r=blassey
2012-12-18 11:18:56 +00:00
Jeff Muizelaar
95453f865d
Bug 822143. Remove unused pattern from CreateSamplingRestrictedDrawable. r=mstange
...
Seems this got left behind when converting to gfxDrawable in bug 572680.
--HG--
extra : rebase_source : 48fcd3ec1307539b2d587a44e245359fabcd9de5
2012-12-17 15:08:40 -05:00
Matt Woodrow
aac3d85f58
Bug 820061 - Clamp layer scale factors to inverse powers of 2 as well. r=roc
2012-12-17 17:30:51 +13:00
Ting-Yuan Huang
daa4759375
Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc
2012-12-16 19:20:01 -05:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Ed Morley
44da20404d
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
555f703aa1
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Bas Schouten
59113e4e98
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=joedrew
2012-12-13 16:34:51 +01:00
Edwin Flores
908e13aa20
Bug 803394 - Add image type for RGB images in shared memory r=nical
...
--HG--
extra : rebase_source : 3be9bbbcf827c0796d7b0a39724f3372ac080632
2012-12-13 11:47:28 +13:00
Ehsan Akhgari
89b2a80954
Backed out 2 changesets (bug 814952) because it breaks the build
...
Backed out changeset 974417414266 (bug 814952)
Backed out changeset 315707349606 (bug 814952)
2012-12-12 16:16:35 -05:00
Bas Schouten
e7a8b3b796
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=jrmuizel
2012-12-12 21:37:09 +01:00
Rik Cabanier
e415179e91
Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel
2012-12-12 21:28:17 +01:00
Jonathan Kew
5ed0d42bd7
bug 820707 - consistently set familyHasItalic flag on GDI font entries, to avoid referring back to the family during font instantiation. r=roc
2012-12-12 14:09:50 +00:00
Mats Palmgren
4a453b2f3b
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Ed Morley
7980450712
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
a8375e7e07
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Nicholas Nethercote
7d32dc00e9
Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
...
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Jonathan Kew
a294160dcc
bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
2012-12-10 09:31:07 +00:00
Ed Morley
2f3183fde3
Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions
2012-12-07 12:37:36 +00:00
Robert O'Callahan
5bac7c566d
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Chris Lord
f192c200fc
Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard
2012-12-05 17:10:41 +00:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Mats Palmgren
12d75f8fb4
Bug 817459 - Include mozilla/mozalloc.h when needed to avoid link errors. r=tbsaunde
2012-12-03 20:53:27 +01:00
Trevor Saunders
97fe774225
bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar
2012-12-02 15:33:59 -05:00
Nicholas Nethercote
65cbbd034d
Bug 711901 - When possible, measure, don't compute, the size of imgFrame::mImageSurface. r=joedrew.
...
--HG--
extra : rebase_source : 72dc61c2618166262ec6d83778d7bd2a3a7b5d61
2012-11-26 16:29:56 -08:00
Oleg Romashin
13c706ad44
Bug 814979 - Fennec build fails with Mer SDK: invalid inclusion of GLXLibrary.h. r=glandium,mattwoodrow
2012-11-26 00:08:22 -08:00
Brian R. Bondy
6247c94cd0
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
Bas Schouten
b084ef8c84
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Chris Lord
ba78c1a393
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 22:34:20 +00:00