Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Nicolas Silva
0beab091c2
Bug 792252 - Clean up ImageContainerChild (before implementing SharedPlanarYCbCrImage to remove the extra video frame copy). r=kanru
2012-10-29 16:08:06 +01:00
Bas Schouten
4f15d944ba
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
698c871d74
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
ed3c6b2dd4
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Benoit Girard
5d9fdabc64
Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
...
--HG--
rename : layout/style/test/test_viewport_units.html => layout/style/test/test_rem_unit.html
extra : rebase_source : 3b18b7c42691b655264b615044e28cb448fde7a6
2012-10-26 10:44:48 -04:00
Benoit Girard
5ba2ae05c2
Bug 805792 - Avoid extra copies when calling RenderTile. r=Cwiiis
...
--HG--
rename : toolkit/components/passwordmgr/test/auth2/authenticate.sjs => toolkit/components/passwordmgr/test/authenticate.sjs
extra : rebase_source : 30755a7e578743530c51f6f1953ca25bf5c0e149
2012-10-26 09:38:44 -04:00
Jacek Caban
e9e379c62d
Bug 803066 - graphite2 fails to cross compile for Windows from case sensitive OS r=jfkthame
2012-10-26 10:48:06 +02:00
Matt Joras
2549497ae7
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Chris Lord
59e6d65fb8
Bug 805014 - Disable progressive tiles when a shadow target is set. r=bgirard
...
The testing framework doesn't react well to paints not coming in synchronously.
Disable progressive tile painting when a shadow target is set on the layer
manager for now.
2012-10-25 17:27:08 +01:00
Chris Lord
920793b142
Bug 805028 - Add LayerManagerOGL::ComputeRenderIntegrity. r=bgirard
...
Add a function to LayerManagerOGL that can compute how much of the last
rendered area was incomplete (i.e. is pending update when progressive tile
drawing is enabled).
2012-10-25 17:23:42 +01:00
Markus Stange
75394ce10f
Bug 770524 - Fix FuzzyEqual to not return false for equal floats which are smaller than -2048.0f. r=roc
2012-10-25 12:54:15 +02:00
Anthony Jones
68095a6134
Bug 796418 - Check cairo matrix before drawing. r=joe
2012-10-24 22:03:21 -04:00
Matt Woodrow
9e53224e2a
Bug 775228. r=joe
2012-10-25 12:04:41 +13:00
Benoit Jacob
2a68548e71
Bug 793126 - import ANGLE r1278 to get the fix for ANGLE bug 350, a WebGL crasher - r=jgilbert
2012-10-24 16:26:54 -04:00
Markus Stange
3675c89168
Bug 805002 - Flush accelerated Quartz canvas before GL composition. r=BenWa
2012-10-24 18:17:00 +02:00
Chris Lord
f5236acf1f
Bug 803013 - Update valid region progressively with tiles. r=bgirard
...
When updating tiles progressively, make sure the valid region is also updated
progressively to avoid flickering.
2012-10-24 15:49:03 +01:00
Doug Sherk
3251aebb84
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Jonathan Kew
8ca571a922
bug 803347 - update graphite2 lib to upstream commit 4ddfa0f51098. r=jdaggett
2012-10-24 09:20:13 +01:00
Phil Ringnalda
e1e45989af
Backout 8cc37887f621 and b6bd9f564650 (bug 795259) and 8b9c7bf80449 (bug 803013) to investigate the effect on Android reftest-1 and -4 permaorange
2012-10-23 23:35:13 -07:00
Benoit Jacob
1ec3a0a820
Bug 801158 - update ANGLE README.mozilla with detailed update instructions to help someone else learn how to do ANGLE updates - no review, DONTBUILD
2012-10-23 18:31:31 -04:00
Benoit Girard
b91e942f5e
Bug 804724 - Add an abort painting marker. r=ehsan
...
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Ehsan Akhgari
ad6f47387e
Backout changeset d587ce3af2f3 (bug 791428) because of performance regressions
2012-10-23 16:01:45 -04:00
Chris Lord
7a4b155c59
Bug 803013 - Update valid region progressively with tiles. r=bgirard
...
When updating tiles progressively, make sure the valid region is also updated
progressively to avoid flickering.
2012-10-23 19:30:35 +01:00
Jonathan Kew
7a6fc2753d
bug 715798 pt 3 - support Color Emoji font in the gfx/2d quartz backend. r=jrmuizel
2012-10-23 10:07:14 +01:00
Jonathan Kew
e7e8318d60
bug 715798 pt 2.1 - add patch for huge emoji support to the gfx/cairo directory (NPOTB)
2012-10-23 10:05:53 +01:00
Jonathan Kew
ce6d3dbc61
bug 715798 pt 2 - fall back to show_text_glyphs even at huge sizes if scaled_font_glyph_path didn't work. r=jrmuizel
2012-10-23 10:04:32 +01:00
Jonathan Kew
4731df6277
bug 715798 pt 1.1 - add patch for Apple color emoji support to the gfx/cairo directory (NPOTB)
2012-10-23 10:03:12 +01:00
Jonathan Kew
8aeaa0bdc0
bug 715798 pt 1 - support Apple Color Emoji font in cairo-quartz backend. r=jrmuizel
2012-10-23 09:58:13 +01:00
Robert O'Callahan
f8e635ee8b
Backing out 20279718e3c7 (bug 717178 part 2) for test bustage on a CLOSED TREE
2012-10-23 16:31:12 +13:00
Anthony Jones
05bd6f276c
Bug 791428 - Limit pixel sizes so that they can't exceed app unit limits. r=roc
2012-10-22 22:22:27 -04:00
Adrian Johnson ext:(%2C%20Andrea%20Canciani%20%3Cranma42%40gmail.com%3E)
5570709872
Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream. r=jrmuizel
...
======
From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Tue, 16 Nov 2010 13:18:39 +0000
Subject: win32: Use a font_face hash table to provide unique font faces
Similar to the freetype and toy font backends, use a hash table
to map logfont,hfont to font faces.
This fixes the multiple embedding of the same font in PDF.
https://bugs.freedesktop.org/show_bug.cgi?id=24849
======
From 6e3e329170ab4b96bc0d587c8071e869e228e758 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Thu, 18 Nov 2010 12:37:45 +0000
Subject: win32: fix font_face hashing
some bugs were discovered while testing with firefox
======
From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
From: Andrea Canciani <ranma42@gmail.com>
Date: Wed, 15 Jun 2011 09:37:36 +0000
Subject: win32-font: Improve static data reset function
The hashtable is guaranteed to only contain font faces which are
currently referenced, hence there is no need to remove any font face
when it is reset (just like for toy-font).
This makes the function simpler and fixes the assertion
Assertion failed: predicate != NULL, file cairo-hash.c, line 373
hit by multiple tests (the first one being "clear").
See https://bugs.freedesktop.org/show_bug.cgi?id=38049
======
--HG--
extra : rebase_source : 73172c901f80e2f6e9f52035e1d6eab2a220642f
2012-10-23 12:43:29 +13:00
Robert O'Callahan
02c8c59d34
Bug 717178. Part 1: Don't crash when passing a nil scaled-font to _name_tables_match. r=jfkthame
...
--HG--
extra : rebase_source : ba6ada662a871fbf3bdd2ee3b2a8f031fd213e4b
2012-10-23 12:37:28 +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
Chris Lord
2caf0bb798
Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard
...
When rendering progressively, make sure that any previously visible area that
is still visible is updated at the same time. This helps maintain visual
coherency on pages that invalidate previously visible areas while scrolling,
and when losing layers between updates.
This supersedes the previous method of only doing progressive updates while
scrolling.
2012-10-22 20:18:14 +01: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
Kan-Ru Chen (陳侃如)
b004178115
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08: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
Jonathan Kew
b78e65d610
bug 802223 - suppress harfbuzz build warning that isn't relevant to our usage. r=jdaggett
2012-10-18 15:44:21 +01:00
Chris Lord
91821fc9ca
Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard
2012-10-18 12:59:17 +01:00
Chris Lord
555a98443f
Bug 802143 - Fix calculation of content bounds in ReusableTileStoreOGL. r=bgirard
...
FrameMetrics changed at some point so that the content rect and scroll offset
are stored pre-multiplied by the render resolution. The display-port calculation
in this function appears to have always been wrong(?)
2012-10-18 12:53:33 +01:00
Robert O'Callahan
6bbe1c00e4
Bug 776505. Assert that nsDeviceContext is created on the main thread only. r=mats
...
--HG--
extra : rebase_source : fcda449b3bf25c9827c2fa2f000c20460819ce53
2012-10-17 17:51:58 +13:00
Nicholas Cameron
c02fbc2f2e
Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD
2012-10-18 21:40:32 +13:00
Nicholas Cameron
274ef633c7
Back out changeset db4fd6efba17 for wrong bug number r=me
2012-10-18 21:39:15 +13:00
Chris Jones
5c2831faf2
Bug 799644: Need to clear areas of rgba buffers we're about to repaint. r=mattwoodrow
2012-10-17 22:44:26 -07:00
Nicholas Cameron
46f96abb92
Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
...
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Bill McCloskey
760cd44124
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Joe Drew
0cddcc1188
Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280
...
--HG--
extra : rebase_source : c26a57f060f172e9b7864eef69fa782064b4fae5
2012-10-10 11:35:23 -04: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
Steven Michaud
5038f543ad
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Matthew Gregan
ae0fb47c0a
Bug 789075 - Handle odd sized WebM video frames correctly. r=derf
2012-10-16 16:03:43 +13:00
Benoit Girard
cab00e8f02
Back out b7f31a736800 for mochitest failures
...
--HG--
extra : rebase_source : 9f77f07db004fe11a20533c0ad017cef825a1a8b
2012-10-15 16:57:43 -04:00
Benoit Girard
0c6e26e826
Back out d5496f32f2e4 for mochitest failures
...
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
632a14569f
Bug 796117 - Keep tiles cached when changing resolution. r=Cwiiis
...
--HG--
extra : rebase_source : fdc4bb831c367d2d33dadb75c6d1f9784b97d44d
2012-10-15 15:08:45 -04:00
Benoit Jacob
15decb515e
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
ce980ce123
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Benoit Girard
3dff7c50b2
Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis
2012-10-12 17:50:08 -04:00
Oleg Romashin
07bb73f5c2
Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten
2012-10-14 23:19:13 -07:00
Chris Lord
adab118d74
Bug 749063 - Improve progressive tile update draw order. r=bgirard
...
Now that the region can be more complicated due to tile prioritisation, the
previous code for draw order doesn't work as intended. Robustify/simplify the
code by making it region-based.
2012-10-15 09:33:56 +01:00
Chris Lord
fec9404d96
Bug 749063 - Prioritise visible tiles when progressively updating. r=bgirard
...
When progressively updating tiles, prioritise tiles that intersect with the
current viewport before off-screen tiles. New content is still prioritised
over stale content.
2012-10-15 09:33:48 +01:00
Chris Lord
bc223170e4
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Matt Woodrow
3584642dca
Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc
2012-10-15 17:53:37 +13:00
Makoto Kato
bcef59eb0c
Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar
2012-10-15 13:34:52 +09:00
Ed Morley
f71c7a0f14
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
edeb5cd80c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
c310927390
Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
...
This is a rollup of the following patches
- Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
- Remove mention of "meta" from TabChild. r=roc
- Remove some useless logging. r=roc
- Tag FrameMetrics with its composition bounds at paint time. r=roc
- Add a helper to calculate the render resolution for a FrameMetrics. r=roc
- Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
- BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
- Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
- Mechanically separate uses of zoom/resolution based on new definitions. r=roc
- Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
- Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Jan Beich
2d2b527a3c
Bug 800058 - Unbreak graphite2-1.2.0 on clang/libc++. r=jfkthame
2012-10-11 10:53:19 +01:00
Jan Beich
a4184f72db
Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt
2012-10-10 21:11:15 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Jeff Muizelaar
538087de5f
Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
...
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.
This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Ed Morley
635a9dc318
Backout 2231b8e778a3 (bug 715658) for errors linking on Windows
2012-10-10 12:15:30 +01:00
Anthony Jones
fc45f4771a
Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe
2012-10-10 06:32:36 -04: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
Makoto Kato
fd5c3140ef
Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc
2012-10-10 15:17:30 +09:00
Jonathan Kew
217dfe2093
bug 789687 - update harfbuzz to upstream commit fecdfa95daf4916695f23e7dab89ab363be11b89. r=jdaggett
2012-10-09 13:11:24 +01: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
Jacek Caban
a44b667f3a
Bug 795839 - Include iostream in PathRecording.h r=bas
...
--HG--
extra : rebase_source : 3774e2bdd21b05b009301269e8241acac8468003
2012-10-09 11:44:11 +02:00
Jonathan Kew
d3116702d7
bug 797863 - change #includes of <cstdio> to <stdio.h> in graphite2 to work around bug 721839. r=jdaggett
2012-10-09 10:33:41 +01:00
Jonathan Kew
5a533bba08
bug 797863 - fixes for minor build problems in graphite2 v1.2. r=jdaggett
2012-10-09 10:33:22 +01:00
Jonathan Kew
9ee73bf342
bug 797863 - update graphite2 library to release 1.2 ( http://projects.palaso.org/attachments/download/298/graphite2-1.2.0.tgz ). r=jdaggett
2012-10-09 10:33:00 +01:00
Edwin Flores
189f94352a
Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru
2012-10-09 17:06:35 +13: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
Bas Schouten
e77095ab40
Bug 798931: Push clip layers to the correct render targets. r=roc
2012-10-08 12:17:17 +02: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
Oleg Romashin
61e94a51ca
Bug 796927 - Gfx Build fix, missing cstring include for memcpy. r=joe
2012-10-06 13:59:01 -07:00
Joe Drew
821fa45bcb
Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar
2012-10-06 21:53:23 -04:00
Bas Schouten
d4bc6c631b
Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel
2012-10-07 01:43:16 +02:00
Ed Morley
5abdf356a2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Jeff Muizelaar
6f3adc5ecf
Bug 798758. qcms: Fix component order typo. r=Bas
...
This was caused by bug 791422 (bd16a5d51273)
2012-10-06 08:20:50 -04:00
Brad Lassey
c3e21676ef
bug 790139 - crash in FT2FontEntry::CreateFontEntry when visiting any site in CM10 r=jfkthame
2012-10-05 17:46:02 -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