Commit Graph

18680 Commits

Author SHA1 Message Date
Timothy Nikkel
4c4c9916bc 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
25fa3a4765 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
1985a49b47 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
d01dc35e80 Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
Carsten "Tomcat" Book
5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Ted Mielczarek
7f42ff59ac bug 1147490 - fix GLContextProviderNull. r=benwa
--HG--
extra : rebase_source : 1a888fdce76fdb5d8646cfa5ded3e1bcdb56651f
extra : source : 240e4a99078c16fe0fec662572c3d818d0e9f9af
2015-01-28 15:10:23 -05:00
Mats Palmgren
2121f47090 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
d9a4b2e744 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
2911685bf3 Bug 1148235. Cleanup the state that we maintain in SimplifyOutwardByArea. r=ehsan
Useless assignment removed and move a duplicated assignment out of the condition.

--HG--
extra : rebase_source : bc67a5ce78608dac1655f050dcf145e0f4fed676
2015-03-27 14:22:07 -04:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
JerryShih
f67f482c15 Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Martijn Wargers
84811f67ae Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Bill McCloskey
3f08e0f807 Bug 1121072 - Always notify when layers cleared (r=dvander) 2015-03-27 08:38:47 -07:00
Nicolas Silva
f50bb18cc5 Bug 1145981 - Backout, missing review 2015-03-27 11:19:22 +01:00
Nicolas Silva
5ea6c11e06 Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Nicolas Silva
932eee262e 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
aff1fa6b6c Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro 2015-03-27 11:16:22 +01:00
Nicolas Silva
da6cace77d Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro 2015-03-27 11:16:18 +01:00
Bas Schouten
64fec42b5d 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
783db35924 Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Seth Fowler
39007175b4 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
d6eff64aa4 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Timothy Nikkel
c4865b4a3a 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
ffa26889e9 Fix APZCs leaking when a compositor shuts down. (bug 1147681 part 2, r=kats)
--HG--
extra : rebase_source : a8b1f5e0cb2aa0a4a0fce9f788f5e771df3cfcd0
2015-03-26 14:24:37 -07:00
David Anderson
274c9d4c17 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
--HG--
extra : rebase_source : ce0beebda151fdf5adf69e998465c684b193db75
2015-03-26 14:23:02 -07:00
David Anderson
7a289bb6d5 Fix crashes when a wheel transaction has a null confirmed apzc. (bug 1147249, r=kats)
--HG--
extra : rebase_source : 0c17344a9c814dc412caa21453d1b2e2ed1d8921
2015-03-26 14:15:41 -07:00
Vladimir Vukicevic
f9df352463 Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
JerryShih
d726d9fba8 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
fc1e027e12 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
2fad07bfc9 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
179a4271ab 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
470a5f318f Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995

--HG--
extra : rebase_source : 0a950753cbe67051ad1fa99dfe3d3b8c53f0d062
2015-03-25 10:13:31 -04:00
Bas Schouten
4631908ab5 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
David Anderson
3eefa67684 Follow-up nit to bug 1147648 (alphabetize prefs). r=kats 2015-03-25 18:39:20 -07:00
David Anderson
c974fd18b3 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
11dca95ed5 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
204bc78fed Fix some full zoom FrameMetrics changes not propagating to APZ. (bug 1147648, r=botond) 2015-03-25 18:34:56 -07:00
Sotaro Ikeda
dfcae94801 Bug 1145389 - Add gralloc allocation requet size check r=nical 2015-03-25 18:05:11 -07:00
Matt Woodrow
b47f624ddc Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel
--HG--
extra : rebase_source : 468e7af0dc2208962892610c4cf2f8033d39fc60
2015-03-26 13:06:21 +13:00
Matt Woodrow
439798a572 Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical
--HG--
extra : rebase_source : 6d8d17dd02bb63a8ea0adcd94de891aad369d6dc
2015-03-26 13:05:25 +13:00
Matt Woodrow
a5a35423f7 Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical
--HG--
extra : rebase_source : 29a7c9e7fb5ab2726cb9a3868b85a5c0292a38b4
2015-03-26 13:04:42 +13:00
Matt Woodrow
abe801b442 Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar
--HG--
extra : rebase_source : e000ff00ef1a25e040572a21775cfbf0efb32485
2015-03-26 12:57:03 +13:00
Maksim Lebedev
9e2e275653 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Kartikaya Gupta
52c482890f 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
a309bff7b9 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
5e1bf3762e Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
d96e85937b Add APZ info to about:support. (bug 1146727, r=jrmuizel)
--HG--
extra : rebase_source : 8758865fbde29af687fbe00fe64cc03fc8cb2cde
2015-03-24 15:04:44 -07:00
David Anderson
d5f5272884 Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
1e87fb5a4b 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
0edd0b1707 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
d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang
ba8626d695 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
f97c17593c 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.

