Commit Graph

20541 Commits

Author SHA1 Message Date
Jim Mathies
e0c25a9459 Bug 1213758 - Aquire the inderect layer trees data lock during plugin window update calculations. r=matt.woodrow 2015-10-19 10:38:42 -05:00
Carsten "Tomcat" Book
2d4d0c922a Merge m-c to mozilla-inbound 2015-10-19 11:40:29 +02:00
Carsten "Tomcat" Book
b4d42f370a merge mozilla-inbound to mozilla-central a=merge 2015-10-19 11:38:22 +02:00
Carsten "Tomcat" Book
677b50bca2 merge b2g-inbound to mozilla-central a=merge 2015-10-19 11:30:00 +02:00
Cervantes Yu
42c0446d71 Bug 1213795, Part 2: Fix protocol cloning of actor CrossProcessCompositorParent. r=khuey 2015-10-19 14:32:47 +08:00
Chris Peterson
7aaa6c74c3 Bug 1215892 - Fix clang's -Wimplicit-fallthrough warnings in gfx. r=BenWa
gfx/gl/GLBlitHelper.cpp:395:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

gfx/layers/apz/src/AsyncPanZoomController.cpp:1087:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/AsyncPanZoomController.cpp:1196:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/GestureEventListener.cpp:411:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:292:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:295:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

widget/GfxInfoBase.cpp:1015:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:57:38 -07:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Botond Ballo
e235e119a9 Bug 1211506 - Respect the APZ lock ordering in AsyncPanZoomController::OnScrollWheel(). r=mstange
--HG--
extra : source : af0360acd0fa65d7bd526339212a909884afa40c
2015-10-16 16:33:41 -04:00
James Kitchener
1c9740d59e Bug 1011020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc (relanding with correct bug number, DONTBUILD) 2015-10-17 10:18:00 -07:00
Phil Ringnalda
31d432d507 Back out changeset 2fe5dee8825d (not 1101020) for landing with the wrong bug number 2015-10-17 21:44:43 -07:00
James Kitchener
9faa73de5f Bug 1101020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc 2015-10-17 10:18:00 -07:00
Bill Gianopoulos
3ac18fde52 Bug 1213339 - Fix logic in WantsSmallTiles. r=nical
--HG--
extra : rebase_source : 8affe1d0e34f452defc7ba95cd2c4f354ba7d8df
2015-10-15 21:01:42 -04:00
Nathan Froyd
fe57e31ffe Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm 2015-10-07 14:30:33 -04:00
Mason Chang
884b562d08 Bug 1211363. Calculate min inset blur with max border radius. r=mstange 2015-10-16 08:27:51 -07:00
JerryShih
66c7ddec13 Bug 1215050 - Make layerscope support TiledPaintedLayer when using HWC. r=mattwoodrow, r=cjku
--HG--
extra : rebase_source : 3a606457d9c7cd630b6c9ab38941e2619b03943e
2015-10-15 06:03:00 -04:00
John Daggett
f4458274bd Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-19 11:16:43 +09:00
Aniket Vyas
95a17ea52c Bug 1197315 - remove PR_snprintf calls in gfx/; r=froydnj 2015-10-12 14:06:19 -07:00
Nicolas Silva
bbb1b9b970 Bug 1205559 - WError build fix on a CLOSED TREE 2015-10-16 15:22:06 +02:00
Jean-Yves Avenard
70773dbaa0 Bug 1205559: Make TextureChild/TextureClient thread-safe. r=nical 2015-10-16 14:46:33 +02:00
Lee Salzman
dd9f9b224c Bug 1214759 - backport SkDashPathEffect::asPoints fix from upstream Skia. r=jmuizelaar 2015-10-14 13:39:03 -04:00
Lee Salzman
a4fe968b99 Bug 1214309 - nudge zero dash intervals to be non-zero under Skia. r=jmuizelaar 2015-10-13 14:40:50 -04:00
Lee Salzman
eaa82aedc8 Bug 1161277 - verify SkPath is finite before doing ContainsPoint queries. r=jmuizelaar 2015-10-09 16:07:59 -04:00
Dan Glastonbury
c5f6855012 Bug 1207205 - Remove fGetActiveUniformName. r=jrmuizel 2015-10-19 11:23:45 +10:00
Phil Ringnalda
adfbc1f710 Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
Backed out changeset 2d1d8e9b095c (bug 543715)
Backed out changeset bc90276ec090 (bug 543715)
2015-10-18 11:22:22 -07:00
John Daggett
72b6bcd6d6 Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-18 22:17:46 +09:00
Cameron McCormack
4872fb60dc Bug 1163877 - Part 3: Update state on, and reflow documents for, all FontFaceSets that contain a FontFace whose user font entry updated. r=jdaggett 2015-10-16 17:10:14 +11:00
Sotaro Ikeda
33e9987516 Bug 1215027 - Fix EndFrameForExternalComposition() r=nical 2015-10-15 17:53:44 -07:00
Jeff Muizelaar
239cde6079 Bug 1214917. Update ANGLE to 2535
--HG--
extra : rebase_source : 3dc40250a76d0cb9b7a9914bb04a01edc16e4d69
2015-10-15 00:07:30 -04:00
Milan Sreckovic
07eeb05f0f Bug 1213007 - Part 1. Implementing gfxCrash. r=dvander 2015-10-14 08:24:00 +02:00
Milan Sreckovic
ce072c79e4 Bug 1207750 - setting an environment variable will let us crash as Cairo errors happen. r=bschouten 2015-10-14 07:52:00 +02:00
Ting-Yu Lin
b136d8801b Bug 1214662 - Fix compile error for enabling APZES_LOG. r=botond
I got this error: use of undeclared identifier 'Stringify'. Add the
necessary header.

