Commit Graph

13671 Commits

Author SHA1 Message Date
Matt Woodrow
a0df2b83e3 Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical 2015-03-23 15:13:56 +13:00
David Anderson
c12a4de554 Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
6a85b0754a End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
David Anderson
6cdcb889b1 Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
a12ccf5a58 Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
04fc348bab Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Jeff Muizelaar
c6d7e3feaf Bug 1144136. Remove unneeded Flush() from D3D11 compositor. r=bas
I don't think we need this because the Present() call has an implicit flush.
2015-03-21 15:07:06 -04:00
Botond Ballo
a1c5fe7117 Bug 1145702 - Make the assertion in Axis::GetOverscroll() more informative. r=Cwiiis 2015-03-20 13:02:23 -04:00
Wes Kocher
594f9bf623 Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
ad31f7c21a Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Kartikaya Gupta
d1b7ab157f Bug 1139469 - Guard against a null compositor loop during startup on B2G. r=botond 2015-03-20 15:28:04 -04:00
Trevor Saunders
66a02c9a3a bug 1183967 - fixup correct case of mfidl.h 2015-03-20 15:18:26 -04:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jannis Pinter
4339e9b67c Bug 1142260 - Re-sorted the prefs in gfxPrefs.h and added a big scary warning at the bottom of the list. r=kats 2015-03-21 10:33:25 -04:00
Bill McCloskey
9f8401ccae Bug 1121072 - Always notify when layers cleared 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
8eac48cc93 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
ff7cb60a33 Bug 1128042 - Don't round critical displayport out as it should already be tile aligned and rounding error can increase tile usage. r=botond 2015-03-20 14:26:51 -04:00
Ryan VanderMeulen
d296d3f9ca Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Mason Chang
9a88b696cc Bug 1133527. Fallback to software vsync on android. r=kats 2015-03-20 08:12:53 -07:00
Dave Townsend
6147fea31c Bug 1144900: Fix windows gfx out of memory assertion. r=Bas 2015-03-19 10:42:27 -07:00
Alexandre Lissy
ae41759754 Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Wes Kocher
45bb17da3b Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-19 19:31:35 -07:00
Michael Wu
6923a7f75b Bug 1120780 - Fallback on lock_ycbcr when ColorConvertor fails, r=sotaro 2015-03-20 10:25:12 +08:00
Jonathan Kew
486f059871 Bug 1142952 - Update OTS to latest upstream revision; now at e779d45e7a96d3b97ed3d2b76db7478cb86fdd8b. r=jdaggett 2015-03-19 11:11:30 +00:00
Nicolas Silva
39e7d620f6 Bug 1143653 - Typo fix in a variable name. r=me 2015-03-19 12:07:28 +01:00
Kartikaya Gupta
cd31c2707c Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond 2015-03-19 06:54:34 -04:00
Kartikaya Gupta
f709915b5c Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Kartikaya Gupta
62f37cc76c Bug 1144112 - When tagging a block as fast-motion with touch-action enabled, make sure to set the allowed behaviors on it as well. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
00416b5b66 Bug 1144112 - Rearrange code a little to simplify it. No functional changes intended. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
202979f0b3 Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
6b1c41259a Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond 2015-03-19 06:33:32 -04:00
Matt Woodrow
0df9efc7e8 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical 2015-03-19 10:17:13 +13:00
Matt Woodrow
2e00607fd5 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce 2015-03-19 10:16:23 +13:00
Matt Woodrow
e3d30c7898 Bug 1138967 - Part 1: Remove ISharedImage. r=nical 2015-03-19 10:15:38 +13:00
Mason Chang
65b585e91e Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07:00
Botond Ballo
c419941a64 Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats 2015-03-13 20:42:15 -04:00
Botond Ballo
4fff36badc Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Botond Ballo
fbb6e708e0 Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel 2015-03-13 20:40:47 -04:00
Nicolas Silva
0357c19122 Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Brian Birtles
3e68574c31 Bug 1113425 part 2 - Apply async properties when querying the animated transform; r=mattwoodrow
In order to test off-main thread animations, we have a method that will return
the animated transform value set on a shadow layer. This method will return null
if the transform was not set by animation.

However, in some situations we temporarily clear the animation transform. For
example, when we synchronize a composite layer with its content layer, we reset
the animation transform. Then, on the next composite, we will recalculate the
animated value.

