John Daggett
dcdead5448
Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew
2013-03-14 14:24:40 +09:00
Chris Peterson
b805c917dd
Bug 850408 - Part 1: Remove Snow Leopard OS checks in gfx and xre. r=joshmoz
2013-03-07 23:00:07 +00:00
Jeff Walden
cc0ac55d6b
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Jonathan Kew
4bb4065eea
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
1859a93138
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
85199c3edd
[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
52f18d3cdb
Bug 846132 - (Part 1) Add gfxASurface methods to produce gfxImageSurfaces. r=jrmuizel
2013-03-05 15:39:48 -08:00
Seth Fowler
7b8eca2b46
Bug 846937 - gfxQuartzImageSurface should implement GetSize. r=jrmuizel
...
--HG--
extra : rebase_source : e83f15f6bd5d55d678226b62e725b982d43f8b77
2013-03-05 14:22:28 -08:00
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jonathan Kew
97075c5bcd
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
a1670161cb
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
b682de7747
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
d4f164b2da
Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563
2013-03-04 14:38:11 +00:00
Jonathan Kew
dded44561c
bug 846617 - support AAT Myanmar fonts via Core Text shaping. r=jdaggett
2013-03-04 10:14:36 +00:00
John Daggett
0f0f1ebcfe
Bug 846215 - separate content and chrome word cache metrics. r=taras
2013-03-04 15:57:08 +09:00
Anthony Jones
a867d6ab73
Bug 840693 - Add ZoomScale; r=Bas
2013-03-04 13:25:22 +13:00
Brian R. Bondy
74c3d24e59
Bug 845571 - Turn on console debug logging when running in Metro. r=jimm
2013-02-28 16:10:17 -05:00
Milan Sreckovic
4978124aaa
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
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
21460a71f3
Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Jonathan Kew
073925c9f7
bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett
2012-10-29 13:43:17 +00:00
Tatiana Meshkova
58cfbc30b8
Bug 842805 - Use of API deprecated in Qt5. r=romaxa, r=glandium
2013-02-25 12:25:16 -08:00
Jonathan Kew
696cf350b6
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
Jonathan Kew
110efd96e8
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
4ed4901299
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
c878d63b6a
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2
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
438b3ab061
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
d348a03b58
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Jonathan Kew
4a6209493f
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
L. David Baron
2f75db9fab
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
f3ca7be5df
Bug 833169 - fixup idents and trim out redundant initialization. r=karlt
2013-02-18 14:19:40 +09:00
John Daggett
d5556bb943
Bug 833169 - initialize family name in pango font entries. r=roc
2013-02-18 11:23:01 +09:00
John Daggett
ab79904666
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
bc407f6b23
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
22359abefa
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
4ee86d7149
Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE.
2013-02-13 21:39:07 -05:00
Milan Sreckovic
cf48af5121
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
b114763114
bug 836225 - handle supplementary-plane chars properly in graphite shaper. r=jdaggett
2013-02-13 23:40:24 +00:00
Jeff Gilbert
a781738c64
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Cameron McCormack
f78e8bacaa
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
7541722913
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
9c82787fd4
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
f039793929
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
ad5435cb46
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
7a55a035da
Bug 832545: Mark gfx/thebes as FAIL_ON_WARNINGS. r=BenWa
2013-01-28 12:36:05 -08:00
Daniel Holbert
235fdd8314
Bug 835473: Remove unused functions ValidateLocaTable & ValidateKernTable from gfxFontUtils.cpp. r=jfkthame
2013-01-28 12:35:56 -08:00
Daniel Holbert
9a053a440f
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
4b78b3e922
bug 833297 - ensure graphite shaper does not overwrite cluster information. r=jdaggett
2013-01-23 16:41:32 +00:00
Jonathan Kew
68d48d61d5
bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett
2013-01-23 16:41:18 +00:00
Daniel Holbert
7f4fc5caae
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
da88375317
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
74901ab44c
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
7fdd24a462
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
af27025784
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
6c0bcac140
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
99ab56d516
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
863225ee30
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
baa89f27d1
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
7facc65a2c
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
f872c332e7
Bug 831191: Make PNG dumping work for r5g6b5 surfaces. r=joedrew
2013-01-17 12:06:36 -08:00
Jeff Muizelaar
d900c4e7d6
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
dd91a5bdfa
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
9d4f1f26da
Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE
2013-01-15 14:33:51 +00:00
Mats Palmgren
15b189f769
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
6c53161814
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
3d08a6e452
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
572084f298
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
Anthony Jones
8edb03d1df
Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc
2013-01-12 15:24:14 -05:00
Trevor Saunders
10701d89a1
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
9a40aed69e
Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar
2013-01-11 12:19:02 +01:00
Ehsan Akhgari
4ac0cf0d93
Bug 827934 - Only build gfxUtils.cpp when needed; r=jrmuizel,ted
2013-01-08 14:09:32 -05:00
Ehsan Akhgari
8da44475e9
Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky
2013-01-07 18:34:38 -05:00
Jonathan Kew
e1c4d87f24
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
c83f05e1ca
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
65700ebddb
bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc
2013-01-04 14:01:44 +00:00
Jonathan Kew
1b97de0c13
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
acc80a9abd
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
020367e2ed
Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows.
2013-01-01 13:34:34 +01:00
Robert O'Callahan
5c8d7ee85e
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
68eed6cc78
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Anthony Jones
84c559a422
Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc
2012-12-23 10:50:30 -05:00
Neil Rashbrook
b87325632b
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
cb2c3eaf66
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Jonathan Kew
3e14f136de
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
014d7213d5
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
f1e80feb7a
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Nicholas Nethercote
cc76233470
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
28cc722479
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-12-19 19:30:22 +00:00
Jonathan Kew
9e140898be
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
a24ab17713
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
7ebb7d7dac
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
0cc102545f
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
d93bbe8be4
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
0b4168afb5
Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc
2012-12-16 19:20:01 -05:00
Jeff Walden
7146c23e80
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
d6f5564918
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
39f41efede
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Bas Schouten
6063373753
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=joedrew
2012-12-13 16:34:51 +01:00
Edwin Flores
283f1651ad
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
b92a794517
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
e0e8dc9638
Bug 814952: Further cleanup state management surrounding paths and pathbuilders. r=jrmuizel
2012-12-12 21:37:09 +01:00
Rik Cabanier
db7b579813
Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel
2012-12-12 21:28:17 +01:00
Jonathan Kew
c44d8b77b1
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
fa172a5e94
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00
Ed Morley
2781a25aa5
Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE
2012-12-11 16:24:11 +00:00
Mats Palmgren
273cdc4adc
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-11 16:45:51 +01:00
Nicholas Nethercote
0d84313efb
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
987928ac67
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
e987323650
Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions
2012-12-07 12:37:36 +00:00
Robert O'Callahan
532413ccff
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Chris Lord
f157f692e5
Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard
2012-12-05 17:10:41 +00:00
Mats Palmgren
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Mats Palmgren
a8536927f1
Bug 817459 - Include mozilla/mozalloc.h when needed to avoid link errors. r=tbsaunde
2012-12-03 20:53:27 +01:00
Trevor Saunders
10f6d4b56d
bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar
2012-12-02 15:33:59 -05:00
Nicholas Nethercote
0a76089154
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
962c7d9b70
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
317076c311
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
Bas Schouten
bf4c845d16
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Chris Lord
11a5503d3c
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
Chris Lord
221843e04f
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
abcfaa316e
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
9ec8b6a2e5
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 19:16:53 +00:00
Chris Lord
53df955001
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Justin Lebar
87d10b80f8
Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD
2012-11-19 23:14:14 -05:00
Nicholas Nethercote
531f2b1bb2
Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar
2012-11-19 22:00:19 -05:00
Jeff Muizelaar
dc0080366e
Bug 813071. Remove unncessary AOSP License block. r=gerv
...
This code is the same as the public domain code at
"Bit Twiddling Hacks"
--HG--
extra : rebase_source : 813c7bec84250227bee13a51e2f2ca23c628055b
2012-11-19 13:27:41 -05:00
Jonathan Kew
aabc57a9d0
bug 811312 - part 2 - fold CGFontEntry subclass into MacOSFontEntry. r=jdaggett
2012-11-19 10:22:10 +00:00
Jonathan Kew
ca87de67d9
bug 811312 - part 1 - remove the ATSFontEntry class (not needed on 10.6 and later). r=jdaggett
2012-11-19 10:01:43 +00:00
Ryan VanderMeulen
bd692e864a
Backed out changeset 224fe2a12a04 (bug 779029) for Windows reftest failures.
2012-11-15 21:34:14 -05:00
Bas Schouten
4a93ce1d26
Bug 779029: Try to respect EXTEND_NONE when masking. r=jrmuizel
2012-11-16 00:30:08 +00:00
Jeff Muizelaar
dd29583933
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Brendan Dahl
6172f2923b
Bug 791466 - Fix direct write cairo scaled font. r=Bas
2012-11-12 11:35:49 -08:00
Justin Lebar
8c64b0474c
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
f774dcd8ba
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
19b287d268
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Brian R. Bondy
d0195c204d
Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas
2012-11-08 21:34:44 -05:00
Benoit Girard
a678c602e4
Bug 794337 - Properly alias canvas image data when using Quartz compositing. r=jrmuizel
...
--HG--
extra : rebase_source : fb4c0e1a9bac0ac1cf54ddc23c66756060bbfdab
2012-11-02 16:24:37 -04:00
Matt Woodrow
b5b0a2f7d2
Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones
2012-11-07 19:56:56 +13:00
Matt Woodrow
7ce4642106
Bug 808469 - Make gfxSharedImageSurface take a template parameter for the base surface type. r=cjones
...
--HG--
rename : gfx/thebes/gfxSharedImageSurface.cpp => gfx/thebes/gfxBaseSharedMemorySurface.cpp
rename : gfx/thebes/gfxSharedImageSurface.h => gfx/thebes/gfxBaseSharedMemorySurface.h
2012-11-07 19:56:54 +13:00
Ryan VanderMeulen
68411cd612
Backout c3933841e06e (bug 793013) for possible Win7 reftest failures.
2012-11-06 21:27:09 -05:00
Tobias Schneider
d0adae1591
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Anthony Jones
e5496d02ad
Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron
2012-11-06 18:23:13 -05:00
Anthony Jones
d8dd408030
Bug 793013 - Remove unnecessary whitespace.
2012-11-06 18:23:13 -05:00
Jeff Gilbert
5434073b70
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Jonathan Kew
f20b79de6f
bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas
2012-11-04 10:51:03 +00:00
Ed Morley
0e0ca5c163
Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures
2012-11-04 00:53:06 +00:00
Jonathan Kew
6f943e5171
bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas
2012-11-03 23:01:33 +00:00
Andrew Quartey
96949afbbf
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Brad Lassey
9c0b46bcb3
bug 798826 - crash in gfxFT2FontList::FindFonts @ mozilla::scache::StartupCache::WaitOnWriteThread, speculative null check r=jfkthame
2012-11-01 09:31:58 -04:00
Jeff Muizelaar
82d19c2b98
Bug 805689. Don't copy when we don't need subpixel AA. r=mwoodrow
...
Avoid copying the background for subpixel AA when we aren't using
subpixel AA rendering.
2012-10-31 22:12:26 -04:00
Karl Tomlinson
46e02a3103
b=797568 destroy GLXPixmap on Finish r=roc
...
--HG--
extra : transplant_source : 5%969%9A%B7%97%B2%EC%15%CA%7FPSWP%26Y%9DS%AE
2012-10-31 15:54:20 +13:00
Jonathan Kew
7dd037cec8
bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud
2012-10-29 09:22:30 +00:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Matt Woodrow
9e53224e2a
Bug 775228. r=joe
2012-10-25 12:04:41 +13:00
Bas Schouten
0424bd6075
Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel
2012-10-23 02:26:27 +02:00
Mats Palmgren
8b20f6f589
Bug 798853, gfx. r=roc
2012-10-22 15:53:31 +02:00
Jonathan Kew
dcaf7cf48c
bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett
2012-10-22 08:47:03 +01:00
Jonathan Kew
aa64548679
bug 803483 - opentype script support no longer dependent on OS X version. r=jdaggett
2012-10-22 08:47:01 +01:00
Isaac Aggrey
cbb17fe7b2
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Aryeh Gregor
c441de2073
Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
...
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Matt Woodrow
219b2444d2
Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc
2012-10-17 21:00:00 +13:00
Matthew Gregan
ae0fb47c0a
Bug 789075 - Handle odd sized WebM video frames correctly. r=derf
2012-10-16 16:03:43 +13:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Jan Beich
a4184f72db
Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt
2012-10-10 21:11:15 -04:00
Ed Morley
635a9dc318
Backout 2231b8e778a3 (bug 715658) for errors linking on Windows
2012-10-10 12:15:30 +01:00
Uli Schlachter
d202fcc2be
Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas
2012-10-10 06:32:36 -04:00
Jonathan Kew
02be153e3c
Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas
2012-10-09 13:11:20 +01:00
Anthony Jones
d5ea80a29b
Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
...
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Bas Schouten
9a051b11bb
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Bas Schouten
44668f09e1
Backed out changeset 41b5180cf6af DONTBUILD
2012-10-08 12:56:00 +02:00
Bas Schouten
6ed2f53443
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Ed Morley
dd4f031bed
Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends
2012-10-08 10:31:57 +01:00
Bas Schouten
e71634c8d3
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
...
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Ehsan Akhgari
c284b98070
Bug 579517 follow-up: Remove NSPR types that crept in
2012-10-07 18:26:08 -04:00
Andrew Quartey
b92e443462
Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Benoit Girard
8aed17295d
Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel
2012-07-31 18:48:40 -04:00
Bas Schouten
7629abbddd
Bug 797797: Get the new device offset after pushing the new DT. r=roc
2012-10-04 14:54:57 +02:00
Jacek Caban
aa89fc6296
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/thebes part) r=jmuizelaar
...
--HG--
extra : rebase_source : 10b01cfa84204603779619bda3dc612af93303a4
2012-10-04 10:35:15 +02:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Brad Lassey
1139702006
bug 785291 - Add support to load fonts from an APK, extract fonts from APK r=jfkthame
2012-10-03 12:29:10 -07:00
Brad Lassey
8e39cb742a
bug 785291 - Add support to load fonts from an APK, search for fonts in res/fonts r=jfkthame
2012-10-03 12:28:43 -07:00
Jonathan Kew
8be661e839
bug 619521 pt 2 - load fonts from the current profile as well as the Android system fonts. r=jdagget
2012-10-03 12:27:25 -07:00
Bas Schouten
7c85289823
Bug 797231: Don't overwrite mPathTransform if the transform already changed. r=joedrew
2012-10-03 20:18:23 +02:00
Bas Schouten
85309b3382
Bug 797314: Only push one group and ensure all of the background gets copied in PushGroupAndCopyBackground. r=joedrew
2012-10-03 20:18:19 +02:00
Andrew Quartey
9eed719a44
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
George Wright
950c2e8a90
Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas
2012-10-02 22:09:12 -04:00
George Wright
e17c78352f
Bug 740580 - Make GetShmInfoPtr() a static method on the gfxSharedImageSurface class. r=Bas
2012-10-02 22:09:12 -04:00
Bas Schouten
e62cedfe1d
Bug 778367: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Bas Schouten
49d38ee1c9
Bug 776793: Properly create an opaque surface when copying in the background. r=joedrew
2012-10-02 19:18:56 +02:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Anthony Jones
e464d5aa1b
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Phil Ringnalda
b3fe631c41
Back out 024f0c7ca3fc and 9f856ef0f078 (bug 778367) for Windows reftest failures
2012-10-01 17:29:40 -07:00
Bas Schouten
a1f58d74da
Bug 778367 - Part 2: Mark a test fuzzy where DWrite seems to render differently to a smaller surface. r=jrmuizel
2012-10-02 00:00:15 +02:00
Bas Schouten
76ab722f81
Bug 778367 - Part 1: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Tatiana Meshkova
dcadb6368a
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
2012-04-03 14:57:22 -07:00
Ms2ger
1bd0a8f6e7
Merge backout.
2012-10-01 14:16:20 +02:00
Ms2ger
a72f8370a2
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Masayuki Nakano
3cce608d33
Bug 791953 Fix lossy conversion warning in gfxFont.h r=jfkthame
2012-10-01 19:32:31 +09:00
Tatiana Meshkova
ebd8a29749
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
2012-04-03 14:57:22 -07:00
Ed Morley
722b933229
Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE
2012-09-28 23:00:28 +01:00
Ehsan Akhgari
1d1ec4e105
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-28 14:56:27 -04:00
Andrew Quartey
f55a37c1ba
Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas
2012-09-28 13:21:40 -04:00
Tatiana Meshkova
50ec738dc1
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
...
--HG--
extra : rebase_source : fa22f42c832ae57b8e221ee03c68a45d33a929d3
2012-04-03 14:57:22 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Bas Schouten
2b1d28599c
Backout 73ffe71f9d12 (bug 778367) for windows test bustage on a CLOSED TREE
2012-09-28 02:03:20 +02:00
Phil Ringnalda
fd1e5a6cf0
Back out 519f41fa596f (bug 793408) for Windows build bustage on a CLOSED TREE
2012-09-27 14:38:23 -07:00
Bas Schouten
2fcfaedbb6
Bug 778367: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Ehsan Akhgari
7c8cbb6a5f
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Ehsan Akhgari
52ace62039
Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE
2012-09-27 10:24:08 -04:00
Ehsan Akhgari
823f39644b
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Isaac Aggrey
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Robert O'Callahan
7e36696064
Bug 792641. Clear mContext and mImageSurface to try to clean them up before we delete their underlying data buffer. r=jrmuizel
...
mBlur creates and owns an A8 data buffer that we pass to mImageSurface,
targeted by mContext.
Sometimes, when we remove the last reference to mContext cairo wants to
take a snapshot copy of the data buffer. If this happens after we've
deleted mBlur in ~gfxAlphaBoxBlur, we may crash due to the data
buffer having been deleted already.
A partial solution is to clear mContext and mImageSurface to force
those snapshots to be taken before deleting mBlur. This is only a
partial solution since in principle the client of gfxAlphaBoxBlur
may have kept mContext alive with its own reference. In practice
we don't do that though.
A complete solution would require making the data buffer be owned
by mImageSurface, either directly or indirectly.
2012-09-26 21:27:40 +12:00
Mike Hommey
fb05de0176
Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt
2012-09-25 14:47:18 +02:00
Bas Schouten
5acda0d600
Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
608b6fc192
Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
cf4260a23c
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Robert O'Callahan
65d7a8ceec
Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc
2012-09-12 17:30:25 +12:00
Robert O'Callahan
7efeb9262e
Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas
2012-09-08 00:32:21 +12:00
Robert O'Callahan
13041e1a84
Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
...
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
58aea04535
Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas
2012-09-12 17:24:09 +12:00
Robert O'Callahan
ff8935ad31
Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas
2012-09-05 12:15:52 +12:00
Robert O'Callahan
493af8ee41
Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc
2012-09-20 02:10:46 +12:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Robert O'Callahan
901195649f
Bug 777194. Part 7: Add gfx3DMatrix::NudgeToIntegers. r=bas
2012-08-25 16:41:46 +12:00
Robert O'Callahan
6fae74f2aa
Bug 777194. Part 0: Add gfxPoint::WithinEpsilonOf. r=jrmuizel
2012-08-17 11:38:59 +12:00
Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Anthony Jones
50b33c52d2
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Phil Ringnalda
0500299d26
Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build
2012-09-16 17:59:25 -07:00
Anthony Jones
7ed9310eb6
Bug 789367 - Add content preference for GTK platform. r=nrc
2012-09-16 20:20:16 -04:00
Makoto Kato
d5c93adaee
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Andrew Quartey
4dfe24cbaf
Bug 607075 - Fix logic in gfxWindowsPlatform::UpdateRenderMode r=bjacob
2012-09-10 23:35:25 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
L. David Baron
ff3df34b87
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -04:00
Luqman Aden
46d1c6ded1
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Ehsan Akhgari
08bfa558c1
Backout changeset 25fd2119c8e1 (bug 714937) for possible orange
2012-09-06 18:51:02 -04:00
Luqman Aden
8abf3c5145
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Honza Bambas
541453729c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
David Anderson
b620fb6c5c
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
2795937cf4
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Anthony Jones
0836e3642b
Bug 781731 - Fix Azure Cairo GTK perf by removing xlib to buffered image conversion. r=mattwoodrow
2012-09-02 19:07:05 -04:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
Jonathan Kew
1024b2c567
bug 780409 - updates to thebes harfbuzz integration for hb api changes. r=jdaggett
2012-08-06 11:42:20 +01:00
Aryeh Gregor
5a68b81a9b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Edwin Flores
02666f50da
Bug 719286 - Fix SVG glyphs to work with Azure r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
947ebe27b2
Bug 719286 - Implement GetFontTable for downloaded fonts in linux r=karl
2012-09-06 16:58:47 +12:00
Edwin Flores
824a6c3acd
Bug 719286 - Support new OpenType-in-SVG table format r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
8e909b227f
Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
44ac7386ef
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
06c8be815b
Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame
2012-09-06 16:58:46 +12:00
Edwin Flores
263bc0954e
Bug 719286 - Fixed some SVG glyphs not rendering properly r=jwatt
2012-09-06 16:58:46 +12:00
Edwin Flores
43c1f6c245
Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
67581ebf40
Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
fe9a9803ab
Bug 719286 - Basic OpenType SVG functionality r=roc
2012-09-06 16:57:54 +12:00
Edwin Flores
310c3fff02
Bug 719286 - Extend gfxFontUtils::MapCharToGlyph to accept variation selectors r=roc
2012-09-06 16:57:01 +12:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Cameron McCormack
8ca4399553
Bug 655877 - Part 25: Give gfxTextRuns the ability to invoke a callback after painting glyphs and partial ligatures. r=roc
2012-08-08 21:37:12 +10:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Nicholas Cameron
db90500fee
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
cacd72e824
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 13:46:05 +12:00
Nicholas Cameron
12480ec1e9
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Anderson
88ed1ce560
Merge from mozilla-central.
2012-07-26 18:19:02 -07:00
David Anderson
83c5be4f84
Merge from mozilla-central.
2012-07-25 14:30:08 -07:00
David Anderson
5fc5a16b63
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Ryan VanderMeulen
f2cb0a5ef9
Merge m-c to inbound.
2012-08-01 16:34:02 -04:00
Oleg Romashin
7ead6501fb
Bug 778184 - Add GetScreenDepth API for Qt gfx platform port. r=me,dougt NPODB
2012-08-01 12:00:24 -07:00
Nicholas Cameron
beca46170b
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 19:57:28 +12:00
Nicholas Cameron
9f4ddcf0fb
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
David Anderson
10352157a6
Merge from mozilla-central.
2012-07-23 12:37:49 -07:00
Daniel Holbert
fbf9a0e9ff
Bug 780680: Remove never-read variable 'prevGlyphCharIndex' from gfxHarfBuzzShaper::SetGlyphsFromRun(). r=jfkthame
2012-08-06 13:34:38 -07:00
Sergey Glushchenko
970c894833
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Matt Woodrow
b2fd923dac
Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel
2012-07-23 15:00:37 +12:00
David Anderson
180cbd4d9d
Merge from mozilla-central.
2012-07-19 14:34:36 -07:00
David Anderson
921bd834c9
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Nicholas Cameron
f94f86a078
Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
...
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
ku.b@gmx.de
69919c6184
Bug 709732 - double color correction with X Color Management
2012-07-18 21:09:13 -04:00