--HG--
extra : commitid : 9Ro5V20eFmP
extra : rebase_source : 11a46af1c8d3576fd4e30b17f788e62b4d69c92d
2015-10-15 10:49:26 +08:00
Matt Woodrow
0735fa738c Bug 1120490 - Take the 'GetRotateForLandscape' gfxASurface configuration into account when creating printing surfaces. r=jwatt 2015-10-15 15:13:38 +13:00
Jonathan Kew
3211a0b116 Bug 1211867 - Use the font's NBSP glyph (if present) rather than rendering NBSP using the standard <space> glyph. r=jdaggett 2015-10-14 16:00:35 +01:00
Frédéric Wang
7324f7cce8 Bug 1193050 - Update OTS to latest upstream version. r=jfkthame 2015-10-02 05:21:45 +02:00
Jonathan Kew
ad69a6c9c5 Bug 1211141 - Update to latest harfbuzz from upstream (release 1.0.5). r=jdaggett 2015-10-14 16:00:36 +01:00
Wes Kocher
d70ea0dbd0 Backed out changeset a94b86bdf54b (bug 1193050) 2015-10-14 09:04:38 -07:00
Wes Kocher
5166673512 Backed out changeset acd7efb271c8 (bug 1211867) 2015-10-14 09:04:27 -07:00
Wes Kocher
8dd36993ac Backed out changeset 806b320566ac (bug 1211141) 2015-10-14 09:04:16 -07:00
Jonathan Kew
b602970574 Bug 1211141 - Update to latest harfbuzz from upstream (release 1.0.5). r=jdaggett 2015-10-14 16:00:36 +01:00
Jonathan Kew
573a197e03 Bug 1211867 - Use the font's NBSP glyph (if present) rather than rendering NBSP using the standard <space> glyph. r=jdaggett 2015-10-14 16:00:35 +01:00
Frédéric Wang
6a97734fc7 Bug 1193050 - Update OTS to latest upstream version. r=jfkthame 2015-10-02 05:21:45 +02:00
Bas Schouten
d7e5ec0950 Bug 1211615: Upload the full texture on the first upload for component alpha textures. r=nical 2015-10-14 17:00:42 +02:00
Jamie Nicol
2e1135737e 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.

--HG--
extra : histedit_source : 7783b2132cb2037dda2a736b1497dc13231b4dee
2015-10-14 11:32:44 +05:30
Jamie Nicol
7bf802c0be Bug 1209801 - Part 1: Add TextureFlags parameter to TextureClientPool. r=mattwoodrow
--HG--
extra : histedit_source : d33f4c7f92f0903d1324a153e5243634acda594d
2015-10-14 11:32:35 +05:30
Nathan Froyd
d8393ccd5b Bug 1207245 - part 2 followup - add more mozilla/RefCounted.h includes where appropriate; r=me 2015-10-12 22:24:05 -04:00
Mason Chang
ced85cbc4f Bug 1210250. Fallback to GDI fonts with a skia backend. r=jwatt 2015-10-12 09:54:15 -07:00
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
Carsten "Tomcat" Book
c1f520e05c Backed out changeset 79746e93020a (bug 1011020) for causing bug 1212267
--HG--
extra : rebase_source : 16ad5f13377beb3075b06d97a793059a575d55cb
2015-10-07 12:17:02 +02:00
James Kitchener
590b916a4a Bug 1011020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc - relanding with correct bug number on a CLOSED TREE 2015-10-05 05:00:00 +02:00
Carsten "Tomcat" Book
903a88eacc Backed out 1 changesets (bug 1101020) for landing with wrong bugnumber on a CLOSED TREE
Backed out changeset 18d4a0ca8cc1 (bug 1101020)
2015-10-07 09:24:27 +02:00
James Kitchener
0eb9204d80 Bug 1101020 - Add the ability to fall back to not snapping, if snapping results in a zero area rect r=roc 2015-10-07 11:18:08 +05:30
Robert O'Callahan
d5e52e1fca Bug 1195152. Pass correct YUV type when converting shared YUV image to RGB. r=nical
--HG--
extra : commitid : 6wWAshcHBaB
extra : rebase_source : b9099c20a74f3cc569ae5b3bf895ac749cabd9fa
2015-10-06 16:36:10 +13:00
Kevin Wern
98513a1124 Bug 1202050 - Use UntransformTo in a few more places in APZ code. r=botond
We previously believed these matrices could only be 2D, but it turns out
they can potentially be 3D projective transforms, so we need to use
UntransformTo() when applying them.

The patch also removes the unused function APZCTreeManager::TransformCoordinateToGecko().

--HG--
extra : rebase_source : e73862963df275036f35272b688f65c271ca659a
extra : source : b04cab83c7f061b9b934d30f7e5adb831206972e
2015-10-05 11:47:01 -04:00
Jim Mathies
d44a5df7b4 Bug 1137944 - Add a pref to control plugin window hiding. r=roc 2015-10-06 14:23:24 -05:00
Jim Mathies
2d784d0391 Bug 1137944 - On Windows defer composition until we receive confirmation plugin window metrics have been updated. r=roc 2015-10-06 14:23:24 -05:00
Jim Mathies
4f6da4f6c9 Bug 1137944 - Move plugin window metrics updates to a point during comososition where we know the remote layer tree is hooked up to the chrome layer tree. r=matt.woodrow 2015-10-06 14:23:24 -05:00
Jim Mathies
36f1f86bc4 Bug 1137944 - Cache compositor plugin update data to avoid sending updates to the main thread when the data doesn't change. r=roc 2015-10-06 14:23:24 -05:00
Jim Mathies
ef553da542 Bug 1196539 - Apply plugin config using AutoResolveRefLayers during composition. r=matt.woodrow 2015-10-06 14:23:24 -05:00
Nicholas Nethercote
e68c9e3a2d Bug 1208365 (part 4) - Remove gfxPattern::GraphicsExtend. r=bas.
--HG--
extra : rebase_source : baafed207a286892e36575ad24b3e896a1943ad6
2015-09-25 00:59:13 -07:00
Nicholas Nethercote
b4181c38e0 Bug 1208365 (part 3) - Change gfxPattern::mExtend from a GraphicsExtend to a gfx::ExtendMode. r=bas.
At this point, the relationship between GraphicsExtend and gfx::ExtendMode is
as follows.

- EXTEND_REPEAT matches up with REPEAT.
- EXTEND_REFLECT matches up with REFLECT.
- EXTEND_PAD matches up with CLAMP.
- EXTEND_NONE has no matching value in gfx::ExtendMode.

The only use of EXTEND_NONE is with nsSVGGradientFrame::mExtend. That field
gets assigned EXTEND_NONE in the various constructors, and other values via
SetExtend(). And all uses of that field go immediately into ToExtend() calls,
which convert EXTEND_NONE to CLAMP. So it's safe to change this field to
gfx::ExtendMode and initialize it to CLAMP.

--HG--
extra : rebase_source : 8873174223e77b341e046093d25b320a33f0582b
2015-09-25 00:58:23 -07:00
Nicholas Nethercote
5fbb397d4c Bug 1208365 (part 2) - Remove gfxPattern::Extend(). r=bas.
It's unused.