If we try to query the animated transform value in between resetting it and the
next composite we will get back null. To avoid a race condition, in
ShadowLayersUpdated after potentially clearing the animated transform, we
synchronously update the async properties on the layer transform in order
to reinstate the animated transform (so it is there when we go to query it).
However we *only* do this when the mIsTesting flag is set which is true
whenever we have the refresh driver under test control.  Furthermore, we only
do it when we already have a pending composite task to better match conditions
under regular operation.

In test_deferred_start.html, however, we specifically need to test without
putting the refresh driver under test control. As a result mIsTesting will be
false and we can encounter a race condition when querying the animated
transform.

To work around this, this patch makes us *also* update async properties
when fetching the animated transform value. The method for getting the
animated transform value is only used for testing so it should have no effect
on the regular compositing behavior.

It would seem that we could then remove the call from ShadowLayersUpdated but
doing this caused a small number of test cases to fail. In particular one test
for *opacity* in test_animations_omta.html was failing at the end of the
animation because we ended up with a stale opacity animation value on the
compositor which the synchronous update was previously removing. The test,
in this case, should be ignoring the value on the compositor but, unlike
transform, there is no flag for indicating whether or not the opacity on shadow
layers has been set by animations. As a result, this patch leaves the call that
triggers a synchronous update in test mode when updating shadow layers.
2015-03-17 18:38:12 +09:00
Seth Fowler
0b505f011b Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Ryan VanderMeulen
14f2958a2f Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen
b26a21dc80 Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Daniel Holbert
2416fccac8 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Nicolas Silva
eaa5a4d7e4 Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel 2015-03-17 16:53:46 +01:00
Nicolas Silva
b2f274f37f Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Nicolas Silva
3bcdc8564c Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Carsten "Tomcat" Book
1339beda33 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Michael Wu
a4c11fd312 Bug 1120780 - Remove special handling for venus, r=sotaro 2015-03-17 09:38:34 +08:00
Phil Ringnalda
149293333d Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
Daniel Holbert
736862c224 Bug 1143239: Add MOZ_OVERRIDE annotations in ClientReadbackLayer. r=ehsan 2015-03-13 22:59:38 -07:00
Botond Ballo
3030f46607 Bug 1036967 - Remove ScaleFactor::ScaleFactor(float, float). r=kats 2015-03-02 18:56:45 -05:00
Botond Ballo
f6caac98dc Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Botond Ballo
f1eb3ec205 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas 2015-03-06 13:53:47 -05:00
Botond Ballo
4daa1c31b9 Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. r=kats 2015-03-11 13:18:52 -04:00
Nicolas Silva
f5fb91c2c1 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
dvander@alliedmods.net
df6ad43e2c Bug 1139845 - Fix ChromeProcessController crash when there is no document element. r=botond 2015-03-10 13:44:00 -04:00
Dan Glastonbury
0afe382cbd Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert 2015-02-18 14:34:28 +10:00
Mike Hommey
97d5238558 Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar 2015-03-17 10:04:19 +09:00
Botond Ballo
2011a05c35 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Botond Ballo
273a985304 Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats 2015-03-06 18:07:30 -05:00
Jeff Gilbert
b01632f6a8 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 12:16:50 -07:00
Kartikaya Gupta
cb86b605be Bug 1142926 - Only notify the docshell of state changes when moving in and out of a transforming state across all APZCs. r=botond 2015-03-16 14:52:52 -04:00
Jeff Muizelaar
330d59e077 Bug 1132432. Implement AsShadowableLayer() for ClientReadbackLayers. r=roc
Without this we early exit from the loop in ShadowLayerForwarder::InsertAfter
which causes us to insert layers after the ReadbackLayers in the wrong order.
2015-03-12 17:51:07 -04:00
Ryan VanderMeulen
6bd5b392ff Backed out changeset 672cea72c662 (bug 994541) for making various browser-chrome tests more timeout-prone.
CLOSED TREE
2015-03-12 15:54:12 -04:00
Nicolas Silva
20b6b03b8b Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Kartikaya Gupta
74500c29ee Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Carsten "Tomcat" Book
791eab45b0 Backed out changeset 71966b47b3f9 (bug 1124996) for perma orange in test_conformance__extensions__webgl-compressed-texture-s3tc.html 2015-03-16 11:58:30 +01:00
Carsten "Tomcat" Book
a595a7e43d Backed out changeset c7d73cfc59cb (bug 927995) 2015-03-16 11:28:46 +01:00
Jeff Gilbert
69d93712a8 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 00:31:33 -07:00
Dan Glastonbury
397aac47b0 Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert 2015-02-18 14:34:28 +10:00
Phil Ringnalda
3855b0ec44 Merge m-c to m-i 2015-03-15 19:42:35 -07:00
Mason Chang
9b0dfb4e5f Bug 1142957 Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 21:23:53 -07:00
Mason Chang
45c2f888bf Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me 2015-03-14 20:37:41 -07:00
Mason Chang
445ec59b3c Bug 1142708. Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 13:55:35 -07:00
Chris Lord
b108b9a997 Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas 2015-03-12 14:01:23 +01:00
Jonathan Kew
450b83f279 Bug 1136557 - pt 2 - Round maxDescent similarly to maxAscent in nsFontMetrics. r=smontagu 2015-03-12 10:47:50 +00:00
Jonathan Kew
3d39c12df9 Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu 2015-03-12 10:47:32 +00:00
Jonathan Kew
5da6d8ec06 Bug 1139646 - Ensure gfxHarfBuzzShaper only loads the vmtx table once, to avoid leaking it. r=smontagu 2015-03-12 10:03:09 +00:00
Matt Woodrow
5489f6ab0c Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce 2015-03-12 22:14:51 +13:00
Matt Woodrow
2e82e720f9 Bug 1131638 - Discard video frames that fail to sync. r=cpearce 2015-03-12 22:13:23 +13:00
Mason Chang
53dc5516af Bug 1141361 - Reuse the same thread when we start/stop vsync event for the windows vsync thread. r=jrmuizel 2015-03-11 18:35:50 -07:00
Sotaro Ikeda
4fe0da6506 Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert 2015-03-11 14:10:24 -07:00
David Anderson
e895db3279 Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats) 2015-03-11 13:56:56 -07:00
Jeff Muizelaar
36f2729dde Bug 1130978. Fix VisitEdges. r=kats
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.

