Граф коммитов

20244 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 0191dbf4b6 Backed out changeset aced11aac8b8 (bug 1210250) for Windows build bustage 2015-10-12 09:23:24 -07:00
Mason Chang 897d53deb1 Bug 1210250. Fallback to GDI fonts with a skia backend. r=jwatt 2015-10-12 08:21:55 -07:00
Nigel Babu da9545f635 Backed out changeset ae5f03f140a8 (bug 1209801) on suspicion of Android reftest bustage ON A CLOSED TREE 2015-10-12 09:43:19 +05:30
Nigel Babu fabdcab137 Backed out changeset 9e69375c47ed (bug 1209801) for suspicion of Android reftest bustage ON A CLOSED TREE 2015-10-12 09:43:06 +05:30
Morris Tseng d1d37e3f9b Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
--HG--
extra : rebase_source : 55ae1e1fc1f88bffd43800eefaed4506789e608c
2015-10-12 11:21:04 +08:00
Morris Tseng dd98b66ab0 Bug 709490 - Part 9: Readback without blocking main thread. r=jgilbert
--HG--
extra : rebase_source : 83fe8ec524c061622465221f51e15747e30420fa
2015-10-12 11:21:03 +08:00
Morris Tseng 24726cbcb0 Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface. r=jgilbert
--HG--
extra : rebase_source : 32ad14acd4dd3857e480fdc279528dec2e89d47c
2015-10-12 11:21:03 +08:00
Morris Tseng a8eab58fba Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
--HG--
extra : rebase_source : cc7761567d60d652b8d0bc9cab04cf310ef100e3
2015-10-12 11:21:03 +08:00
Morris Tseng 83252e218f Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly. r=roc
--HG--
extra : rebase_source : 6bd6f11189fc431f24d5bdd1381ea5adc7ffcebe
2015-10-12 11:21:03 +08:00
Morris Tseng d5147a9b2a Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : ce16acdc340cbe67102da651552f574eee897ca9
2015-10-12 11:21:03 +08:00
Morris Tseng acf60f0d3e Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : f4ec56dc106357e30660343166ff51e7d9dc0c62
2015-10-12 11:21:02 +08:00
Morris Tseng 7e228f0ac3 Bug 1212724 - Fix compile error in non-unified mode. r=nical
--HG--
extra : rebase_source : 20afdb05ded3d8e4b454a26d18c803f42dc84f37
2015-10-12 11:21:02 +08:00
Tom Klein a52e52dfb5 Bug 1212954 - Make BaseSize::IsEmpty return true for negative sizes to avoid NS_ERROR in VectorImage::GetFrameAtSize when root svg doesn't have intrinsic width or height. r=roc 2015-10-11 18:13:10 +02:00
Sebastian Hengst 724e8623c9 Bug 1212288 - Make ImageContainer::AllocateProducerID callable on all threads; r=roc 2015-10-11 18:13:10 +02:00
Jamie Nicol a4433bab57 Bug 1209801 - Part 2: Do not allow big image textures to be used with TiledLayerBuffers. r=mattwoodrow
Big-image textures (where multiple textures are tiled together to act as
a single larger texture, e.g. TiledTextureImage) were in some cases
being used to back the TextureSources associated with each Tile in a
TiledLayerBuffer. CompositorOGL was unaware of this, so when compositing
would only render the first tile in each big image, stretching it to the
size of the entire big image.

It doesn't make much sense to allow tiling-within-tiling, so set the
DISALLOW_BIGIMAGE flag for textures created for use with TiledLayerBuffers.
---
 gfx/layers/client/SingleTiledContentClient.cpp | 2 +-
 gfx/layers/client/TiledContentClient.cpp       | 2 +-
 gfx/layers/composite/TextureHost.cpp           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
2015-10-11 18:13:10 +02:00
Jamie Nicol d732d18df0 Bug 1209801 - Part 1: Add TextureFlags parameter to TextureClientPool. r=mattwoodrow
---
 gfx/layers/client/ClientLayerManager.cpp | 19 ++++++++++++-------
 gfx/layers/client/ClientLayerManager.h   |  2 +-
 gfx/layers/client/TextureClientPool.cpp  |  6 ++++--
 gfx/layers/client/TextureClientPool.h    |  8 +++++++-
 gfx/layers/client/TiledContentClient.cpp |  3 ++-
 5 files changed, 26 insertions(+), 12 deletions(-)