--HG--
extra : rebase_source : a6dcbcea47f8093ec18e4e9f50ae2165e00e11b9
2015-09-25 00:55:31 -07:00
Nicholas Nethercote
3ad5853beb Bug 1208365 (part 1) - Remove unused EXTEND_PAD_EDGE. r=Bas.
--HG--
extra : rebase_source : 47f0cf49279cad1a8bcc5ae00ea45af36c5cf063
2015-09-25 00:53:20 -07:00
Milan Sreckovic
471eeeeab2 Bug 1207258 - Give back the ability to run direct write without D2D, but only with a *force* preference. r=dvander 2015-10-05 11:40:00 +02:00
David Anderson
2f7c2f2b2f Remove ISurfaceAllocator::GetCompositorBackend. (bug 1211109 part 4, r=mattwoodrow) 2015-10-05 23:40:13 -07:00
David Anderson
8c32d3122a Allow top-level window changes to the remembered compositor type. (bug 1211109 part 3, r=mattwoodrow) 2015-10-05 23:39:28 -07:00
David Anderson
3716363c72 Remove the static compositor backend variable. (bug 1211109 part 2, r=mattwoodrow) 2015-10-05 23:39:00 -07:00
David Anderson
f35bf0138b Log initialization failures in CompositorD3D11.cpp. (bug 1211109 part 1, r=mattwoodrow) 2015-10-05 23:38:40 -07:00
Jeff Muizelaar
48d057951d Bug 1211774. Update to ANGLE 2522.
--HG--
extra : rebase_source : 61b730037c24fc6d4ce6cd47a7bc176a6336d477
2015-10-05 13:48:44 -04:00
Kartikaya Gupta
bdb1f426ad Bug 1208973 - Ensure all code in TaskThrottler is threadsafe since it gets called from various threads. r=botond
Hat tip to :froydnj for describing the proof-of-lock technique used in this patch
in his blog at https://blog.mozilla.org/nfroyd/2015/09/17/compiler-enforced-locked-accesses/

--HG--
extra : commitid : 4jVEAYGsCvY
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
b5d5d0a876 Bug 1208973 - Move function bodies into .cpp file, and remove an unused one. r=botond
--HG--
extra : commitid : DfuxghUHabo
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
9d9b349ef7 Bug 1208973 - Refactor and add logging to TaskThrottler. r=botond
--HG--
extra : commitid : 2jSGP022pln
2015-10-05 16:18:56 -04:00
Kartikaya Gupta
b41507aa42 Bug 1203901 - Increase the long-tap threshold time for test_basic_pan.html. r=botond
--HG--
extra : commitid : 2XXaQZK7q6a
2015-10-05 16:18:24 -04:00
Kartikaya Gupta
cf8ced3692 Bug 1203901 - Ensure the page is painted before sending touch events to it. r=botond
--HG--
extra : commitid : 6AgCi7DcqCN
2015-10-05 16:18:24 -04:00
Wes Kocher
0628e22f00 Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00
Jeff Muizelaar
5f0bc91be5 Bug 1211504. Remove unused member from RefLayer.
Indirectly caught by coverity

--HG--
extra : rebase_source : 95772cfe2d54d532b62e5fe23117c0d63bb1772f
2015-10-05 11:42:53 -04:00
Wes Kocher
c1750b75c7 Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Botond Ballo
3244f0ea4d Bug 1209964 - In AlignFixedAndStickyLayers(), properly handle the case where a fixed or sticky layer is its own subtree root and has a local transform. r=kats
--HG--
extra : source : f1e0e06914605c33c10931e08e4de614c63dadcb
2015-10-02 20:53:30 -04:00
Nicholas Nethercote
1dbfbe1606 Bug 1209351 (part 3) - Optimize nsTHashTable::RemoveEntry() usage in gfx/. r=jrmuizel.
--HG--
extra : rebase_source : 6de68bea02948d4a1e886da3f9b05d46c9762463
2015-09-24 19:07:22 -07:00
Morris Tseng
f5a52e7dea Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
--HG--
extra : rebase_source : 07b470b9a8865b7d833932c5425e796b852ab466
2015-10-05 10:50:17 +08:00
Morris Tseng
27bcae10e8 Bug 709490 - Part 9: Readback without blocking main thread. r=jgilbert
--HG--
extra : rebase_source : a8fc936aa9a9096f70f5e58b3b0450943f7215ba
2015-10-05 10:50:16 +08:00
Morris Tseng
f27289323c Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface. r=jgilbert
--HG--
extra : rebase_source : d1d0d60ba4c5c40b4fb555b1da83699f9bb2f571
2015-10-05 10:50:16 +08:00
Morris Tseng
861bb61b91 Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
--HG--
extra : rebase_source : bfdf6a97f372a3a5a2ecdd4a3c216ec64ec98e84
2015-10-05 10:50:16 +08:00
Morris Tseng
d56ca7414d Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly. r=roc
--HG--
extra : rebase_source : 1c2226028988ecc166152be7d567491de149d540
2015-10-05 10:50:16 +08:00
Morris Tseng
2d11e76151 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 : 16b8b4eaa5f4c649c02cbae6425e895134d4ae41
2015-10-05 10:50:16 +08:00
Morris Tseng
298e6642c3 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 : 9833dd57592081737ce74ad5b6ba8441a243ca0b
2015-10-05 10:50:15 +08:00
Kartikaya Gupta
e501333b17 Bug 1208023 - Add a reftest. r=botond
--HG--
extra : commitid : DSHoZcPIQul
2015-10-02 23:08:23 -04:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Jacek Caban
03a3ea9f9b Bug 1207437 - Extra qualification fixup. 2015-10-02 12:27:16 +02:00
Carsten "Tomcat" Book
ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Carsten "Tomcat" Book
e27620864a merge fx-team to mozilla-central a=merge 2015-10-02 11:44:11 +02:00
Jared Wein
7726e7e3d1 Backout of bug 1208636 due to it causing large black areas on long pages (bug 1210411). rs=kats 2015-10-02 00:04:21 -04:00
Jeff Gilbert
555331554c Bug 1178601 - Don't crash on incomplete FB. - r=jrmuizel 2015-09-24 14:26:20 -07:00
Nicholas Nethercote
a249f7cf80 Bug 1209206 (part 3) - Use sinf() and cosf() instead of sin() and cos() in a couple of places. r=Bas.
--HG--
extra : rebase_source : 0e282b829a48738fdcfde5b79c5ec3b36eb0bd06
2015-09-28 17:12:07 -07:00
Nicholas Nethercote
d9e0f6607b Bug 1209206 (part 2) - Rename and re-comment HasNonOpaqueColor(). r=jdaggett.
So that the comment and the name match what the code is doing.

