Nicolas Silva
943fe8686e
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02:00
Nicolas Silva
94c7acf9ef
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nicolas Silva
71d9215e93
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Nicolas Silva
62fdc49f48
Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro
2015-10-13 18:48:48 +02:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
Carsten "Tomcat" Book
50fa932cc7
Backed out changeset 815c0c1d5619 (bug 1226175) for bustage on a CLOSED TREE
2015-11-20 08:03:13 +01:00
Lee Salzman
feea035806
Bug 1225250 - fix stride on SourceSurfaceSkia when initialized from GPU texture. r=jmuizelaar
2015-11-17 11:18:36 -05:00
Jonathan Kew
45133c48e8
Bug 1226175 - Update in-tree harfbuzz to release 1.1.0 to pick up Syriac Abbreviation Mark support ('stch' feature). r=jdaggett
2015-11-20 06:19:27 +00:00
Jonathan Kew
8bec41298a
Bug 1223002 - Always call ReleaseGrFace to balance GetGrFace, even if the face is null. r=jdaggett
2015-11-20 06:09:59 +00:00
John Daggett
15444a76a4
Bug 1119062 - enable unicode-range in release builds. r=dbaron
2015-11-20 14:46:47 +09:00
Phil Ringnalda
538ef0460d
Merge m-c to m-i
2015-11-19 21:08:34 -08:00
Phil Ringnalda
87802cdbad
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
John Daggett
dcfcd94766
Bug 1224965 p2 - tweak the handling of generic substitutions. r=karlt
2015-11-20 13:35:15 +09:00
John Daggett
fbf9fafe6b
Bug 1224965 p1 - add pref for max substitutions for generics under fontconfig. r=m_kato
2015-11-20 13:35:15 +09:00
Wes Kocher
f2a69ef549
Merge b2ginbound to central, a=merge
...
--HG--
extra : commitid : DJ1BP2VTWLm
2015-11-19 13:36:16 -08:00
Kartikaya Gupta
076e47d4c8
Bug 1223928 - Make the horizontal scrollbar on the root scrollable shift correctly with the dynamic toolbar. r=botond
...
--HG--
extra : commitid : I3ZChoVA8Gv
2015-11-19 09:55:21 -05:00
Jonathan Kew
5a7d1f3807
Bug 1223002 - Cherry-pick post-1.3.4 bugfixes for graphite2 from upstream. r=jdaggett
2015-11-19 13:33:17 +00:00
Chris Lord
f9e9f04ed8
Bug 1225761 - Clear axis lock in CancelAnimation and EndTouch. r=botond
2015-11-18 18:36:48 +00:00
Nicholas Nethercote
ce671f3678
Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
Carsten "Tomcat" Book
0bfff5e905
Merge mozilla-central to b2g-inbound
2015-11-19 15:27:02 +01:00
Thomas Zimmermann
7dac811b76
Bug 1225045: Fix stagefright include paths for ANDROID_VERSION >= 17, r=gps
2015-11-19 10:42:31 +01:00
Bas Schouten
6734f39bff
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
David Anderson
30e9c14eff
Null-check D3D10 devices in a few places. (bug 1225645, r=bas)
2015-11-19 15:04:46 -08:00
Botond Ballo
12bf0dcf48
Bug 1226320 - Fix a refactoring in APZCTreeManager that didn't preserve semantics correctly. r=kats
...
--HG--
extra : rebase_source : 978a5800996c54a14efcd18b6c8b76cec72fc3b2
2015-11-19 15:34:50 -05:00
Wes Kocher
f81fa4f5dd
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : J3K6n71ZaLB
2015-11-19 13:47:54 -08:00
Kearwood (Kip) Gilbert
6e9e6a6c87
Bug 1206072 - Don't call GetNextRenderTarget if CreateRenderTargetSet failed,r=vlad
...
- Prevent a crash in ContainerLayerComposite::ContainerRenderVR
that ocurred when VRHMDRenderingSupport::RenderTargetSet::CreateRenderTargetSet
returns null.
--HG--
extra : rebase_source : e5d3cc98575c2db43ac2a29cb0e8acf64996b932
2015-11-19 12:20:26 -08:00
Tom Klein
ca7b6331ec
Bug 1131264 - Extend the workaround for drawing D2D circles. r=bas
2015-11-19 13:57:32 -06:00
Kartikaya Gupta
b0cd3a3759
Bug 1223486 - Ensure WrapTexCoord returns 0.0 instead of 1.0 when given a negative whole number. r=Bas
...
--HG--
extra : commitid : 7tcI6zWCoyx
2015-11-19 10:49:31 -05:00
Carsten "Tomcat" Book
a22ff2640a
Merge mozilla-central to mozilla-inbound
2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book
1cf9b8b2ab
merge mozilla-inbound to mozilla-central a=merge
2015-11-17 12:26:16 +01:00
Sotaro Ikeda
88d1681a84
Bug 1144103 - Support screen recording r=mwu
2015-11-17 02:04:40 -08:00
John Daggett
fcabcac70e
Bug 1163487 - sniff LANGUAGE when determining language for lang group. r=karlt
2015-11-17 11:39:58 +09:00
Kevin Wern
02d8d69dc7
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).
--HG--
extra : source : 6d2572c274363c7544c4f96f0016fead098b157e
2015-11-16 13:54:12 -05:00
Matt Woodrow
caa70d1713
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
f542a9de1b
Remove CreateImage() from ImageContainer, ImageFactory, and ImageClient. (bug 1222910, r=roc)
2015-11-17 00:09:01 -08:00
David Anderson
8e086a182c
Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro)
2015-11-17 00:09:01 -08:00
David Anderson
27bfc27d62
Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow)
2015-11-17 00:09:01 -08:00
David Anderson
7970ac45fd
Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange)
2015-11-17 00:09:00 -08:00
David Anderson
ec187774dc
Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
David Anderson
cb88eed605
Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
David Anderson
c92530b253
Decouple D3D9SurfaceImage from ImageContainer. (bug 1222910, r=mattwoodrow)
2015-11-17 00:09:00 -08:00
David Anderson
2e1669f2fe
Decouple D3D11ShareHandleImage from ImageContainer. (bug 1222910, r=mattwoodrow)
2015-11-17 00:09:00 -08:00
David Anderson
7e9cf5355c
Decouple CairoImage from ImageContainer. (bug 1222910, r=roc)
2015-11-17 00:09:00 -08:00
Wes Kocher
c0ece6bf0d
Merge m-c to fx-team, a=merge
...
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Botond Ballo
0fd123dede
Bug 1208829 - Make FromUnknownRegion() actually work, and add ToUnknownRegion(). r=mstange
...
--HG--
extra : source : 5e6eeffb2c3c81c54df58d8c63b639f275b496c7
2015-11-09 20:42:37 -05:00
Luca Greco
b6dcf4514a
Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm,jrmuizel
2015-11-11 07:08:00 +01:00
Nicholas Nethercote
e48ef7f5e0
Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
...
--HG--
extra : rebase_source : 6364076d0924ed1cd5a952ffa1fcb0543c05c0f7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
7a746a27ea
Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats.
...
--HG--
extra : rebase_source : 912780c975c0bd0d66596b287077b0ab1fcb6d9f
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
369f54f3a3
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.
--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Matt Woodrow
545885b406
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
2402be3a35
Bug 1173260 - support multiple families for generics. r=heycam
2015-11-16 08:48:40 +09:00
John Daggett
d005a8f2b6
Bug 1167284 - implement localized name lookup for fontconfig font families. r=karlt
2015-11-16 08:48:36 +09:00
Nathan Froyd
6fae252680
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
3d5a31b8f3
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
634bee4a27
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
Phil Ringnalda
04f94361ed
Back out changeset 98bd7a8e4705 (bug 1225645) for Windows build bustage
...
CLOSED TREE
2015-11-18 18:48:14 -08:00
Randall Barker
47968a20fd
Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
...
--HG--
extra : commitid : Cihc6iEBezl
2015-11-18 19:32:37 -05:00
John Daggett
67aa034f9a
Bug 1214490 - fix-up system font name warning. r=mstange
2015-11-19 09:18:19 +09:00
David Anderson
ca5b902f03
Null-check D3D10 devices in a few places. (bug 1225645, r=bas)
2015-11-18 12:16:54 -08:00
David Anderson
6458429618
Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel)
...
--HG--
extra : rebase_source : 958d320e527c871b927f888598c00b95189faf0d
2015-11-18 12:13:40 -08:00
David Anderson
a461be8bed
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 3733dd6db625c9f93f34725d246b4efb6b63b191
2015-11-18 12:11:52 -08:00
Kartikaya Gupta
d46f3c8561
Bug 1225950 - Force a composite if we have requested one but haven't gotten a vsync in a while. r=mchang
...
--HG--
extra : commitid : 2PGqM7BZ1za
2015-11-18 18:49:58 -05:00
Kartikaya Gupta
c46a221da2
Bug 1225950 - Make mNeedsComposite a counter rather than a boolean. r=mchang
...
--HG--
extra : commitid : Gc6SpoPtYLm
2015-11-18 18:49:58 -05:00
Kartikaya Gupta
f2fbe0fce5
Bug 1225950 - Remove unnecessary parameter from SetNeedsComposite. r=mchang
...
--HG--
extra : commitid : LRFcG5vPtfq
2015-11-18 18:49:58 -05:00
Mason Chang
d7f814c9e2
Bug 1208636 - Adjust displayport size based on available system memory. r=kats
2015-11-18 15:48:19 -08:00
Kartikaya Gupta
3bdf2299bb
Bug 1225571 - Move the code to update the SPCSPS from repaint request handling to when the resolution is updated in the presShell. r=botond
...
--HG--
extra : commitid : JglAPUfEC3G
2015-11-18 13:53:14 -05:00
Nicolas Silva
eaa6383344
Bug 1224254 - Bustage fix on a CLOSED TREE
2015-11-18 19:22:02 +01:00
Tom Klein
df61b215e4
Bug 676001 - Fix for stroke hit testing on cairo. r=jrmuizel
...
The mochitest was mostly written by Jonathan Watt (bug 719385).
2015-11-18 11:20:02 -06:00
Nicolas Silva
578a8ccc95
Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas
2015-11-18 16:59:11 +01:00
Nicolas Silva
2265d9e4a8
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
592eed9711
Bug 1222524 - Change behaviour of axis-lock with nested APZCs. r=botond
2015-11-17 14:01:06 +00:00
Nicholas Nethercote
26b0d282a5
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
f4535ab455
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
eb12a384c0
Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
David Anderson
49d9ee1086
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
91684610bf
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
2015-11-17 13:38:12 -08:00
Bas Schouten
1d56bd9dc8
Bug 1225125 - Test: Check if we crash easily on a 0x0 clipped layer surface. r=jrmuizel
2015-11-17 18:38:46 +01:00
Kartikaya Gupta
93a999b964
Bug 1223296
- Clear element activation if a contextmenu is displayed. r=botond
...
--HG--
extra : commitid : ChrGznttoya
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
6b4995e92f
Bug 1223296
- Fire a Gesture:SingleTap message to browser.js even on the C++ APZ codepath. r=rbarker
...
--HG--
extra : commitid : GvuSYOt7CxQ
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
8b57a39a60
Bug 1223296
- Fire the MozMouseHittest event even if the C++ APZ is enabled. r=rbarker,botond
...
--HG--
extra : commitid : 7J4EjtaTGHs
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
0924e27ab0
Bug 1223296
- Turn HandlePanStart into a more generic function that can be called from other places. r=botond
...
--HG--
extra : commitid : Hc4gKPuqS4Z
2015-11-13 15:10:52 -05:00
Kartikaya Gupta
c33a15997e
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.
--HG--
extra : commitid : 9xTCi5XLFMS
2015-11-13 09:38:57 -05:00
Kartikaya Gupta
1ad49ed211
Back out cset 7529d41e6f1b for landing with an incorrect bug number. r=me
...
--HG--
extra : commitid : AAxGLc2g3Zv
2015-11-13 09:37:53 -05:00
Kartikaya Gupta
2a5aedcbea
Bug 1224209 - Fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow
...
--HG--
extra : commitid : 2Hz8MreXYr6
2015-11-13 09:35:40 -05:00
Bas Schouten
1106ab221f
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
d5fcd40f2f
Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats.
...
--HG--
extra : rebase_source : 5f07908c287af3e6e272047a72837641a4d6824e
2015-11-12 05:44:43 -08:00
Nicholas Nethercote
e2fe66176b
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
ff5231e6d2
Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
...
--HG--
extra : rebase_source : a0ae2779dfd9bc10730c8b38bc082453845daa1f
2015-11-10 16:27:26 -08:00
Jeff Gilbert
0889900785
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
7f79cf9b7a
Bug 1221616: Use ID2D1CommandList instead of a bitmap for temporary D2D drawing. r=jrmuizel
2015-11-12 17:00:52 +01:00
Heiher
941d76c43e
Bug 1222298 - GFX: 2D: Make convolverLS3 more like upstream. r=seth
...
---
gfx/2d/convolverLS3.cpp | 62 +++++++++++++++++++++++++------------------------
gfx/2d/convolverLS3.h | 4 +---
2 files changed, 33 insertions(+), 33 deletions(-)
2015-11-12 19:43:17 +08:00
Nicholas Nethercote
489c83b1dd
Bug 1223690 - Remove implicit Rect conversions. r=jrmuizel.
...
gfxRect can be implicitly constructed from IntRect, which hides a number of
implicit conversion points, makes Moz2Dification harder, and has some
surprising effects.
This patch removes the implicit constructor and replaces it with an explicit
conversion function:
gfxRect ThebesRect(const IntRect&)
This is the obvious outcome of removing the constructor.
But there is also a second, less obvious outcome: currently we do a number of
IntRect-to-Rect conversions using ToRect(), which (surprisingly) works because
it turns into an implicit IntRect-to-gfxRect conversion (via the implicit
constructor) combined with an explicit gfxRect-to-Rect conversion (via
ToRect()). I.e. we do two conversions, going from a Moz2D type to a Thebes
type and back to a Moz2D type!
So this patch also changes these conversion. It moves this existing function:
Rect ToRect(const IntRect&)
from gfx2DGlue.h -- where it doesn't really belong because it doesn't involve
any Thebes types -- to gfx/2d/Rect.h, templatifying and renaming it as
IntRectToRect() in the process.
The rest of the patch deals with fall-out from these changes. The call sites
change as follows:
- IntRect-to-gfxRect conversions:
- old: implicit
- new: ThebesRect()
- IntRect-to-Rect conversions:
- old: ToRect()
- new: IntRectToRect()
--HG--
extra : rebase_source : e4e4c2ad10b36ecad4d57d1630158f3374e403be
2015-11-11 14:23:14 -08:00
Botond Ballo
1d2e065137
Bug 1224021 - Support fractional async scroll offsets in the reftest harness. r=tn
...
--HG--
extra : source : 8ac574ef7d45931a281dc33d47d94ea15daf1f59
extra : amend_source : 4ae093283f5b68b6630b5497d387096e27a02b4b
2015-11-11 19:10:23 -05:00
Timothy Nikkel
2dbd0146a5
Bug 1223639. Rename ForceInside to MoveInsideAndClamp so it's clearer what it does. r=botond
...
This has led to confusion at least twice.
2015-11-11 16:38:25 -06:00
Botond Ballo
a224f7b777
Bug 1222661 - Replace ToUnknown(obj) and FromUnknown(obj) with obj.ToUnknown*() and FromUnknown*(obj). r=nical
...
--HG--
extra : rebase_source : db0f7cfb9ce17492e9d13ee2681e98767ae861a6
extra : source : 2265b5592e39033d22d902d44ba73cba719b8cd0
2015-11-09 17:49:46 -05:00
Botond Ballo
6a70e1aa18
Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical
...
--HG--
extra : rebase_source : c1afe8560b838e1a3be0ce50847861b1815d3dc9
extra : source : d649f163c825736efaf3ac3ad73040beeb48a6ef
2015-11-09 18:22:25 -05:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Bas Schouten
b38ab6a38f
Bug 1210560 - Followup 3: Fix an assertion that can occur on mochitest bc4. r=jrmuizel on a CLOSED TREE
2015-11-11 21:56:59 +01:00
Benoit Girard
f167bfd6b8
Bug 1223540 - Add a pref for CGL's multithreaded mode (EMPEngine). r=jrmuizel
...
--HG--
extra : commitid : AGxBynhmllr
extra : rebase_source : 744bf8e02589cc919eb41471979f69d10683716f
2015-11-10 16:14:24 -05:00
Kartikaya Gupta
8531f6e36c
Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
...
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00