2015-10-11 18:13:10 +02:00
Lee Salzman 3f0cb30f96 Bug 1196494 - part 1: remove unnecessary GetClientBounds call in CompositorParent. r=jrmuziel 2015-10-03 08:30:16 -04:00
Markus Stange dbc6bd7a9c Bug 1212876 - Fix a bug in UntransformVector and in code that was relying on that bug. r=botond
--HG--
extra : commitid : 3OPpYKTjeE8
extra : amend_source : bf9d214f17da7d226729dba602466d45761ab240
2015-10-09 12:57:56 +02:00
Jeff Muizelaar ae3e59c2dc Bug 1213019. Get UnmapBuffer as part of MapBufferRanges features. r=jgilbert
This fixes laoding UnmapBuffer loading on GLES3

--HG--
extra : rebase_source : 76571bb9805ae56aa85383c9f537a67b4383424d
2015-10-08 18:16:36 -04:00
Lee Salzman dd33849286 Bug 998042 - 4-byte align Skia surfaces to interoperate with Cairo r=jrmuizel 2015-10-08 12:16:46 -04:00
Milan Sreckovic e5a53c61f3 Bug 1208234: Stop the null pointer crash. r=bas 2015-10-08 15:03:36 -07:00
David Anderson b2ef93be8f Fix layers.acceleration.force-enabled not working. (bug 1212659, r=jrmuizel) 2015-10-08 12:21:59 -07:00
Lee Salzman 01520325c9 Bug 1210493 - enlarge stroke bounds by line width when doing a quick-reject in SkDraw::drawRect. r=jmuizelaar 2015-10-01 14:24:43 -04:00
Tom Klein 7893b08d5b Bug 1203376 - Honor filter region settings for lighting filters. r=mstange
--HG--
extra : rebase_source : adecead97d734b9bb9b5b104b88edf81c82a13a4
2015-10-07 08:25:00 +02:00
Milan Sreckovic f18b559b55 Bug 1200021 - Part 2: more diagnostics. r=bas
--HG--
extra : rebase_source : 41c8648c26d2b7a8c2ee68b823e911b0fdce7f96
2015-09-24 10:44:40 -04:00
Jeremy Chen 988dfc2cc6 Bug 1195653 - Part1.5: Send isMask info to LayerScope viewer by TexturePacket. r=dglastonbury (v3) 2015-09-29 23:32:00 +02:00
Jeremy Chen e6234471ad Bug 1195653 - Part1.4: Generated file diffs from patched LayerScopePacket.proto. r=dglastonbury (v1, carry r+) 2015-09-29 23:24:00 +02:00
Jeremy Chen 9387f36033 Bug 1195653 - Part1.3: Add isMask attribute field to LayerScopePacket.proto. r=dglastonbury (v2, carry r+) 2015-09-29 23:23:00 +02:00
Jeremy Chen 16750fede1 Bug 1195653 - Part1.2: Use sSentTextureIds instead of sTextureIdList and move HasTextureIdBeenSent into SendTextureSource. r=dglastonbury (v3, carry r+) 2015-09-29 23:21:00 +02:00
Jeremy Chen 454f308775 Bug 1195653 - Part1.1: Dump SecondaryEffects (EffectTypes::MASK) on Layerscope viewer. r=dglastonbury (v2, carry r+) 2015-09-29 23:19:00 +02:00
John Daggett 1b7d8ac5fd Bug 1201318 - revise OSX system font handling. r=mstange
Rework system font lookup under OSX so that the style system passes around the same "meta" name used by Webkit, -apple-system. This makes it so that the hidden system fonts used aren't exposed to authors. It also allows us to handle the two optical sizes of font families used under OSX 10.11, which uses San Francisco as the new UI font, with one family for text sizes and another for larger, display sizes. The patch here:

  - moves system font lookup into gfxMacPlatformFontList
  - assigns the font family name to "-apple-system"
  - derives FindFamily to take a gfxFontStyle parameter to allow size-based lookups
  - maintains a list of hidden system font families (not exposed to authors)
  - maintains a mapping from -apple-system to the underlying hidden font families