--HG--
extra : rebase_source : cb2f741968567b22a46949640625efcc95ddcee3
2015-09-28 13:20:06 -07:00
Bas Schouten
55fc81be8b Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel 2015-09-25 13:30:57 +00:00
Wes Kocher
eff494e681 Backed out changeset 919a831786f1 (bug 1208638) for windows build failures 2015-09-30 16:43:26 -07:00
David Anderson
b0e2473678 Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
--HG--
extra : rebase_source : 2c0b1febd9bcc3a52f48a98243ab853f5b58848d
2015-09-30 16:16:16 -07:00
Cervantes Yu
8dd6d71efe Bug 1204837, Part 2: Cloned ImageBridgeParent and CompositorParent should hold a reference to the compositor thread. r=nical 2015-10-01 20:58:12 +08:00
Mason Chang
854ec93cb7 Bug 1209649. Take into account border radius sizes for min inset box shadow. r=mstange 2015-09-30 14:20:23 -07:00
Botond Ballo
6613119c24 Bug 1201889 - When adjusting fixed and sticky layers in AsyncCompsitionManager, unapply all async transforms on the path from the fixed layer to the layer it's fixed with respect to. r=kats
--HG--
extra : rebase_source : 27fd2449043a6485dabda41a1aebd5a3686d0dd7
extra : source : cd449490efc2341d8ca7891f2d975a0f51db47bf
2015-09-28 20:35:13 -04:00
David Major
22cc61a3c8 Bug 1149318 - Fix the calling convention on SkGetUserDefaultLocaleNameProc. r=eihrul
I believe this issue was introduced when 8124bf072c was incorrectly pulled in as https://hg.mozilla.org/mozilla-central/rev/3a3820a17f0b, so this needs to be fixed only in the Mozilla repo.

--HG--
extra : rebase_source : 3557349e242cbe45886a1a38964f210a54b2ed80
2015-09-30 14:50:28 -04:00
Thinker K.F. Li
53c8508d85 Bug 1206418 - Fix origin of animations and scissors for preserves3d. r=roc 2015-09-28 03:43:00 -04:00
Nicolas Silva
73f9225037 Bug 1209724 - Cancel ImageBridge proxy functions if they are called too late. r=sotaro 2015-09-30 18:17:34 +02:00
Nicolas Silva
3f970ed6d0 Bug 1208071 - Ensure that only valid texture actors are added to ImageBridge tarnsactions. r=sotaro 2015-09-30 18:17:30 +02:00
Ehsan Akhgari
6157d50ebb Bug 1208927 - Initialize queryD3DKMTStatistics so that it can't be accessed uninitialized; r=jrmuizel 2015-09-30 11:55:49 -04:00
David Anderson
1befc42825 Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel) 2015-10-01 23:06:43 -07:00
Jonathan Kew
0dba7fb3e7 Bug 1207061 - Update graphite2 library to release 1.3.3. r=jdaggett 2015-09-30 08:45:05 +01:00
Piotr Tworek
6a441f56a8 Bug 1209446 - Make sure mFrameInProgress flag is set to true only when we actually begin drawing new frame. r=nical
--HG--
extra : rebase_source : ebb7d61be07e6cd9f2bcd920e3987dca9ac8c358
2015-09-29 08:18:00 +02:00
David Anderson
6f796a3c17 Treat mix-blend-mode layers as transparent for occlusion culling. (bug 1207041, r=mstange)
--HG--
extra : rebase_source : 33afa0174cac1cdb4b83b2e695532b36984974cd
2015-09-30 00:02:00 -07:00
Botond Ballo
9ef3739d7c Bug 1208661 - Remove some no-longer-used debugging code. r=BenWa
--HG--
extra : rebase_source : 86284453c89bd54929a8796b07a1aff33536cd13
extra : source : fb878d6d883364011b32d3634d2138d5aa6d9ef0
2015-09-28 15:20:03 -04:00
Botond Ballo
514da6416f Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa
--HG--
extra : rebase_source : 83b8aa0650599932297bb75aa3e9bdeed589f87b
extra : source : 9ba5b04a7a416c7cace04b2191e105aa694ff2ef
2015-09-28 15:22:05 -04:00
Botond Ballo
f2c090e79a Bug 1208661 - Implement SourceSurfaceDual::GetDataSurface() for debugging purposes. r=BenWa
--HG--
extra : rebase_source : f8b2ec3b5fafacebe1ae667fd87b6aaaa4beb9ce
extra : source : 0d99556fe0e4992d5da0fda720b5eeae37c13ab4
2015-09-25 19:24:13 -04:00
Botond Ballo
2b1cabf9d4 Bug 1208661 - Dump client-side layer textures. r=BenWa
--HG--
extra : rebase_source : b1783955ec294d070b127bb1430d7a90115753a0
extra : source : c08ff4574e333a1772c0f6233de4ba17cadd44bb
2015-09-28 17:06:35 -04:00
Botond Ballo
e9f06a158c Bug 1208661 - Support dumping client-side layer textures without compression. r=BenWa
Compression is used by the profiler, but we need uncompressed textures for the
browser to be able to render them when we include them in the HTML paint dump.

--HG--
extra : rebase_source : 0929ccdc87e9f6643777360571422d904a9e327c
extra : source : ff03d3963ff87cfeac5ebaac1a004d3ebed047e3
2015-09-28 18:51:37 -04:00
Botond Ballo
e5ea447a92 Bug 1208661 - Make ContentClient dumping play nicely with HTML dumping. r=BenWa
--HG--
extra : rebase_source : 65ee70200cc217adedf867f272c0d2766bdd3d2b
extra : source : 43d4167e87e4c87b45466855dad7ea61cd654f0e
2015-09-25 19:19:04 -04:00
Botond Ballo
724b745500 Bug 1208661 - Move Dump() up from ContentClient to CompositableClient. r=BenWa
Only some ContentClient implementations implement it, but it allows it to be
called from more general code. Other CompositableClient implementations can
be provided later.

--HG--
extra : rebase_source : ae8cee4501bc6c1fa00809b7e6fdc4a98da66b40
extra : source : 70568b823d6ecf1b50c18d5712556a89ef954b12
2015-09-25 19:16:38 -04:00
Jeff Muizelaar
43a087cc38 Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466. 2015-09-29 19:04:17 -04:00
Jeff Gilbert
41fcf39971 Bug 1149728. Move CreateXForOffscreen functions. r=jrmuizel 2015-09-28 23:35:46 -04:00
Mason Chang
dda611f73d Bug 1208636 - Adjust displayport size based on available system memory. r=kats 2015-09-29 15:42:37 -07:00
David Anderson
e0b771c314 Fail gracefully when we can't get a texture sync handle. (bug 1207665 part 4, r=bas,vladan) 2015-09-29 11:20:01 -07:00
David Anderson
ce3e7b5ae7 Get the sync texture's sync handle during compositor initialization, where it can be made to fail gracefully. (bug 1207665 part 3, r=bas) 2015-09-29 11:16:16 -07:00
Wes Kocher
8631de9c2b Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Sotaro Ikeda
9b595ca634 Bug 1186793 - Replace nsBaseHashtable::EnumerateRead() calls in gfx/ with iterators r=njn 2015-09-29 07:49:41 -07:00
Bas Schouten
dd395e3023 Bug 1208833: Disable DWrite when D2D device creation fails. r=dvander 2015-09-29 16:39:14 +02:00
Andrea Marchesini
745da49b7b Bug 709490 - Part 12 - explicit CTORs for a couple of runnables, CLOSED TREE 2015-09-29 12:54:54 +01:00
Morris Tseng
d99c93a009 Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref, r=baku 2015-09-29 11:51:25 +01:00
Morris Tseng
7c548ee466 Bug 709490 - Part 9: Readback without blocking main thread, r=jgilbert 2015-09-29 11:51:25 +01:00
Morris Tseng
173c50c555 Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface, r=jgilbert 2015-09-29 11:51:25 +01:00
Morris Tseng
c5927f2dae Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc 2015-09-29 11:51:25 +01:00
Morris Tseng
2b5f7394c9 Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly, r=roc 2015-09-29 11:51:24 +01:00
Morris Tseng
1d4157900a Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical 2015-09-29 11:51:24 +01:00
Morris Tseng
6c605d106d Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical 2015-09-29 11:51:23 +01:00
Nicholas Nethercote
d0c4a9db1b Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
Hooray!