--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Kushan Joshi
98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Sotaro Ikeda
0f3eb5e996 Bug 1124907 - Call SetCompositor() only when it is valid r=nical 2015-03-24 07:21:15 -07:00
Nicolas Silva
9df6e6f9a8 Bug 1143653 - Backout part of the initial patch because of crashes. 2015-03-24 14:17:27 +01:00
Jeff Gilbert
5643850512 Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Dan Glastonbury
63a4eb24e5 Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert 2015-03-24 12:16:21 +10:00
Botond Ballo
9d41c408f3 Bug 1145787 - Put a misplaced assertion into its proper place. r=kats
--HG--
extra : source : 04c4a02aece447cc7f6babd104b2c65070ccffdc
2015-03-20 19:21:04 -04:00
Botond Ballo
9bef23d187 Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates. r=kats
--HG--
extra : source : af3b6caa84116a5f95783ed9262326f4917b6b90
2015-03-20 14:02:07 -04:00
Kartikaya Gupta
0e43c5e14d Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
80dc89efcd Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
d79161eaa1 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
4f3ac11b79 Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Jonathan Kew
606aaa726c Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
Matt Woodrow
28fe00ec0c Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical
--HG--
extra : rebase_source : be290c542566bc5650b45bfc2f892c8edf5fd14a
2015-03-23 15:13:56 +13:00
David Anderson
fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
302fa4036d 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
a0a7580fcf Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
9ef50f3565 Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Jeff Muizelaar
33f4dd4b03 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.

--HG--
extra : rebase_source : f82939a6c4a5ff9e962ec4d312dd1db9211085cd
2015-03-21 15:07:06 -04:00
Botond Ballo
61cf0d4e08 Bug 1145702 - Make the assertion in Axis::GetOverscroll() more informative. r=Cwiiis
--HG--
extra : source : 9384f096b94ec51b5140699e60b26b611fa05fd2
2015-03-20 13:02:23 -04:00
Wes Kocher
14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
6273ddc7a4 Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Kartikaya Gupta
94a427eede Bug 1139469 - Guard against a null compositor loop during startup on B2G. r=botond 2015-03-20 15:28:04 -04:00
Trevor Saunders
9c7d57e2ae bug 1183967 - fixup correct case of mfidl.h 2015-03-20 15:18:26 -04:00
Ehsan Akhgari
883849ee32 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
6391804878 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
c50d182b8f Bug 1121072 - Always notify when layers cleared 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
c7ad8fb6d0 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
721fc1ab52 Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Mason Chang
e2d014a7bd Bug 1133527. Fallback to software vsync on android. r=kats 2015-03-20 08:12:53 -07:00
Dave Townsend
699c63e7d4 Bug 1144900: Fix windows gfx out of memory assertion. r=Bas
--HG--
extra : rebase_source : 1158df9324b3a1f30f7a446d7713ca17ad26a5fb
2015-03-19 10:42:27 -07:00
Alexandre Lissy
16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Wes Kocher
4b3c156f3b Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-19 19:31:35 -07:00
Michael Wu
f7b7e37f47 Bug 1120780 - Fallback on lock_ycbcr when ColorConvertor fails, r=sotaro 2015-03-20 10:25:12 +08:00
Jonathan Kew
cddb282cdf Bug 1142952 - Update OTS to latest upstream revision; now at e779d45e7a96d3b97ed3d2b76db7478cb86fdd8b. r=jdaggett 2015-03-19 11:11:30 +00:00
Nicolas Silva
baf17dd110 Bug 1143653 - Typo fix in a variable name. r=me 2015-03-19 12:07:28 +01:00
Kartikaya Gupta
83d084edc5 Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond 2015-03-19 06:54:34 -04:00
Kartikaya Gupta
ed6d55e8d9 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
4665c3c871 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
863fc4ce21 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
99454216d3 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
30cf8d06df 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
67c8f780b6 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Matt Woodrow
cfd81254b3 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
--HG--
extra : rebase_source : f42bec1f1f15eb9e825643df87f3f9285dcb7189
2015-03-19 10:16:23 +13:00
Matt Woodrow
a426242c6b Bug 1138967 - Part 1: Remove ISharedImage. r=nical
--HG--
extra : rebase_source : e8ddd7c6cd6d3bb76befb65fe32210ed65d22eeb
2015-03-19 10:15:38 +13:00
Mason Chang
0500dc0b4b Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07:00