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
Ed Morley
518e3c5e11
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
2012-10-05 17:48:15 +01:00
Chris Lord
e7de629479
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
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
Jacek Caban
83588038c8
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
ee97d8eaae
Bug 796182; fix invalidation on Mac with OMTC; r=cjones
2012-10-04 20:45:48 +13:00
Chris Jones
4f1344c6d2
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
9582a20f31
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
4b869cc3a8
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
ca39444b15
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
84b001d90c
Merge m-c to inbound.
2012-10-03 22:24:20 -04:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Benoit Jacob
8088679e6b
Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert
2012-10-03 17:13:05 -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
Benoit Girard
2153a3688f
Bug 797359 - Increase size of tile debug overlay. r=Cwiiis
2012-10-03 10:56:41 -04: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
Ehsan Akhgari
4902ff889c
Bug 797219 - Make OutputMessage in gfx/2d/Logging.h static inline; r=joe
2012-10-03 13:43:37 -04:00
Benoit Girard
6bd7b01ce6
Bug 796939 - Don't use the SinglePaintBuffer if only painting one tile. r=Cwiis
2012-10-03 10:28:04 -04:00
Benoit Girard
f0ee89a810
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
9eed719a44
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
6efae9e62b
Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas
2012-10-04 00:30:56 +13:00
Chris Lord
821878a16a
Bug 797393 - Fix FrameMetrics == operator. r=roc
2012-10-03 19:51:38 -04:00
Ehsan Akhgari
5ade3f493b
Bug 797612 - Remove PathCG::mFigureActive; r=jrmuizel
...
--HG--
extra : rebase_source : 4ce5161c5ffee297ab55ad7a980dbb74f0051ded
2012-10-03 19:43:03 -04:00
Ehsan Akhgari
b9605eaf78
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
700d020390
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
fd8ffe4dd2
Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel
2012-10-03 18:50:20 -04:00
Chris Jones
17867c12a8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
fafda90217
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
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
Nicholas Cameron
33aba51702
Bug 753237 - Implement DrawTargetCairo::Mask(). r=joe
2012-10-02 20:14:38 -04:00
Benoit Girard
0dfaad9d0e
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
c109a6325b
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05: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
Chris Jones
40667015b0
Back out 17f942846b9f (bug 795811) for causing startup crashes.
2012-10-02 01:29:53 -07:00
David Zbarsky
83dc4acb46
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 (陳侃如)
c976f43057
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 (陳侃如)
f614c2fd85
Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow
2012-10-02 10:42:09 +08:00
Anthony Jones
0cd96f1f5e
Bug 795135 - Fix CairoTempMatrix restore. r=joe
2012-10-01 22:12:13 -04:00
Anthony Jones
e464d5aa1b
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -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
Joe Drew
86a50c618d
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
88256a9f7e
Merge mozilla-central to mozilla-inbound
2012-10-01 14:04:36 +01:00
Ed Morley
d5d2156e17
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-01 14:02:06 +01:00
Matt Woodrow
603381f065
Bug 795694 - Invalidate changed visible regions of layers. r=roc
2012-10-01 16:38:46 +13: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
David Zbarsky
0f0ea1fc19
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
ebe616f9e1
Merge m-i inm-c.
2012-09-30 13:19:15 +01:00
Matt Woodrow
f8a3bcd5dd
Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
26ce1c54a7
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
716ce43876
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
e18b10e5fb
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
1c5f85078f
bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc
2012-09-29 12:34:41 +01:00
Doug Sherk
6e4a1ee505
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
4478c228d5
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
George Wright
4c7a7edf63
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
6e7d4f9757
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
98c60b046f
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
c0e08ee726
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
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
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
Joe Drew
0877c3403b
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
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
Joe Drew
7ba5def5a6
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
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa
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
7786bc1aaa
Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE
2012-09-29 01:39:35 +12:00
Matt Woodrow
d9a6418c44
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
6cc55ebd06
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
67b104cbd1
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
1f7adc5ccc
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12: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
Chris Jones
54070d8c75
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
465ac0f4ff
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
bfcf0b504f
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
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
e4ca2fd71e
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
13a2856362
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
0725f91922
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Edwin Flores
ee62e2ef92
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
51a45aa844
Bug 794233 - Fix for blank video on fennec release. r=cpeterson
2012-09-26 23:32:45 -04:00
Chris Lord
6cc4cbd474
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
bb3f3cc9cd
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
ed4c547259
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
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Robert O'Callahan
cfed756adb
Cairo patch update for bug 792903. DONTBUILD
2012-09-26 21:34:30 +12:00
Robert O'Callahan
bd1fa22c22
Bug 792903. Prevent num_stops from being set to zero. r=bas
2012-09-26 12:19:32 +12: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
Chris Jones
428139de39
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
79a885bcca
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
1c13765e67
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
abf5767fcd
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
fe33b070f1
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
2249060a44
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00