--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
0b89111ec3 Bug 1208300 (part 3) - Convert gfxRGBA uses to gfx::Color in LayerScope.cpp. r=jwatt.
--HG--
extra : rebase_source : 8393efea38fb7df8138c0ec2f894eff2808c5a81
2015-09-24 19:18:03 -07:00
Nicholas Nethercote
58378c408e Bug 1208300 (part 2) - Convert gfxRGBA uses to gfx::Color in CompositorBench.cpp. r=jwatt.
I don't know how those modf() calls were compiling without error given that the
second arg was a |float*|.

--HG--
extra : rebase_source : 0ecf7bda4664aa6eb735aff676341b7e063e0f29
2015-09-24 19:13:50 -07:00
Nicholas Nethercote
461e2332ff Bug 1208300 (part 1) - Remove unused default arguments from ClearThebesSurface. r=jwatt.
--HG--
extra : rebase_source : 8d91060e8ac1458b858bf961b608bb4b68eff6dc
2015-09-24 19:09:04 -07:00
Cameron McCormack
9293060eef Bug 1198708 - Part 1: Store exact timing-function type on nsTimingFunction and ComputedTimingFunction. r=birtles
Since Keyframe.easing should reflect the {transition,animation}-timing-
function value relevant to each keyframe, we'll need to store on
nsTimingFunction the specific timing function value that was used, and
copy it down into ComputedTimingFunction for
KeyframeEffectReadOnly.getFrames() to access.  This includes storing
whether the optional start/end keyword in a steps() function was
specified.
2015-09-29 12:20:13 +10:00
John Daggett
84f181826e Bug 1182361 p7 - fixups based on review comments. r=heycam 2015-09-29 10:51:29 +09:00
John Daggett
06a6d26415 Bug 1182361 p6 - eliminate old pref font caching. r=heycam 2015-09-29 10:51:29 +09:00
John Daggett
6e5f907544 Bug 1182361 p5 - cache pref fonts per langGroup. r=heycam 2015-09-29 10:51:29 +09:00
John Daggett
72bb57d48b Bug 1182361 p4 - move pref font util methods to platform fontlist. r=heycam 2015-09-29 10:51:28 +09:00
John Daggett
f2ee55e64a Bug 1182361 p3 - move generic lookup methods to platform fontlist. r=heycam 2015-09-29 10:51:28 +09:00
John Daggett
6d66c5e817 Bug 1182361 p2 - count generic lookups. r=heycam 2015-09-29 10:51:28 +09:00
John Daggett
c84b59dee7 Bug 1182361 p1 - move old generic lookup methods into gfxPangoFontGroup. r=heycam 2015-09-29 10:51:28 +09:00
Mason Chang
b3bcc68629 Bug 1208554 - Take Velocity into account for WheelScrollAnimations. r=kats 2015-09-28 17:07:06 -07:00
Nicholas Nethercote
5930cc971e Bug 1208937 - Remove gfxPattern::GraphicsPatternType. r=jwatt.
This is easy because the only remaining uses occur in uncalled functions, which
can be removed.

--HG--
extra : rebase_source : 7c1ec2c175a8a73f1ce2375c3231891ecc6bfb22
2015-09-27 20:38:20 -07:00
Jeff Gilbert
bc525759f2 Bug 1209022 - Fix AA handling in EGL's CreateOffscreen. - r=jrmuizel 2015-09-28 15:53:37 -07:00
David Anderson
a2ff08cf74 Don't use Direct 2D 1.0 if Direct3D11 is using WARP. (bug 1207665 part 2, r=jmuizelaar) 2015-09-28 12:45:43 -07:00
Botond Ballo
1ebccfe52b Bug 1206915 - Move dumping of compositor textures under its own environment variable. r=mattwoodrow
The rationale is that it's broken at least on some platforms (e.g.
TextureHost::GetAsSurface() is not implemented), and moving it under its own
environment variable allows us to use the client-side parts of paint dumping
without crashing while attempting to do the compositor-side parts.

--HG--
extra : source : 5b2f6ad05b647f3ef499074014522339f6c08efa
2015-09-21 18:27:27 -04:00
James Willcox
026a03ab87 Bug 1201541 - Add a pref for disabling single tile layers r=mattwoodrow 2015-09-28 09:37:01 -05:00
James Willcox
f3e7b2c099 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-28 09:37:00 -05:00
James Willcox
66893d0e7a Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-28 09:36:58 -05:00
James Willcox
158374ed78 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-28 09:36:57 -05:00
James Willcox
9932c21923 Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical 2015-09-28 09:36:54 -05:00
Sotaro Ikeda
fe61debc64 Bug 1205725 - Add basic SidebandStream handling to HwcComposer2D r=mwu,nical 2015-09-28 06:55:48 -07:00
Nicolas Silva
b7f00c6f5b Bug 1209039 - Temporarily disable thread names in Moz2D to work around a static check failure CLOSED TREE. r=me 2015-09-28 15:27:16 +02:00
Nicolas Silva
d0bd5e3ac6 Bug 1083101 - Use win32's CreateEventW instead of CreateEvent to avoid macro name collision 2015-09-28 13:50:01 +02:00
Nicolas Silva
e27060d818 Bug 1083101 - Make SyncObject's waiting jobs list lock-free. r=jrmuizel 2015-09-28 13:49:59 +02:00
Nicolas Silva
6198b794c9 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-28 13:49:54 +02:00
Nicolas Silva
120cce1d84 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-28 13:49:52 +02:00
Nicolas Silva
a5f1897cb1 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-28 13:49:50 +02:00
Nicolas Silva
adb0eb239d Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
6095c63ef4 Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel 2015-09-28 13:49:45 +02:00
Nicolas Silva
850e06aa00 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-28 13:49:43 +02:00
Nicolas Silva
ae47538b3f Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-28 13:49:33 +02:00
Nicholas Nethercote
ff7df9ad79 Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
This removes some ToColor() calls.

