Commit Graph

15517 Commits

Author SHA1 Message Date
Nicolas Silva
fc316e7cae Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas 2015-11-18 16:59:11 +01:00
Nicolas Silva
e6f04f4af3 Bug 1219529 - Don't attempt to deallocate shmems after the ipdl protocol is shut down. r=sotaro 2015-11-18 16:59:06 +01:00
Chris Lord
de99c99d49 Bug 1222524 - Change behaviour of axis-lock with nested APZCs. r=botond 2015-11-17 14:01:06 +00:00
Nicholas Nethercote
81aa29c752 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Wes Kocher
f39e9198ef Backed out 2 changesets (bug 1225283) for Windows build bustage CLOSED TREE
Backed out changeset a2dc8e863533 (bug 1225283)
Backed out changeset 5f456b78cccc (bug 1225283)
2015-11-17 14:41:42 -08:00
Nicholas Nethercote
fe831e4a28 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-15 21:37:52 -08:00
David Anderson
7435fdb0bc Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel) 2015-11-17 13:40:38 -08:00
David Anderson
b7c3f43287 Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow) 2015-11-17 13:38:12 -08:00
Bas Schouten
d0817890b8 Bug 1225125 - Test: Check if we crash easily on a 0x0 clipped layer surface. r=jrmuizel 2015-11-17 18:38:46 +01:00
Bas Schouten
5a5232dc3d Bug 1225125: If all drawing is just clipped out anyway, just push a regular group, blending mode won't matter. r=jrmuizel 2015-11-17 16:27:17 +01:00
Carsten "Tomcat" Book
7ac6dfecb4 Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book
074e71d839 merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Sotaro Ikeda
36520c133b Bug 1144103 - Support screen recording r=mwu 2015-11-17 02:04:40 -08:00
John Daggett
c3c53352ea Bug 1163487 - sniff LANGUAGE when determining language for lang group. r=karlt 2015-11-17 11:39:58 +09:00
Kevin Wern
a16ec39b18 Bug 1199798 - Create tests for TreeTraversal.h r=botond
Move queue and stack includes outside of mozilla namespace.

Test the following for searches:
- Null root returns null.
- Needle is root returns root.
- No needle results in full traversal.
- Needle node in middle returns that needle, and stops traversing.

Test the following for ForEachNode:
- Null root still runs correctly.
- No skips results in traversal of entire tree.
- Root skip results in only changing the root.
- First skips are still included (whether leaf or parent).
2015-11-16 13:54:12 -05:00
Matt Woodrow
1d9e6da57b Bug 1219230 - Use the valid region for determining buffer size instead of the visible region. r=mstange 2015-11-17 11:36:38 +13:00
David Anderson
aa17819ba5 Remove CreateImage() from ImageContainer, ImageFactory, and ImageClient. (bug 1222910, r=roc) 2015-11-17 00:09:01 -08:00
David Anderson
2cadcf2890 Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson
3b2a1618b6 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
David Anderson
541d0e4d7d Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange) 2015-11-17 00:09:00 -08:00
David Anderson
0b4676f5e2 Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson
6f1947dc8d Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson
625f310506 Decouple D3D9SurfaceImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson
dc3cb48a73 Decouple D3D11ShareHandleImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson
f64d767dfe Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Wes Kocher
0a9980fbf6 Merge m-c to fx-team, a=merge 2015-11-16 17:28:26 -08:00
Botond Ballo
431411200a Bug 1208829 - Make FromUnknownRegion() actually work, and add ToUnknownRegion(). r=mstange 2015-11-09 20:42:37 -05:00
Luca Greco
efb6aaa214 Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm,jrmuizel 2015-11-11 07:08:00 +01:00
Nicholas Nethercote
2828d6ed1d Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
f665d5a170 Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
7cd70b33b4 Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.
2015-11-12 16:04:52 -08:00
Matt Woodrow
bb8cd0f0f6 Bug 1217012 - Use doubles when untransforming points since we need the extra precision. r=kip 2015-11-16 17:05:55 +13:00
John Daggett
5fe07c8458 Bug 1173260 - support multiple families for generics. r=heycam 2015-11-16 08:48:40 +09:00
John Daggett
b7175b8052 Bug 1167284 - implement localized name lookup for fontconfig font families. r=karlt 2015-11-16 08:48:36 +09:00
Nathan Froyd
3ce57b5162 Bug 1216644 - part 3 - make BufferRecycleBin store UniquePtrs; r=jrmuizel
Changing mRecycledBuffers to store UniquePtrs instead of nsAutoArrayPtrs
opens up the possibility of a reasonable facsimile of ownership in
function signatures.
2015-10-20 13:16:04 -04:00
Nathan Froyd
ccb2eeeffe Bug 1216644 - part 2 - make gfxFontEntry::mUVSData a UniquePtr; r=jrmuizel
This patch could have been in the last patch, but it felt like modifying
ReadCMAPTableFormat14 to accept a UniquePtr<> made the code clearer.
This change was therefore separated into its own patch for easier
review.
2015-10-20 12:12:41 -04:00
Nathan Froyd
d151c2d381 Bug 1216644 - part 1 - simple s/nsAutoArrayPtr/UniquePtr/ changes in gfx/; r=jrmuizel
This patch handles all the cases where we just want to swap out
nsAutoArrayPtr for UniquePtr and don't require code changes other than
updating uses that implicitly converted to T* to follow UniquePtr's
conventions.
2015-10-20 13:13:35 -04:00
Kartikaya Gupta
927782a371 Bug 1223296 - Clear element activation if a contextmenu is displayed. r=botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
272cd4b619 Bug 1223296 - Fire a Gesture:SingleTap message to browser.js even on the C++ APZ codepath. r=rbarker 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
8bbbaa5889 Bug 1223296 - Fire the MozMouseHittest event even if the C++ APZ is enabled. r=rbarker,botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
bc9d55c915 Bug 1223296 - Turn HandlePanStart into a more generic function that can be called from other places. r=botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
25606e7209 Bug 1214267 - Followup to fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow
DONTBUILD because this is a backout/reland to fix bug number.
2015-11-13 09:38:57 -05:00
Kartikaya Gupta
f5477527ef Back out cset 7529d41e6f1b for landing with an incorrect bug number. r=me 2015-11-13 09:37:53 -05:00
Kartikaya Gupta
12157246d6 Bug 1224209 - Fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow 2015-11-13 09:35:40 -05:00
Bas Schouten
4b52ebda80 Bug 1204922: When ResizeBuffers fails, make no attempt to do subsequent paints until it succeeds again. r=milan 2015-11-13 13:04:44 +01:00
Nicholas Nethercote
f384f42d29 Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats. 2015-11-12 05:44:43 -08:00
Nicholas Nethercote
15961fc6fb Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
This required adding {To,From}UnknownMargin().
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
0dd9ab6cb8 Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats. 2015-11-10 16:27:26 -08:00
Jeff Gilbert
09a5c6135d Bug 1209612 - Formalize client vs display EGL exts, and don't check client exts on ANDROID due to topcrash. - r=jrmuizel,snorp 2015-11-12 13:41:45 -08:00
Bas Schouten
9a6a757afb Bug 1221616: Use ID2D1CommandList instead of a bitmap for temporary D2D drawing. r=jrmuizel 2015-11-12 17:00:52 +01:00