2015-10-08 15:04:08 +09:00
Markus Stange 46eb0fcaa5 Bug 1201318 - Factor out AddFamily. r=jdaggett 2015-09-03 13:44:43 -04:00
Markus Stange caba23281a Bug 1201318 - Use nsAutoReleasePool from nsCocoaUtils.h. r=jdaggett 2015-09-02 22:04:50 -04:00
Botond Ballo 541fb0cd68 Bug 1212664 - Perform y-inversion correctly when dumping compositor surface. r=jrmuizel
--HG--
extra : source : d378fad1aa9ceb67dbfcc7afaf5138542b292459
2015-10-07 19:58:23 -04:00
David Anderson 497eea35bc Disable screen and multiply mix-blend-mode support in the D3D11 and OGL compositors. (bug 1135271, r=mattwoodrow) 2015-10-07 16:38:19 -07:00
David Anderson 3b183cc62a Pass the correct moz2d backend in CanvasClients. (bug 1212499, r=mattwoodrow) 2015-10-07 16:34:41 -07:00
David Anderson fb11b16545 Fix inactive scroll frames sometimes creating very large, incorrect hit regions. (bug 1190112, r=tn) 2015-10-07 12:08:53 -07:00
Benoit Girard de3c586402 Bug 1199885 - Part 10: Add APZTeeManager API to start an async scroll. r=kats
--HG--
extra : commitid : Bcuo2Zbt0IB
2015-09-28 17:00:21 -04:00
Benoit Girard 5e9f05f89c Bug 1199885 - Part 9: Let APZC handle the drag events. r=kats
--HG--
extra : commitid : 5eL9kMtaPPT
2015-09-28 14:44:37 -04:00
Benoit Girard 48624c592c Bug 1199885 - Part 8: Add FindScrollNode to locate the scrollbar thumb. r=kats
--HG--
extra : commitid : 9yE7xtzOs3I
2015-09-28 14:44:37 -04:00
Benoit Girard 6803a546d5 Bug 1199885 - Part 5: Make mRootLayerTreeID const to prove that there's no data races. r=kats
--HG--
extra : commitid : 5WndwzOuLdi
2015-09-28 14:44:36 -04:00
Benoit Girard eb3b891bbc Bug 1199885 - Part 4: Let the hit testing tree know about the scroll thumb. r=kats
--HG--
extra : commitid : 2sY04WntME0
extra : rebase_source : 98008b1dcc3236ef65e1809fd849fae6c31c76f7
2015-09-28 14:44:36 -04:00
Benoit Girard 2a2fca7ffa Bug 1199885 - Part 3: Add 'apz.drag.enabled' preference for async scrollbars. r=kats
--HG--
extra : commitid : FT9vDNL0XDw
extra : rebase_source : f5cd5f6e53c669f33fc628915cab1f6c57beaa11
2015-09-28 14:44:36 -04:00
Benoit Girard fd05a3df17 Bug 1199885 - Part 2: Add AsyncDragMetrics. r=kats
--HG--
extra : commitid : Bq9QdYWF3v3
extra : rebase_source : bdd10ec82cd18811fa8fe75477d02dc862ece99b
2015-09-28 14:43:50 -04:00
Nicholas Nethercote 0f5722f4da Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow. 2015-10-05 17:18:10 -07:00
Nicholas Nethercote 4fc2610c3c Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
The conversion is as follows:

- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD    == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST    == gfx::Filter::LINEAR

Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.

These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Nicholas Nethercote b06269a38d Bug 1211324 (part 3) - Remove GraphicsFilter::FILTER_FAST and replace it with FILTER_BEST. r=mattwoodrow.
This may sound like an odd change but it's what the current code effectively
already does due to the way ToFilter() and ThebesFilter() are defined.
2015-10-05 16:59:32 -07:00
Nicholas Nethercote b44999f110 Bug 1211324 (part 2) - Make gfx::FILTER::GOOD convert to GraphicsFilter::FILTER_GOOD. r=mattwoodrow. 2015-10-04 22:37:47 -07:00
Nicholas Nethercote f904c9c3c8 Bug 1211324 (part 1) - Remove BILINEAR and GAUSSIAN filter constants.
These aren't used meaningfully.
2015-10-04 20:05:28 -07:00
Nicholas Nethercote 0e521772de Bug 1208945 - Rename Color::{To,From}ARGB() so they aren't easily confused with {To,From}ABGR(). r=Bas. 2015-09-24 18:16:50 -07:00