--HG--
extra : rebase_source : 05ee3e5aaa784e12c15fa42845864eacec45271f
2015-09-24 18:17:45 -07:00
Nicholas Nethercote
62d71c049e Bug 1208283 (part 3) - Remove the ToDeviceColor() that takes a gfxRGBA. r=jwatt.
--HG--
extra : rebase_source : afb31c9e9bb3367a165c079b06dc63ff9f87f468
2015-09-24 18:16:51 -07:00
Nicholas Nethercote
89189f2ced Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
This avoids some gfxRGBA-to-Color conversions.

--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Nicholas Nethercote
25d52ffe9f Bug 1208283 (part 1) - Change gfxPattern's single-arg constructor to take a gfx::Color& instead of a gfxRGBA&. r=jwatt.
--HG--
extra : rebase_source : 09fece3af01326be1ea7a5c29d52266323f09ade
2015-09-24 17:50:46 -07:00
Nicholas Nethercote
342466f878 Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
Also...

- Rename various "operator" identifiers as "op" to match |CompositionOp|.

- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
  |CompositionOp|.

- Remove some deprecated functions that are no longer needed.

--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
Wes Kocher
40f2f82907 Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Kearwood (Kip) Gilbert
55533524b4 Bug 1207326 - Part 1: Correct projection clipping rectangle,r=matt.woodrow
- The clipping rectangle used in a call to Matrix4x4::TransformAndClipRect
  within CompositorOGL::DrawQuad is now using mRenderBound, with an
  offset applied consistent with use later in the function.
2015-09-25 13:43:52 -07:00
Hayden Huang
997857d190 Bug 1175447 - mono audio support. r=padenot, r=sotaro
This patch is to enable mono audio option for those who has full hearing loss in one ear.
With this feature, they can get the complete audio with using one ear.

--HG--
extra : transplant_source : %EC%27%97%1Ai%0D%E3%BC%D0%12%97-K%0Ek%BD%8A%C8%A9%85
2015-08-06 14:30:22 +08:00
Nicholas Nethercote
165270a482 Bug 1207944 (part 5) - Use SetColor(const Color&) when setting from a constructed gfxRGBA. r=jwatt.
In various places SetColor() gets passed a gfxRBGA that is constructed at the
call site. This patch changes these to construct a gfx::Color directly,
avoiding the subsequent conversion.

--HG--
extra : rebase_source : e2882f4af319c9541891da34da4202baee5470b0
2015-09-23 23:42:58 -07:00
Nicholas Nethercote
ef3e68e52b Bug 1207944 (part 3) - Add a gfxContext::SetColor method that takes a gfx::Color&. r=jwatt.
The existing one, which takes a gfxRGBA&, will be removed a few patches hence.

--HG--
extra : rebase_source : 13cd1cbd0d7f893eed27f530f7018751b98811c8
2015-09-23 23:37:24 -07:00
Nicholas Nethercote
8fa390b8ea Bug 1207944 (part 2) - Pass a gfx::Color& instead of a gfxRGBA& to GetDeviceColor(). r=jwatt.
This requires doing likewise for GetSolidColor(), PushSolidColor()
HasNonOpaqueColor().

This removes a ThebesRGBA() call in GetDeviceColor() and a ThebesColor() call in
GetSolidColor().

--HG--
extra : rebase_source : 3b66f378443f1ca05b49bc763b2adf42ac3ef845
2015-09-23 23:36:15 -07:00
Nicholas Nethercote
2d94bd2f65 Bug 1207944 (part 1) - Pass a gfx::Color& instead of a gfxRGBA& to SetDeviceColor(). r=jwatt.
This avoids a gfxRGBA-to-Color conversion in SetDeviceColor() itself.

--HG--
extra : rebase_source : b458a63b950ad0bfebdd7496a64c67a5dd92b9ea
2015-09-23 23:33:31 -07:00
Nicholas Nethercote
842dd1cf5a Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Nicholas Nethercote
db4bf9b138 Bug 1207437 (part 3) - Fix and disallow warnings in gfx/thebes/. r=dvander.
This requires putting the structured exception blocks in their own functions,
away from local variables with types that have destructors.

--HG--
extra : rebase_source : 66a374e598ca43e2c404a1832636535ee13425fd
2015-09-24 15:52:05 -07:00
Nicholas Nethercote
26c3ba3de8 Bug 1207437 (part 2) - Don't re-get D3D11CreateDevice. r=dvander.
It's always obtained during gfxWindowPlatform initialization and put into
sD3D11CreateDeviceFn.

--HG--
extra : rebase_source : a27abb673cfd250e1b26289295c8585b1541a29f
2015-09-24 15:52:04 -07:00
Nicholas Nethercote
631a28f191 Bug 1207437 (part 1) - Don't recompute Windows feature levels. r=dvander.
This is valid because mFeatureLevels is set when gfxWindowsPlatform is
initialized.

--HG--
extra : rebase_source : 60aea87f0b261f6410b311408c63728d6e1bb1cc
2015-09-24 15:52:02 -07:00
Andrew Comminos
b2668b2662 Bug 1193015 - Require MOZ_GLX_USE_SURFACE_SHARING to enable WebGL surface sharing on GLX. r=jgilbert 2015-09-24 15:21:36 -07:00
Mason Chang
91a913a490 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-24 09:50:29 -07:00
Jeff Gilbert
187dfafc29 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Wes Kocher
39cabbcacc Backed out changeset 1da385d6c46b (bug 1021845) for b2g r3 and r7 permafail CLOSED TREE 2015-09-24 12:06:03 -07:00
Wes Kocher
d28eb4d8c9 Backed out bug 1083101 for build bustage CLOSED TREE
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5

