Commit Graph

13730 Commits

Author SHA1 Message Date
David Anderson
a57cd4ac87 Remove unneeded code from SmoothScrollAnimation. (bug 1139220 part 4, r=kats) 2015-04-01 23:43:20 -07:00
David Anderson
587b025af0 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
f4515bb072 Move AsyncPanZoomAnimation into its own header. (bug 1139220 part 1, r=kats) 2015-04-01 23:17:08 -07:00
Brian Smith
da84176b80 Bug 1119776, Part 10: Avoid defining snprintf when MSVC provides it (skia), r=gw280 2015-03-31 09:53:37 -10:00
Brian Smith
1c1a4cc383 Bug 1119776, Part 9: Avoid defining snprintf when MSVC provides it (harfbuzz), r=behdad 2015-03-31 09:52:57 -10:00
Jeff Muizelaar
c411223b65 Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
returning is better than trying to continue.
2015-04-02 14:26:45 -04:00
Carsten "Tomcat" Book
e615b9f3a5 Merge mozilla-central to mozilla-inbound 2015-04-02 14:13:36 +02:00
Carsten "Tomcat" Book
39fdd12be2 merge mozilla-inbound to mozilla-central a=merge 2015-04-02 14:09:15 +02:00
Vladimir Vukicevic
37d384e0e5 Bug 1149781; [webvr] Update Oculus API to use 0.5.x SDK; Mac startup crash fix; r=dbaron, a=startup-crash 2015-04-02 00:27:25 -04:00
Kartikaya Gupta
e2cf5f6206 Bug 1148641 - Guard against null parameters to SendSetTargetAPZCNotification. r=botond 2015-04-02 06:57:45 -04:00
Bob Owen
b588ebc14b Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Carsten "Tomcat" Book
4cc1064985 Backed out changeset 5b92f3ac380c (bug 1139220) for bustage on a CLOSED TREE 2015-04-02 09:13:53 +02:00
Carsten "Tomcat" Book
70aa73082b Backed out changeset fce26111e6f0 (bug 1139220) 2015-04-02 09:13:20 +02:00
Carsten "Tomcat" Book
9a6f1d210d Backed out changeset 2e519e843706 (bug 1139220) 2015-04-02 09:13:13 +02:00
Carsten "Tomcat" Book
930c5bd120 Backed out changeset 32358e02e9ae (bug 1139220) 2015-04-02 09:13:08 +02:00
David Anderson
f8f83314c1 Use stronger typing for GetScrollWheelDelta. (bug 1139220 part 5, r=kats) 2015-04-01 23:43:24 -07:00
David Anderson
d6ed548cdd Remove unneeded code from SmoothScrollAnimation. (bug 1139220 part 4, r=kats) 2015-04-01 23:43:20 -07:00
David Anderson
7104907a73 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
c436aee9c1 Move AsyncPanZoomAnimation into its own header. (bug 1139220 part 1, r=kats) 2015-04-01 23:17:08 -07:00
Jeff Muizelaar
fe7253b050 Bug 1150124. Move WARP reporter closer to actually testing WARP. 2015-04-01 16:44:13 -04:00
Vladimir Vukicevic
ff16e7ce8e Bug 1149781; Update Oculus runtime for new SDK 0.5; r=jrmuizel 2015-04-01 16:02:21 -04:00
Vladimir Vukicevic
23fb4bacd0 Bug 1148009; Add support for Cardboard (and other rotation-sensor based VR) in Firefox for Android; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
623d15c626 Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
06307ff21e Bug 1148009; [webvr] Move distortion vertex struct into more generic system; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
2671867f5c Bug 1148009; [webvr] Split out gfxVROculus from gfxVR, refactor VRHMDManager; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
50e43f0c8c Bug 1148009; [webvr] Move gfx vr code to gfx/vr; r=jrmuizel 2015-04-01 16:02:20 -04:00
Brian Smith
00f9f10f37 Bug 1119776, Part 8: Avoid defining snprintf when MSVC provides it (angle), r=jgilbert 2015-03-31 09:51:27 -10:00
Bas Schouten
9cfbb2049f Bug 1149864: Do not attempt to create any D3D11 device when safemode is turned on. r=jrmuizel 2015-04-01 19:45:58 +02:00
Jonathan Kew
400ab186f0 Bug 1146754 - Show selection highlighting for trailing space. r=mats 2015-04-01 14:45:16 +01:00
Jonathan Kew
b22e6bb289 Bug 1149519 - Workaround for GDI's failure to return empty extents for blank glyphs. r=roc 2015-04-01 12:46:53 +01:00
Nicolas Silva
6fad0503a8 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
734bb8f7d2 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Jonathan Kew
81c123981e Bug 1148903 - Allow control characters to be rendered by user fonts. r=roc 2015-04-01 09:02:24 +01:00
Mike Hommey
ee117642af Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Jeff Muizelaar
7c953e1e1f Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
WARP fails sometimes. Who knows why. MOZ_CRASHing
during start up isn't very good to do on startup.
2015-03-31 23:23:56 -04:00
Matt Woodrow
0427f54e6b Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
L. David Baron
e3cb739aae Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
Sotaro Ikeda
592788998c Bug 1149185 - override GetMessageLoop() r=nical 2015-03-31 06:32:53 -07:00
Kartikaya Gupta
34f71ad70a Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical 2015-03-31 08:50:14 -04:00
Mike Hommey
95e047925a Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Wes Kocher
29d000fc41 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Mason Chang
19b9ab9218 Bug 1148583 - Dispatch touch events before composites. r=kats 2015-03-30 08:12:47 -07:00
Nicolas Silva
360af5d1db Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
4a4a87a4a5 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Timothy Nikkel
3289a6d488 Bug 1149060. Fix dev pixels per CSS pixel and presshell resolution layer dumping after bug 1036967. r=botond 2015-03-30 17:11:12 -05:00
Mats Palmgren
eb873cb613 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Nicolas Silva
fb80d223a4 Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Mason Chang
35e93926a6 Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
Carsten "Tomcat" Book
401ed9969f Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Ted Mielczarek
be20b072fd bug 1147490 - fix GLContextProviderNull. r=benwa 2015-01-28 15:10:23 -05:00
Mats Palmgren
e4531ed040 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Jonathan Kew
b266af0e18 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Jeff Muizelaar
aefda98184 Bug 1148235. Cleanup the state that we maintain in SimplifyOutwardByArea. r=ehsan
Useless assignment removed and move a duplicated assignment out of the condition.
2015-03-27 14:22:07 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
JerryShih
a28984f6fe Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Martijn Wargers
88c59897fd Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Bill McCloskey
24513edc33 Bug 1121072 - Always notify when layers cleared (r=dvander) 2015-03-27 08:38:47 -07:00
Nicolas Silva
efe367435d Bug 1145981 - Backout, missing review 2015-03-27 11:19:22 +01:00
Nicolas Silva
e772a7013d Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Nicolas Silva
f260783897 Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Nicolas Silva
89a3e0bb4a Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro 2015-03-27 11:16:22 +01:00
Nicolas Silva
72ab720a9a Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro 2015-03-27 11:16:18 +01:00
Bas Schouten
058cf47c49 Bug 1147728: When using WARP, don't try to create a synchronization texture. This will fail on Windows 7. r=jrmuizel 2015-03-27 04:45:54 +01:00
Mason Chang
e0b17d602c Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Seth Fowler
eda3d21adf Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn 2015-03-26 15:39:47 -07:00
Timothy Nikkel
67581c6b64 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Timothy Nikkel
6c9c9adad9 Bug 1144951. Warn if the result of ConvertAppUnits is unused. r=mats
There is never a case where Ignoring the result makes sense.
2015-03-26 16:44:38 -05:00
David Anderson
c6ae6e83db Fix APZCs leaking when a compositor shuts down. (bug 1147681 part 2, r=kats) 2015-03-26 14:24:37 -07:00
David Anderson
177f5dab76 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
David Anderson
26d0bab7f5 Fix crashes when a wheel transaction has a null confirmed apzc. (bug 1147249, r=kats) 2015-03-26 14:15:41 -07:00
Vladimir Vukicevic
f0d513a2ab Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
JerryShih
6e42dfa711 Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical
fix the assert checking.
2015-03-24 18:40:00 -04:00
JerryShih
6d92b1b508 Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical
There is a data racing problem in IsValidKey() and we don't need to check the
index in serializer. The index is always invalid when we alloc new buffer.
2015-03-24 03:19:00 -04:00
Jonathan Kew
2085929bcb Bug 1137588 - patch 2 - Use a better default vOrigin in fonts without real vertical metrics. r=jdaggett 2015-03-26 12:23:55 +00:00
Jonathan Kew
83393239d4 Bug 1137588 - patch 1 - Read the second array in 'vmtx' correctly to get glyph vertical origins. r=jdaggett 2015-03-26 12:23:45 +00:00
Jeff Muizelaar
87756ab1f3 Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995
2015-03-25 10:13:31 -04:00
Bas Schouten
c1ccfeb444 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
David Anderson
ef0e9b75ff Follow-up nit to bug 1147648 (alphabetize prefs). r=kats 2015-03-25 18:39:20 -07:00
David Anderson
2b88cec690 Improve bad APZ wheel pref detection in about:support. (bug 1147223 part 2, r=kats) 2015-03-25 18:37:33 -07:00
David Anderson
efbb1a0523 Fix wheel events not applying root scroll delta overrides. (bug 1147223 part 1, r=kats) 2015-03-25 18:36:41 -07:00
David Anderson
9cc20919e1 Fix some full zoom FrameMetrics changes not propagating to APZ. (bug 1147648, r=botond) 2015-03-25 18:34:56 -07:00
Sotaro Ikeda
ec03838ab0 Bug 1145389 - Add gralloc allocation requet size check r=nical 2015-03-25 18:05:11 -07:00
Matt Woodrow
a274ad44c9 Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel 2015-03-26 13:06:21 +13:00
Matt Woodrow
7b5cd2b87c Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical 2015-03-26 13:05:25 +13:00
Matt Woodrow
a84b38045d Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical 2015-03-26 13:04:42 +13:00
Matt Woodrow
03c0b92ee7 Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar 2015-03-26 12:57:03 +13:00
Maksim Lebedev
24171e69cd Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Kartikaya Gupta
9eeddce965 Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Jonathan Kew
910326d234 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
beeb49d974 Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
a5b4553282 Add APZ info to about:support. (bug 1146727, r=jrmuizel) 2015-03-24 15:04:44 -07:00
David Anderson
84446e09cd Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
6ce41e0151 Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
David Anderson
a939ce2deb Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats) 2015-03-24 14:58:49 -07:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang
29c2dd4d26 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Kearwood (Kip) Gilbert
c5be12041a Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
  so we don't have to return infinite values when rects cross the w=0 plane
  in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
  appropriate for the units that are returned.
2015-03-13 16:42:00 -04:00
Kushan Joshi
dec35f3d87 Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Sotaro Ikeda
8619585aac Bug 1124907 - Call SetCompositor() only when it is valid r=nical 2015-03-24 07:21:15 -07:00
Nicolas Silva
dc19cb87a3 Bug 1143653 - Backout part of the initial patch because of crashes. 2015-03-24 14:17:27 +01:00
Jeff Gilbert
165b2c041b Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Dan Glastonbury
d726cc27c9 Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert 2015-03-24 12:16:21 +10:00
Botond Ballo
2a723827ca Bug 1145787 - Put a misplaced assertion into its proper place. r=kats 2015-03-20 19:21:04 -04:00
Botond Ballo
768b0a908e Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates. r=kats 2015-03-20 14:02:07 -04:00
Kartikaya Gupta
feb9e191d8 Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
3357340ee8 Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
ea87960696 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
eba9e453f7 Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Jonathan Kew
2c9645518a Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
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