The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Ryan VanderMeulen
de0707e738 Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures. 2015-03-11 15:22:04 -04:00
Kartikaya Gupta
bd9e6b24a3 Bug 1130982 - Ensure the clip rect on a multi-metrics layer belongs to the bottommost layer. r=botond 2015-03-11 13:36:12 -04:00
Kartikaya Gupta
d4845a6271 Bug 1130982 - Ensure the clip rect is appropriately adjusted for multi-framemetrics layers. r=botond 2015-02-20 16:01:41 -05:00
Nicolas Silva
5e9bd4b896 Bug 1142143 don't early return in TextureClientD3D11::Unlock if readback fails. r=jrmuizel 2015-03-11 18:35:35 +01:00
Nicolas Silva
3820c2908f Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas 2015-03-11 17:16:13 +01:00
Nicolas Silva
367c31627b Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Sotaro Ikeda
ccd9fb79f8 Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical 2015-03-11 06:53:43 -07:00
Jonathan Kew
373d482817 Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett 2015-03-11 08:49:24 +00:00
Mason Chang
32677f9208 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Kartikaya Gupta
3ea7761891 Bug 1144374 - Fix APZ code to deal with layers getting moved to another LayerManager. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta
8a961f403e Bug 1145089 - Update documentation for nsEventStatus_eConsumeNoDefault. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta
87723bac66 Bug 1036967 - Followup to fix debug logging. r=me 2015-03-20 06:58:04 -04:00
Jeff Muizelaar
3ed6212640 Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h 2015-03-10 20:48:09 -04:00
Wes Kocher
665d625c2f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Thomas Zimmermann
3a2cb967fe Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar 2015-03-10 13:44:02 +01:00
Jeff Muizelaar
e8dc467e40 Bug 1131965. Cherry pick ANGLE fix for conformance crash
This cherrypicks 21c1e4566726c9397a840dc5331e40a8d0ca9511
from upstream ANGLE which fixes a crash when running:
/conformance/glsl/bugs/undefined-index-should-not-crash.html
2015-03-10 10:59:17 -04:00
Jeff Muizelaar
7f649cd194 Bug 1136242. Make sure we acquire the mutexes when copying the surfaces. r=jgilbert
This was causing badness when using preserveDrawingBuffers = true
2015-02-27 14:17:55 -05:00
Kartikaya Gupta
e475723c6e Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta
940b657978 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Carsten "Tomcat" Book
6c9f728df0 Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva
d202b7b126 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Milan Sreckovic
ae310469c2 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
David Anderson
3d342dff32 Bug 1139845 - Avoid crashing in ChromeProcessController if the view is null. r=mats 2015-03-06 13:06:25 -05:00
Wes Kocher
c1ebca473b Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mason Chang
85891029ef Bug 1139253. Reuse the same thread for the software vsync thread. r=kats 2015-03-09 08:19:07 -07:00
Matt Woodrow
d5ae90fcf4 Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions 2015-03-09 16:18:32 +13:00
James Willcox
38df53c751 Bug 1117338 - Blow up if we can't convert a cairo format to a gfx one r=milan 2015-03-09 08:35:11 -05:00
Jonathan Kew
72c446c0cd Bug 1139888 - Check for missing glyph metrics tables. r=jdaggett 2015-03-09 12:16:22 +00:00
Jonathan Kew
68b07ad95e Bug 1139824 - Track construction/destruction of the font table wrappers attached to hb_blob objects, to enable leak detection. r=jdaggett 2015-03-09 12:16:22 +00:00
Milan Sreckovic
ac2c26d8f4 Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05:00
Jim Mathies
016fb5802e Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 17:29:05 -06:00
Phil Ringnalda
6067180487 Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies
09b152d634 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 12:42:56 -06:00
dvander@alliedmods.net
82c3273e96 Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
e3d4680337 If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08:00
Mason Chang
be3377e17d Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange 2015-03-06 13:58:22 -08:00
Kartikaya Gupta
94824956d4 Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
efd925c712 Bug 1139575 - Reset velocity on axes when going from a pan to a pinch. r=botond 2015-03-06 16:52:35 -05:00
Markus Stange
4ac7196831 Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel 2015-03-06 13:04:05 -05:00
Martin Stransky
d1e3498803 Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt 2015-03-05 03:56:00 +01:00
Kartikaya Gupta
d814bab641 Bug 1137875 - Clear shared frame metrics objects associated with a PLayerTransaction when it is destroyed. r=nical 2015-03-06 06:26:34 -05:00
Kartikaya Gupta
cae98899ea Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical 2015-03-06 06:25:40 -05:00
Kartikaya Gupta
b6dd9c82f3 Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical 2015-03-06 06:25:33 -05:00
John Daggett
a04f9130ab Bug 935862 p2 - add various userfont lookup methods. r=heycam 2015-03-06 17:44:18 +09:00
Bill McCloskey
e73ee31af0 Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bas Schouten
37a2c2adc1 Bug 1138934: Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical
This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.
2015-03-06 02:37:12 +01:00
Nicolas Silva
5672bd7710 Bug 1128934 - Call XFlush after compositing to prevent jank. r=karlt 2015-03-09 10:39:02 +01:00
Nicolas Silva
b4be8e1bd4 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Kearwood (Kip) Gilbert
bbc4c7b4e8 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
c75559c55c Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
7f14122b9a Bug 945584: Part 4 - Add scroll snapping preferences (v3 Patch), r=roc
- Added preferences to allow trackpad and mousewheel flinging between
snap points to be tuned:
- layout.css.scroll-snap.prediction-max-velocity
- layout.css.scroll-snap.prediction-sensitivity
2015-02-19 15:43:14 -08:00
Nicolas Silva
c152684fd5 Bug 1125848 - Prevent PCompositorChild messages to be sent after the actor started shutting down. r=sotaro 2015-03-05 19:03:16 +01:00
Mason Chang
7172ecb29c Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08:00
Jim Mathies
f80731c35e Bug 1133237 - When transitioning from a shadow layer tree that has plugins to a tree that does not, make sure the old plugins get hidden properly. r=roc 2015-03-04 07:46:15 -06:00
Milan Sreckovic
119f4e9586 Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow 2015-03-03 11:17:55 -05:00
Kartikaya Gupta
f0fb2ca009 Bug 1139033 - Don't schedule an unnecessary repeat transaction when doing a non-progressive paint. r=nical 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
4e03f86f1c Bug 1139397 - Add bug component info for APZ code. r=botond 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
c6ee08cab3 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Mason Chang
2b7972a37c Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. r=mstange 2015-03-04 14:37:55 -08:00
Ryan VanderMeulen
87451d9d5b Merge inbound to m-c. a=merge 2015-03-04 16:35:35 -05:00
Jan Jongboom
cb7d80be36 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Carsten "Tomcat" Book
134a3fe52e Backed out changeset e41d35b40ba9 (bug 1124084) for crashtest-1 b2g test failures 2015-03-04 09:06:10 +01:00
Mike Hommey
5e7eedbb34 Bug 1136958 - Remove duplicate SkDiscardableMemory_none.cpp from gfx/skia/moz.build. r=gps
And to do so, cleanup gfx/skia/generate_mozbuild.py a little.
2015-03-04 14:39:28 +09:00
Seth Fowler
a797dddf2a Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-03 18:19:21 -08:00
Sotaro Ikeda
6e6dbc2531 Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical 2015-03-03 08:51:05 -08:00
Mason Chang
cc6191de25 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Sotaro Ikeda
b99f4b96b4 Bug 1132528 - Handle non existent key r=nical 2015-03-03 06:36:48 -08:00
Bas Schouten
0d73e2046e Bug 1131370: Try to ignore transient errors and increase D3D11 timeout as well. r=milan 2015-03-03 14:28:50 +01:00
Kyle Thomas
8967a22b58 Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow 2015-03-03 18:47:00 -05:00
Kartikaya Gupta
c5a7fe0a2f Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
d4a0fa17c9 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Botond Ballo
3ba2bce05e Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Anthony Jones
9ee7c56a3b Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Botond Ballo
9e3c6d49f6 Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck 2015-03-02 16:41:02 -05:00
Botond Ballo
98b5ab7212 Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck 2015-03-02 16:38:07 -05:00
Sotaro Ikeda
e217eaf980 Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Wes Kocher
5a567e6952 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Ryan VanderMeulen
1a0dab6850 Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
CLOSED TREE
2015-03-02 12:34:39 -05:00
Kartikaya Gupta
60e1f7ed1c Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond 2015-03-02 11:51:45 -05:00
Kartikaya Gupta
719288c341 Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond 2015-03-02 11:50:38 -05:00
Wes Kocher
5497a896e4 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Wes Kocher
d787e7c36a Merge fx-team to m-c a=merge 2015-02-26 18:37:18 -08:00
Kartikaya Gupta
9dd7d38206 Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
ffbca0d154 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Milan Sreckovic
76251cf9a3 Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten 2015-02-25 17:44:56 -05:00
George Wright
357934ffbb Bug 1137044 - Clarify README_SKIA a bit r=me DONTBUILD 2015-02-26 12:25:51 -05:00
Benoit Girard
ca83d3a409 Bug 1132468 - Reject invalid sizes. r=jrmuizel 2015-02-24 17:02:10 -05:00
Kartikaya Gupta
cfcedbb7de Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Carsten "Tomcat" Book
7e696c113e Merge mozilla-central to fx-team 2015-02-26 12:07:22 +01:00
Milan Sreckovic
0eae6efbca Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Kartikaya Gupta
f7637d9c23 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Jonathan Watt
6a538262af Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Benoit Girard
e4e94088d9 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Benoit Girard
0c64c8efab Bug 1135677 - Deal with overflowing rects. r=bas 2015-02-23 14:09:56 -05:00
Benoit Girard
7df479061b Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel 2015-02-24 19:03:25 -05:00
Wes Kocher
204b5160b6 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Mason Chang
5576f33565 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Carsten "Tomcat" Book
2bad2860c9 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Wes Kocher
058232bba2 Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08:00
Benoit Girard
82b32b06ae Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow 2015-02-23 18:22:06 -05:00
Mason Chang
77fed99cf0 Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
William Chen
1fecc3ee71 Bug 1134021 - Use composed document when getting nsDOMWindowUtils from shadow DOM content. r=kats 2015-02-23 10:10:23 -08:00
Ms2ger
0e666da362 Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Jeff Gilbert
cbb779d14d Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
David Anderson
3cceabdea6 Fix build bustage on CLOSED TREE. No bug 2015-02-24 14:16:27 -08:00
Bas Schouten
464897a37e Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Bas Schouten
8d3eb6db37 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
Jonathan Kew
55799da431 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
David Anderson
6a4b20c84a Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow) 2015-02-24 13:39:01 -08:00
Jacek Caban
9ee945508c Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
John Daggett
ccc9d87ea3 Bug 1135308 - add pref for disabling font cache. r=m_kato 2015-02-23 09:32:04 +09:00
Abhishek Arya
5bce78f867 Bug 944579 - another crashtest. 2015-02-22 04:57:16 +00:00
Jesse Ruderman
d90353f9cd Bug 950000 - crashtest. 2015-02-22 02:41:58 +00:00
Abhishek Arya
a64762cc96 Bug 944579 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman
7a541782e3 Bug 593526 - crashtests. 2015-02-22 02:41:58 +00:00