--HG--
extra : amend_source : 9dd084c69c78fd2248dfb1b9ba562b8a396ba205
extra : histedit_source : 7dc833e4d0e1656ed98f560b0bd8fec9e0aee3ef%2C1df84fdd3e0adae06356f9ffbafc49538ffb8729
2015-09-24 11:14:50 -07:00
Nicolas Silva
5c994c47a4 Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE. 2015-09-24 19:47:20 +02:00
Nicolas Silva
b5f0ba8f9a Bug 1083101 - build fix on CLOSED TREE 2015-09-24 19:11:26 +02:00
Nicolas Silva
da625cae5a Bug 1083101 - build fix on CLOSED TREE 2015-09-24 18:08:10 +02:00
Nicolas Silva
b7926684ad Bug 1083101 - Make SyncObject's list of waiting jobs lock-free. r=jrmuizel 2015-09-24 17:35:47 +02:00
Nicolas Silva
38f6ea4b47 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-24 17:35:37 +02:00
Nicolas Silva
0819b3e7d5 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-24 17:35:30 +02:00
Nicolas Silva
1ccd18a5b5 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-24 17:35:27 +02:00
Matt Woodrow
c6cace0590 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-24 18:33:59 -04:00
Kartikaya Gupta
a3d47ba1cd Bug 1207270 - Update tests to ensure that TaskThrottlers are created as appropriate. r=botond
--HG--
extra : commitid : LcF5dobJwsF
2015-09-25 13:54:11 -04:00
Kartikaya Gupta
1a46906324 Bug 1207270 - Ensure that the TaskThrottler objects are created on the main thread. r=botond
--HG--
extra : commitid : C7pynADlf3C
2015-09-25 13:54:11 -04:00
Nicholas Nethercote
6e2ecba32f Bug 1207944 (part 9) - Remove SetColor(const gfxRGBA&). r=jwatt.
--HG--
extra : rebase_source : 37ad81dc8634abebe42962d38749e39f5a0ce1df
2015-09-24 00:48:15 -07:00
Nicholas Nethercote
b33cbd6c59 Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
This avoids several gfxRBGA-to-Color conversions.

--HG--
extra : rebase_source : 9b60c0dd0169bd8b208639dd3a28cad4591179dd
2015-09-24 00:43:32 -07:00
Lee Salzman
a452602084 Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar
--HG--
extra : rebase_source : bf9bf49cf9829370ab20567f10ce4c20fa5c9fca
2015-09-23 14:40:18 -04:00
Nicolas Silva
c41df579c1 Bug 1083101 - Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
9a89fcdfb3 Bug 1083101 - Implement gfx::DrawingJob. r=jrmuizel 2015-09-24 17:35:15 +02:00
Nicolas Silva
dbac937791 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-24 17:35:10 +02:00
Nicolas Silva
d730a8ec5f Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-24 17:34:43 +02:00
Sotaro Ikeda
ba3b3090fd Bug 1187145 - Replace nsBaseHashtable::Enumerate() calls in gfx/ with iterators r=njn 2015-09-24 08:31:30 -07:00
Morris Tseng
2275dcb794 Bug 1207887 - Fix AsyncPanZoomAnimation, WheelScrollAnimation and TextureHost doesn't compile in non-unified build. r=nical 2015-09-23 18:53:00 +02:00
Nathan Froyd
5761751aa3 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Markus Stange
6e7d153296 Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
--HG--
extra : commitid : 9ApIorZ6nmP
extra : histedit_source : 0313083254f244855be9663ac6878f8e353086d8
2015-09-23 16:18:29 +02:00
Jonathan Kew
a83eed3993 Bug 1193519 pt 2 - Handle sideways-left orientation in gfx text-drawing code. r=dholbert 2015-09-24 10:23:34 +01:00
Ted Mielczarek
76da157ae2 bug 1178956 - Specify precision in OGLShaderProgram.cpp to fix compositor on iOS. r=kip
--HG--
extra : commitid : JADdinHiHj
extra : rebase_source : f83c3a6d1d6f02f7744e0751eebd4c80c24028d0
2015-09-22 15:41:46 -04:00
Matt Woodrow
a9aab0bbb3 Bug 1150944 - Use correct origin for SkiaGL texture backed SourceSurfaces. r=gw280
--HG--
extra : rebase_source : 9c074672112c461c24552d9df770cad592c30d88
2015-09-23 20:27:58 -04:00
Jonathan Kew
a091884801 Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert 2015-09-23 22:16:01 +01:00
Avi Halachmi
648f55e7e6 Bug 1207656: APZ mouse wheel scroll: don't ignore minimum duration. r=dvander 2015-09-23 19:35:44 +03:00
Kartikaya Gupta
2379bce8fa Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
--HG--
extra : commitid : DrEEMPLFv95
2015-09-23 16:25:51 -04:00
Markus Stange
a1f6ba9da5 Bug 1207590 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
--HG--
extra : commitid : AqImLRfZYFc
2015-09-23 12:26:56 +02:00
Jeff Muizelaar
37ae0e16b5 Bug 1194335. Disable partial present on Nvidia hardware. r=bas
I have a theory that bug 1189940 is caused by partial present. This
is an attempt to see if that's true.

--HG--
extra : rebase_source : 663613989e5a1b012909e1335595fac495c81478
2015-09-21 11:52:01 -04:00
Nicolas Silva
953150ec3d Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Jean-Yves Avenard
6162494721 Bug 1072313: P2 Prevent instanciating MacIOSurfaceLib directly. r=mattwoodrow
This class only contains static members.
2015-09-23 13:34:40 +02:00
Jean-Yves Avenard
2720809fc5 Bug 1072313: P1. Make MacIOSurface refcount thread-safe. r=mattwoodrow 2015-09-23 13:34:36 +02:00
Jamie Nicol
dddf06fe27 Bug 1207153 - Restore texture binding to correct target in GLBlitHelper. r=snorp 2015-09-22 06:49:00 +02:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Lee Salzman
36f6069f0c Bug 1201937 - push transform onto cairo context when evaluating path bounds. r=eihrul 2015-09-21 13:33:06 -04:00
Phil Ringnalda
449e9119b4 Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Wes Kocher
08ffd204f8 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Sebastian Kaspari
2e0c208b14 Bug 1197717 - Load fonts from profile-agnostic writable location. r=jfkthame
In addition to the system's font folder and the profile folder we will try to load
fonts from NS_XPCOM_CURRENT_PROCESS_DIR/fonts. This will allow us to later
download fonts at runtime and use them independently from the current profile.

