Commit Graph

6128 Commits

Author SHA1 Message Date
Benoit Girard
6d8362a8e3 Bug 804724 - Add an abort painting marker. r=ehsan
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Ehsan Akhgari
14ea91459d Backout changeset d587ce3af2f3 (bug 791428) because of performance regressions 2012-10-23 16:01:45 -04:00
Chris Lord
ec28ea4248 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
8797c7fbb0 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
aa0dfab72a 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
f02066c4bb 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
e05d1cc423 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
5d6d10ae42 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
8c694ead4c Backing out 20279718e3c7 (bug 717178 part 2) for test bustage on a CLOSED TREE 2012-10-23 16:31:12 +13:00
Anthony Jones
429690fd65 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)
e273d9a236 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
0c634d7c05 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
0180262fe6 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
92a8e8eb5b 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
e74ed98939 Bug 798853, gfx. r=roc 2012-10-22 15:53:31 +02:00
Jonathan Kew
9720ae3df4 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
e38a8fa3ef 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 (陳侃如)
c162c0d48f Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical 2012-10-20 08:18:31 +08:00
Isaac Aggrey
9e41ce2fa0 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
43e399f0a3 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
f417dde98c Bug 802143 - Clarify coordinate spaces in ReusableTileStoreOGL::DrawTiles. r=bgirard 2012-10-18 12:59:17 +01:00
Chris Lord
ba0b96675c 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
ef3b486fb1 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
ae19046b6a Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD 2012-10-18 21:40:32 +13:00
Nicholas Cameron
c6451f58a1 Back out changeset db4fd6efba17 for wrong bug number r=me 2012-10-18 21:39:15 +13:00
Chris Jones
f085790e09 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
40b388f762 Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Bill McCloskey
0728920867 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
Joe Drew
ed27f21e03 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
88f480b3d0 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
c266c7fcf4 Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc 2012-10-17 21:00:00 +13:00
Steven Michaud
5a116d7578 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Matthew Gregan
be00aa7981 Bug 789075 - Handle odd sized WebM video frames correctly. r=derf 2012-10-16 16:03:43 +13:00
Benoit Girard
cfdf0a021b Back out b7f31a736800 for mochitest failures
--HG--
extra : rebase_source : 9f77f07db004fe11a20533c0ad017cef825a1a8b
2012-10-15 16:57:43 -04:00
Benoit Girard
6fc234d810 Back out d5496f32f2e4 for mochitest failures
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
7278b49e9c 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
c78c87a1ca back out 621cfd13ceaf for build failures 2012-10-15 13:34:42 -04:00
Matt Joras
db700742e9 Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar 2012-10-15 13:02:21 -04:00
Benoit Girard
ec26b16506 Bug 796117 - New Mobile tilestore tiles will now replace equivalent tiles. r=Cwiiis 2012-10-12 17:50:08 -04:00
Oleg Romashin
5aa9617314 Bug 801460 - IDXGIFactory2 not declared build errors with --enable-metro. r=bas.schouten 2012-10-14 23:19:13 -07:00
Chris Lord
dca6278f92 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
dba95137af 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
5bf1712318 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
fcce8cbd82 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
bd55d44862 Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar 2012-10-15 13:34:52 +09:00
Ed Morley
58b2b67062 Merge mozilla-central to mozilla-inbound 2012-10-12 12:22:14 +01:00
Ed Morley
730f7084d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-12 11:59:59 +01:00
Nicholas Cameron
ab7f6035bf Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
b00b1e25b0 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
303211e484 Bug 800058 - Unbreak graphite2-1.2.0 on clang/libc++. r=jfkthame 2012-10-11 10:53:19 +01:00
Jan Beich
c0e9926e32 Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt 2012-10-10 21:11:15 -04:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Jeff Muizelaar
07b8aa36d6 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
b21550a382 Backout 2231b8e778a3 (bug 715658) for errors linking on Windows 2012-10-10 12:15:30 +01:00
Anthony Jones
15656b2623 Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe 2012-10-10 06:32:36 -04:00
Uli Schlachter
f82676933a Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas 2012-10-10 06:32:36 -04:00
Makoto Kato
5a7e84e7fe Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc 2012-10-10 15:17:30 +09:00
Jonathan Kew
638a0abf59 bug 789687 - update harfbuzz to upstream commit fecdfa95daf4916695f23e7dab89ab363be11b89. r=jdaggett 2012-10-09 13:11:24 +01:00
Jonathan Kew
dca13f88d5 Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas 2012-10-09 13:11:20 +01:00
Anthony Jones
1ad1473852 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
28992e5e05 Bug 795839 - Include iostream in PathRecording.h r=bas
--HG--
extra : rebase_source : 3774e2bdd21b05b009301269e8241acac8468003
2012-10-09 11:44:11 +02:00
Jonathan Kew
aca101d057 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
219b9419db bug 797863 - fixes for minor build problems in graphite2 v1.2. r=jdaggett 2012-10-09 10:33:22 +01:00
Jonathan Kew
009686fa5e 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
efd294e673 Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru 2012-10-09 17:06:35 +13:00
Bas Schouten
3e59ae2b30 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
d8b7eca98f Backed out changeset 41b5180cf6af DONTBUILD 2012-10-08 12:56:00 +02:00
Bas Schouten
a813e80bc2 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
c333193b1d Bug 798931: Push clip layers to the correct render targets. r=roc 2012-10-08 12:17:17 +02:00
Ed Morley
42f0125a9a 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
2452b636ce 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
3239e8a0d5 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Oleg Romashin
17cd21e011 Bug 796927 - Gfx Build fix, missing cstring include for memcpy. r=joe 2012-10-06 13:59:01 -07:00
Joe Drew
6343da8f62 Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar 2012-10-06 21:53:23 -04:00
Bas Schouten
e24cd566f3 Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel 2012-10-07 01:43:16 +02:00
Ed Morley
fd14735924 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Jeff Muizelaar
7cf4f06f92 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
415ed19020 bug 790139 - crash in FT2FontEntry::CreateFontEntry when visiting any site in CM10 r=jfkthame 2012-10-05 17:46:02 -04:00
Andrew Quartey
5fcf688c9c Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Ed Morley
29308c09dd Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Chris Lord
cea8d6a6c4 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Benoit Girard
af307e1729 Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel 2012-07-31 18:48:40 -04:00
Bas Schouten
38c31a9d1f Bug 797797: Get the new device offset after pushing the new DT. r=roc 2012-10-04 14:54:57 +02:00
Jacek Caban
cb55d343b2 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
Jacek Caban
2ce20f226a Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/gl part) r=bjacob
--HG--
extra : rebase_source : 1bbd8bff8a82d0c9dfb2adda52a46a43fdc6e284
2012-10-04 10:31:56 +02:00
Nicholas Cameron
56e57fe121 Bug 796182; fix invalidation on Mac with OMTC; r=cjones 2012-10-04 20:45:48 +13:00
Chris Jones
461d5e2250 Bug 780920, part 3: The ultimate compositor has to draw to the readback surface; shadow layers doesn't have access to all the needed rendering state. r=roc 2012-10-04 00:05:24 -07:00
Chris Jones
adcf7e6a53 Bug 780920, part 1: LayerManagerOGL needs to account for the world transform when reading back into a non-default target. r=roc 2012-10-04 00:05:23 -07:00
Daniel Holbert
b99559ce8f Bug 797666: Add unsigned cast in assertion within TiledLayerBuffer::Update(), to fix build warning. r=BenWa 2012-10-03 22:31:59 -07:00
Chris Jones
1e2b3a8245 Bug 790505, part 3: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc 2012-10-02 22:55:50 -07:00
Ryan VanderMeulen
5a509f3cc7 Merge m-c to inbound. 2012-10-03 22:24:20 -04:00
Ryan VanderMeulen
c7df9c8a33 Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391. 2012-10-03 22:13:14 -04:00
Benoit Jacob
89d50dcdb1 Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert 2012-10-03 17:13:05 -04:00
Brad Lassey
0158155bef 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
6799eda132 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
99496aacea 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
Benoit Girard
4ac759dafb Bug 797359 - Increase size of tile debug overlay. r=Cwiiis 2012-10-03 10:56:41 -04:00
Bas Schouten
f96300883e Bug 797231: Don't overwrite mPathTransform if the transform already changed. r=joedrew 2012-10-03 20:18:23 +02:00
Bas Schouten
9775370fca 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
Ehsan Akhgari
efdd777320 Bug 797219 - Make OutputMessage in gfx/2d/Logging.h static inline; r=joe 2012-10-03 13:43:37 -04:00
Benoit Girard
27b65fc354 Bug 796939 - Don't use the SinglePaintBuffer if only painting one tile. r=Cwiis 2012-10-03 10:28:04 -04:00
Benoit Girard
748056404b Bug 796084 - Remove reference to java compositor in comments. r=Cwiiis, DONTBUILD because comment only
--HG--
extra : rebase_source : 219138ec908b089e62f1394358a87a921e379383
2012-10-02 09:46:01 -04:00
Andrew Quartey
1d85650f11 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Robert O'Callahan
463a316a37 Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas 2012-10-04 00:30:56 +13:00
Chris Lord
a03cdf3a7b Bug 797393 - Fix FrameMetrics == operator. r=roc 2012-10-03 19:51:38 -04:00
Ehsan Akhgari
7eb88a7711 Bug 797612 - Remove PathCG::mFigureActive; r=jrmuizel
--HG--
extra : rebase_source : 4ce5161c5ffee297ab55ad7a980dbb74f0051ded
2012-10-03 19:43:03 -04:00
Ehsan Akhgari
7d3a3034c2 Bug 797614 - Silence the warning about assignment in the condition in BasicTiledThebesLayer.cpp; r=jrmuizel
--HG--
extra : rebase_source : 2318567420c513555e2c8ee3cebfa5ff16eeaa3b
2012-10-03 19:36:10 -04:00
Jeff Muizelaar
a926445bac Bug 791422. Support more flexibiltiy qcms output format. r=BenWa
This will help support Chrome and should also let us output directly to a cairo
compatible format.
2012-10-03 19:04:25 -04:00
Ehsan Akhgari
043258e439 Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel 2012-10-03 18:50:20 -04:00
Chris Jones
263dc7d01e Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones
42d62c9836 Bug 790505, part 2: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc 2012-10-02 22:55:50 -07:00
George Wright
b65e8574f8 Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas 2012-10-02 22:09:12 -04:00
George Wright
3a48f9d338 Bug 740580 - Make GetShmInfoPtr() a static method on the gfxSharedImageSurface class. r=Bas 2012-10-02 22:09:12 -04:00
Nicholas Cameron
3e5b159112 Bug 753237 - Implement DrawTargetCairo::Mask(). r=joe 2012-10-02 20:14:38 -04:00
Benoit Girard
8be01d10c3 bug 795310 - Uninitialised value use in mozilla::layers::BasicTiledThebesLayer::PaintThebes r=cwiiis
--HG--
extra : rebase_source : e5c219ce278714699a1bcddf6c98fd2e3c5d7a8f
2012-10-02 14:14:47 -07:00
Steven Michaud
8650a61e2a Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Bas Schouten
3b32311994 Bug 778367: Minimize intermediate surface size. r=jrmuizel 2012-09-27 23:00:51 +02:00
Bas Schouten
568977cf86 Bug 776793: Properly create an opaque surface when copying in the background. r=joedrew 2012-10-02 19:18:56 +02:00
Ed Morley
d078159b72 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Chris Jones
5d2d37d5fb Back out 17f942846b9f (bug 795811) for causing startup crashes. 2012-10-02 01:29:53 -07:00
David Zbarsky
cc5f5cf37b Bug 795811 - Make GetPrimaryScrollableLayer() return null on all configurations except MOZ_WIDGET_ANDROID r=cjones 2012-10-02 00:19:56 -04:00
Kan-Ru Chen (陳侃如)
5c4f1982a1 Bug 788408 - Part 2. Use glReadPixels to read back when back buffer isn't RGBA compatible. r=jgilbert 2012-10-02 10:42:13 +08:00
Kan-Ru Chen (陳侃如)
e700a809b8 Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow 2012-10-02 10:42:09 +08:00
Anthony Jones
390224a3da Bug 795135 - Fix CairoTempMatrix restore. r=joe 2012-10-01 22:12:13 -04:00
Anthony Jones
3d4fd16180 Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron 2012-10-01 22:12:13 -04:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Phil Ringnalda
5be3c350ff Back out 024f0c7ca3fc and 9f856ef0f078 (bug 778367) for Windows reftest failures 2012-10-01 17:29:40 -07:00
Bas Schouten
c8b5089d0c 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
5820f925be Bug 778367 - Part 1: Minimize intermediate surface size. r=jrmuizel 2012-09-27 23:00:51 +02:00
Ms2ger
a77a250988 Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Tatiana Meshkova
1905ac69f9 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
Joe Drew
8219c6bebc Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel 2012-08-23 15:36:04 -04:00
Ed Morley
ffa6bbc07e Merge mozilla-central to mozilla-inbound 2012-10-01 14:04:36 +01:00
Ed Morley
301e4772fd Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-01 14:02:06 +01:00
Matt Woodrow
cc97c0649b Bug 795694 - Invalidate changed visible regions of layers. r=roc 2012-10-01 16:38:46 +13:00
Ms2ger
7d9ebb63c7 Merge backout. 2012-10-01 14:16:20 +02:00
Ms2ger
372fb21863 Bug 795862 - Back out bug 486918 for build bustage in unreviewed code. 2012-10-01 14:16:03 +02:00
Masayuki Nakano
c109b19922 Bug 791953 Fix lossy conversion warning in gfxFont.h r=jfkthame 2012-10-01 19:32:31 +09:00
David Zbarsky
e5303c560b Bug 790508: SampleAnimations should walk the layer tree from the root instead of from the primary scrollable layer r=cjones 2012-10-01 02:13:49 -04:00
Mounir Lamouri
a103215fb8 Merge m-i inm-c. 2012-09-30 13:19:15 +01:00
Matt Woodrow
a5250ecdf6 Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones 2012-09-30 19:20:25 +13:00
Matt Woodrow
23512b7cf7 Bug 795631 - Update BasicLayerManager::mPhase variable in release mode as well as debug. r=cjones 2012-09-30 19:20:24 +13:00
George Wright
4f9736fd3c Bug 795549 - Move TileProc functions into their own file to ensure they only exist once in a library r=mattwoodrow 2012-09-29 09:58:46 -04:00
Jonathan Kew
a85e67486b bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc 2012-09-29 12:35:19 +01:00
Jonathan Kew
9dccf0c9c8 bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc 2012-09-29 12:34:41 +01:00
Doug Sherk
4a17f28103 Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones 2012-09-29 00:02:45 -04:00
Doug Sherk
19cc16c9aa Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones 2012-09-29 00:02:41 -04:00
George Wright
bc898245f6 Bug 795538 - Ensure we use the correct colour (and alpha) for the clamp values r=mattwoodrow 2012-09-28 23:12:19 -04:00
Doug Sherk
4f2bfeb032 Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug 2012-09-28 22:18:18 -04:00
Doug Sherk
2c2aabf888 Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc 2012-09-28 22:16:38 -04:00
Doug Sherk
f73db9f5da Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Ed Morley
6250aafdf0 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
a3770a0057 Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04:00
Andrew Quartey
24a0485f96 Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas 2012-09-28 13:21:40 -04:00
Tatiana Meshkova
6c58b4dd5f 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
Joe Drew
9c1a03cf35 Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel 2012-08-23 15:36:04 -04:00
Tatiana Meshkova
730949b4e1 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
Joe Drew
d69b59de49 Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel
--HG--
extra : rebase_source : afcbe4f2b8fac985d836b038fb42156d27dc1c29
2012-08-23 15:36:04 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
62d7406c52 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow
d761c865d1 Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE 2012-09-29 01:39:35 +12:00
Matt Woodrow
5abb9407ff Bug 539356 - Revert LayerTreeInvalidation changes to detect Image changes, landed on a CLOSED TREE. r=roc 2012-09-29 01:12:59 +12:00
Matt Woodrow
728fcb17f4 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Oleg Romashin
eaf15a9992 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
ddc3006aef Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
12901c44ef 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
Chris Jones
9397b0a053 Bug 794727: Translate asynchronously-animated transforms by the offset to their reference frame when sampling. r=mattwoodrow 2012-09-27 20:14:33 -07:00
Adrian Johnson
a4ecfc373d From: Adrian Johnson <ajohnson@redneon.com>
Bug 691061 - Don't use patterns with padded images. r=jmuizelaar
2012-09-21 15:19:01 +12:00
Adrian Johnson
1eb79198fb From: Adrian Johnson <ajohnson@redneon.com>
Bug 691061 - Check if EXTEND_PAD group can be painted with EXTEND_NONE. r=jmuizelaar
2012-09-21 15:18:42 +12:00
Bas Schouten
9ecf52cbe0 Backout 73ffe71f9d12 (bug 778367) for windows test bustage on a CLOSED TREE 2012-09-28 02:03:20 +02:00
Phil Ringnalda
3aa103fdc6 Back out 519f41fa596f (bug 793408) for Windows build bustage on a CLOSED TREE 2012-09-27 14:38:23 -07:00
Bas Schouten
5d44e11f9f Bug 778367: Minimize intermediate surface size. r=jrmuizel 2012-09-27 23:00:51 +02:00
Ehsan Akhgari
087cd05f52 Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-22 11:34:22 -04:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Ehsan Akhgari
e13fd08011 Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE 2012-09-27 10:24:08 -04:00
Ehsan Akhgari
03ce7cf78a Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-22 11:34:22 -04:00
Matt Woodrow
0a8aa26fb7 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Oleg Romashin
585aa99e71 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
e978622113 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Edwin Flores
c06dc84a94 Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru 2012-09-27 16:33:42 +12:00
Nicolas Silva
7bdb2633f6 Bug 794233 - Fix for blank video on fennec release. r=cpeterson 2012-09-26 23:32:45 -04:00
Chris Lord
9abaa31430 Bug 794465 - Only use progressive tile drawing when scrolling. r=bgirard
To prevent seams appearing in updated content, only use progressive tile
drawing when scrolling. This is the most critical time to keep interactivity
consistent.
2012-09-26 21:42:09 +01:00
Chris Lord
ab91d060df Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Chris Lord
f85a5c2993 Bug 794200 - Draw tiles with no content before tiles with stale content. r=bgirard
When using progressive tile drawing, draw tiles that have no content before
tiles that only have stale content.
2012-09-26 21:41:41 +01:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Robert O'Callahan
bc17ca2619 Cairo patch update for bug 792903. DONTBUILD 2012-09-26 21:34:30 +12:00
Robert O'Callahan
8d196dd5fa Bug 792903. Prevent num_stops from being set to zero. r=bas 2012-09-26 12:19:32 +12:00
Robert O'Callahan
467680df9f 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
Chris Jones
1473dd2ab9 Remove this .rej that didn't merge properly. No bug.
--HG--
extra : rebase_source : de991a63653dba7575448676cb855b29fb3d66c4
2012-09-25 23:44:39 -07:00
Jeff Muizelaar
db63614544 Bug 792993. cairo: use proper loop bounds in make_opaque(). r=nsilva
The new version of the code is more obviously correct. Hopefully
the compiler is smart enough to turn it into something fast.

--HG--
extra : rebase_source : bdf2f00c5eae5d5a1bf6dff223b1b05f561384ab
2012-09-25 18:59:12 -04:00
Karl Tomlinson
5248b8f1c7 b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Chris Lord
84a567a4c5 Bug 793656 - Fix flickering during progressive tile updates. r=bgirard
Force a single transaction when the resolution changes and for other updates,
keep stale tiles within the visible region until the transaction is complete.
2012-09-25 20:13:40 +01:00
Bas Schouten
0f492946e6 Bug 784382 - Part 1: Use new ID2D1DeviceContext interface for subpixel AA with clipping in cairo. r=jrmuizel 2012-09-25 20:14:53 +02:00
Benoit Jacob
e87660d62e Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222 Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey
213365fb63 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Chris Jones
37fc3e77dc Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc 2012-09-24 21:15:18 -07:00
Chris Jones
b6af3ac637 Bug 784244: We really, seriously, can only let the BufferTracker take care of our required AutoOpenSurfaces. r=roc 2012-09-24 14:54:01 -07:00
Chris Jones
2091f22b39 Bug 792663: Don't SyncFrontBufferToBackBuffer() while a buffer tracker isn't around to revoke our buffer provider. r=nrc 2012-09-20 22:59:19 -07:00