Commit Graph

2404 Commits

Author SHA1 Message Date
Ehsan Akhgari
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
521cc06e7d Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:59 -04:00
Jonathan Kew
0604d2f511 bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett 2012-07-03 11:42:07 +01:00
Jonathan Kew
99de89ed3c bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett 2012-07-03 11:35:18 +01:00
Robert O'Callahan
ddbee0e9d9 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan
7252675cc8 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Matt Woodrow
0868198bb0 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-30 15:06:13 +12:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Jonathan Kew
7ee339db6d bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Jonathan Kew
b372d82d77 bug 764805 - fix handling of src:local style properties in the GDI backend. r=jdaggett 2012-06-28 10:59:37 +01:00
Martin Stransky
ddc356125d Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Jonathan Kew
486d6a7bf5 bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett 2012-06-26 09:51:37 +01:00
Nicholas Cameron
03e8305815 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
549b63d97d Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
bb0ad1299c Bug 757346 followup, actually compile 2012-06-26 10:15:15 +12:00
Nicholas Cameron
aae4ecb5d0 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Jonathan Kew
05b9971fb9 bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey 2012-06-21 07:45:55 +01:00
Bas Schouten
5dad9a7e0a Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Jonathan Kew
c49bd10d2f bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett 2012-06-20 20:58:19 +01:00
Jonathan Kew
2d7e5e52f7 bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu 2012-06-20 20:58:18 +01:00
Jonathan Kew
368eaccf10 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Kan-Ru Chen
e9c09b3da5 Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Nicholas Cameron
a5a0aba836 Bug 746896. Fix a bug with printing Azure canvas. r=joe 2012-06-15 10:00:44 +12:00
David Zbarsky
73f1ca6717 Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa 2012-06-14 14:08:12 -07:00
John Daggett
b87de573df Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew 2012-06-14 15:31:56 +09:00
Nicholas Cameron
e9550e5f75 Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas 2012-06-14 10:40:43 +12:00
Ehsan Akhgari
ff75c88d87 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew 2012-06-13 00:14:28 -04:00
Ed Morley
283e84e0e8 Backout a55eea2c294d (bug 627699) for bustage 2012-06-13 16:07:22 +01:00
Martin Stransky
23eecf1d40 Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad 2012-06-13 10:47:54 -04:00
Matt Brubeck
8aad0a2626 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
b97c21b905 Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas
--HG--
extra : rebase_source : 2bb553e52f2d4058e1c7865dadccfc6a20c6d66c
2012-06-08 11:44:07 +12:00
Nicholas Cameron
86ca4eed6a Bug 746896. Fix a bug with printing Azure canvas. r=joe
--HG--
extra : rebase_source : 0f1b44a5be4a3b7fa3f4df3080de50da96b95c58
2012-06-08 11:42:21 +12:00
Chris Jones
84300d4bbe Bug 759653: Use RGB24 for offscreen surfaces on android-esque platforms. r=mwu 2012-06-11 20:41:46 -07:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
d5d8ca1061 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-11 16:45:40 +12:00
Matt Woodrow
147cab5783 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Robert Longson
e7baf0d054 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Bas Schouten
bae1accd49 Bug 759643: Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter. r=roc 2012-05-30 06:55:15 +02:00
Bas Schouten
764c33bc5b Bug 758531: Prevent leaking Azure Patterns' GradientStops. r=roc 2012-05-30 06:42:41 +02:00
Nicholas Cameron
61b522c011 Bug 752380; correct use of enums. r=Bas 2012-05-30 15:04:59 +12:00
Doug Turner
004e91d588 backout 664a8855fde5 2012-05-29 17:39:53 -07:00
Ed Morley
cee7bd6028 Merge mozilla-central to mozilla-inbound 2012-05-30 13:26:37 +01:00
Jonathan Kew
197e0a6850 bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett 2012-05-29 23:44:50 +01:00
Jeff Muizelaar
6185ce8218 Bug 752799. Move image pattern translation within pixman's range. r=roc
--HG--
extra : rebase_source : 0b135838d189944b012e83ec8a225e27ab7dcdca
2012-05-27 21:11:18 -04:00
Jonathan Kew
d152f1ad2f bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett 2012-05-29 23:44:50 +01:00