--HG--
extra : commitid : XencMwkyLl
extra : rebase_source : b0e0eca9dc745ce0bae167ce329a148b03416829
2015-09-22 15:55:56 +02:00
Olivier Brunel
11e774d18d Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel 2015-09-22 17:39:12 +02:00
Markus Stange
db5e3a34d4 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage.
--HG--
extra : commitid : BhzRGfWfYrb
extra : rebase_source : 97c401dd963301cdcdf9551c7c96fcd7b56636c8
2015-09-22 12:51:48 +02:00
Markus Stange
57ca0b8c39 Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
--HG--
extra : commitid : 3YaqNF6sPAT
extra : rebase_source : af64e3bd795a34d63dea4a5c89014156c8838d13
extra : histedit_source : c0ee79ad404abf3c0270c40ae63f178e04e7a8ab
2015-09-20 18:34:04 +02:00
Andrew Comminos
2d7d40687b Bug 1202175 - Guard GLX-specific call in SurfaceDescriptorX11. r=jgilbert 2015-09-11 16:53:00 +02:00
Botond Ballo
27eb9671a7 Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats
--HG--
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-h.html => gfx/layers/apz/test/reftest/async-scrollbar-1-h.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-v.html => gfx/layers/apz/test/reftest/async-scrollbar-1-v.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-rtl-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-rtl-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh-rtl.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh-rtl.html
rename : gfx/layers/apz/reftests/async-scrollbar-1-vh.html => gfx/layers/apz/test/reftest/async-scrollbar-1-vh.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-1-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-1-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-1.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-1.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-2-ref.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-2-ref.html
rename : gfx/layers/apz/reftests/async-scrollbar-zoom-2.html => gfx/layers/apz/test/reftest/async-scrollbar-zoom-2.html
rename : gfx/layers/apz/reftests/reftest.list => gfx/layers/apz/test/reftest/reftest.list
extra : source : f811b4e8a7c7b1f4cdcc79b76ee1c32116e4925d
2015-09-18 13:19:55 -04:00
Botond Ballo
ce4f8b079b Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats
--HG--
extra : source : aa30dbad3f9ff5a2cf7f847ec2ea381d4c9ea5d9
2015-09-16 19:49:59 -04:00
Botond Ballo
0f6812acd5 Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium
--HG--
rename : gfx/tests/gtest/TestAsyncPanZoomController.cpp => gfx/layers/apz/test/gtest/TestAsyncPanZoomController.cpp
extra : source : 18f51acd98206483573be0fcf636e6fcc76e89b0
2015-09-18 13:19:05 -04:00
Botond Ballo
7918cf6631 Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats
--HG--
extra : source : 561ac57efc474b5e7c4cad3c55ef24edb7c955b6
2015-09-16 19:45:14 -04:00
Botond Ballo
49e6226acc Bug 1014691 - Move APZ mochitests to gfx/layers/apz/test/mochitest. r=kats
--HG--
rename : gfx/layers/apz/test/apz_test_native_event_utils.js => gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js
rename : gfx/layers/apz/test/apz_test_utils.js => gfx/layers/apz/test/mochitest/apz_test_utils.js
rename : gfx/layers/apz/test/chrome.ini => gfx/layers/apz/test/mochitest/chrome.ini
rename : gfx/layers/apz/test/helper_basic_pan.html => gfx/layers/apz/test/mochitest/helper_basic_pan.html
rename : gfx/layers/apz/test/helper_bug1151663.html => gfx/layers/apz/test/mochitest/helper_bug1151663.html
rename : gfx/layers/apz/test/helper_bug982141.html => gfx/layers/apz/test/mochitest/helper_bug982141.html
rename : gfx/layers/apz/test/helper_div_pan.html => gfx/layers/apz/test/mochitest/helper_div_pan.html
rename : gfx/layers/apz/test/helper_iframe1.html => gfx/layers/apz/test/mochitest/helper_iframe1.html
rename : gfx/layers/apz/test/helper_iframe2.html => gfx/layers/apz/test/mochitest/helper_iframe2.html
rename : gfx/layers/apz/test/helper_iframe_pan.html => gfx/layers/apz/test/mochitest/helper_iframe_pan.html
rename : gfx/layers/apz/test/helper_subframe_style.css => gfx/layers/apz/test/mochitest/helper_subframe_style.css
rename : gfx/layers/apz/test/mochitest.ini => gfx/layers/apz/test/mochitest/mochitest.ini
rename : gfx/layers/apz/test/test_basic_pan.html => gfx/layers/apz/test/mochitest/test_basic_pan.html
rename : gfx/layers/apz/test/test_bug1151663.html => gfx/layers/apz/test/mochitest/test_bug1151663.html
rename : gfx/layers/apz/test/test_bug1151667.html => gfx/layers/apz/test/mochitest/test_bug1151667.html
rename : gfx/layers/apz/test/test_bug982141.html => gfx/layers/apz/test/mochitest/test_bug982141.html
rename : gfx/layers/apz/test/test_layerization.html => gfx/layers/apz/test/mochitest/test_layerization.html
rename : gfx/layers/apz/test/test_scroll_inactive_flattened_frame.html => gfx/layers/apz/test/mochitest/test_scroll_inactive_flattened_frame.html
rename : gfx/layers/apz/test/test_smoothness.html => gfx/layers/apz/test/mochitest/test_smoothness.html
rename : gfx/layers/apz/test/test_wheel_scroll.html => gfx/layers/apz/test/mochitest/test_wheel_scroll.html
rename : gfx/layers/apz/test/test_wheel_transactions.html => gfx/layers/apz/test/mochitest/test_wheel_transactions.html
extra : source : da98c4962d299e488ff456a35ec642708f6c8c49
2015-09-16 19:26:04 -04:00
Wes Kocher
c6aa53d157 Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE 2015-09-21 10:37:07 -07:00
Mason Chang
fd3141b39a Backout bug 1188075 for graphical artifacts. r=me 2015-09-21 08:14:05 -07:00
Nicolas Silva
554272fa7f Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Sotaro Ikeda
c58047810f Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical 2015-09-21 07:21:52 -07:00
Seth Fowler
3e6e1a075a Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Milan Sreckovic
d7bc700e96 Bug 1200021 - crash in mozilla::layers::ContentClientDoubleBuffered::FinalizeFrame(nsIntRegion const&): Diagnostics to get more data. r=bas 2015-09-19 11:19:07 +02:00
Phil Ringnalda
30a26f5ef5 Back out 2 changesets (bug 1111689) for ASan mochitest-gl leaks
Backed out changeset 909b9b147e71 (bug 1111689)
Backed out changeset bd0a637e8000 (bug 1111689)
2015-09-18 19:04:54 -07:00
Milan Sreckovic
8137015cdc Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2015-02-09 17:53:38 +08:00
Mason Chang
876417d4b1 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-18 11:23:55 -07:00
Lee Salzman
4fbc44de5a Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Thinker K.F. Li
e1e17a72cb Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.

--HG--
extra : rebase_source : 1a894b057a117a8520898c9f83308d92c122b180
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
46b545727a Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc
--HG--
extra : rebase_source : 3471b292ead698cafdd5a37bd3a6ed7894c2ca44
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
e9a8758d19 Bug 1097464 - Part 3 - Fix and add reftests. r=roc
--HG--
extra : rebase_source : cd4a906c120d96e6c8d37ce2e301f7ab3837e3bc
2015-09-17 08:30:00 +02:00
Thinker K.F. Li
568e7ca86e Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
--HG--
extra : rebase_source : ec019b2aff7aa4d62d1ce7bfcc389cdce0018246
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
061d1bb4c7 Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
--HG--
extra : rebase_source : 3ff8f50daf2309dd742806ab34577acc8edf38c7
2015-09-17 03:31:00 +02:00
John Daggett
70e21e9853 Bug 1205570 - fix up font prefs for x-math lang group. r=heycam 2015-09-18 13:48:45 +09:00