Commit Graph

15775 Commits

Author SHA1 Message Date
Milan Sreckovic
1b558a6248 Bug 1219494 - Part 4. gfx/layers and gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
4ef857b0cd Bug 1219494 - Part 3 gfx/gl with gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
f846c84cec Bug 1219494 - Part 2. gfx/2d and gfxCrash. r=milan
* * *
Bug 1219494: Part 3. gfx/thebes, gfx/src and gfxCrash
2015-11-26 08:38:00 +01:00
Kartikaya Gupta
a2ba6213c3 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.
2015-11-30 19:13:20 -05:00
Botond Ballo
9a94f1ce0c Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
2015-11-27 21:39:07 -05:00
Botond Ballo
45a288490b Bug 1231500 - Fix a typo in the APZ axis locking code where the lock angle is used when the breakout angle is intended to be used. r=kats 2015-12-09 15:23:22 -05:00
Kartikaya Gupta
3ca9535dc4 Bug 1231504 - Move some prefs from b2g.js to all.js. r=botond 2015-12-10 15:28:50 -05:00
Kartikaya Gupta
f15ce579ad Bug 1228602 - Ensure that we pick up the presShell resolution from the layer if there isn't a metrics. r=botond 2015-12-09 17:29:03 -05:00
Phil Ringnalda
9213e0e945 Back out 975af6bc574f (bug 1072501) for Win32 talos e10s bustage in g1, s, and tp
CLOSED TREE
2015-12-09 13:17:25 -08:00
Bas Schouten
1ba2baa738 Bug 1072501: Unmap file mapping on source surface destruction. r=jrmuizel 2015-12-01 16:41:08 +01:00
Kartikaya Gupta
5b3e29168b Bug 1231245 - Fix logging of Matrix4x4. r=botond 2015-12-09 11:03:21 -05:00
Kartikaya Gupta
80adc5fda6 Bug 1228407 - Update existing smooth scroll animations with new destinations when possible, rather than canceling and restarting them. r=kip 2015-12-09 10:13:35 -05:00
Kartikaya Gupta
f0f7ffabbb Bug 1228407 - Rearrange some code by extracting a helper function. r=botond 2015-12-09 10:13:35 -05:00
Jamie Nicol
809e288246 Bug 1221073 - Increase max tile size to 1024 again. r=mstange
Make the heuristic for the tile size aim for > 2 and <= 4 tiles per
screen width, but no larger than 1024. This increases the tile size back
up to 1024 on retina macbooks.
2015-12-08 21:42:43 +00:00
Kartikaya Gupta
98ad035dc5 Back out three patches from bug 1228407 on a CLOSED TREE for causing various mochitest failures. r=backout 2015-12-08 21:00:30 -05:00
Kartikaya Gupta
7891e4b101 Bug 1228407 - Update existing smooth scroll animations with new destinations when possible, rather than canceling and restarting them. r=kip 2015-12-08 14:56:26 -05:00
Kartikaya Gupta
a47abe7b61 Bug 1228407 - Rearrange some code by extracting a helper function. r=botond 2015-12-08 14:56:26 -05:00
Kartikaya Gupta
fde5111424 Bug 1231168 - Disable memory-based displayport size adjustment by default. r=mchang 2015-12-08 14:46:58 -05:00
Bogdan Postelnicu
7fd814367a Bug 1230929 - modified the logic in order to prvent null pointer dereference. r=jmuizelaar 2015-12-07 07:36:00 +01:00
Bogdan Postelnicu
b4b9b529dc Bug 1230149 - check bigImgIter to see if it's not null. r=jmuizelaar 2015-12-03 06:46:00 +01:00
Jonathan Kew
144c041365 Bug 1230497 - Ignore font fallback in Core Text shaping if it's just for a join-control character. r=jdaggett 2015-12-07 19:22:06 -05:00
Nicholas Nethercote
a83fab898e Bug 1229662 (part 3) - Remove AzureState::fillRule. r=jrmuizel.
AzureState::fillRule is never set to any value other than FILL_WINDING. It can
be removed. Note that TransformedCopyToBuilder() and CopyToBuilder()'s FillRule
arguments both default to FILL_WINDING.
2015-12-06 18:18:00 -08:00
Nicholas Nethercote
4ff95800ee Bug 1229662 (part 2) - Remove AzureState::parentTarget. r=jrmuizel. 2015-12-06 18:17:59 -08:00
Nicholas Nethercote
d7b78fdf52 Bug 1229662 (part 1) - Remove AzureState::clipWasReset. r=jrmuizel.
AzureState::clipWasReset is never set to any value other than false. It can be
removed.
2015-12-06 18:17:57 -08:00
Nicholas Nethercote
35f4997efb Bug 1230413 (part 3) - Remove unused gfxContext argument from SetSpaceGlyphIfSimple(). r=jfkthame. 2015-12-06 14:13:25 -08:00
Nicholas Nethercote
c837cea9e3 Bug 1230413 (part 2) - Change CallbackData::mContext to a DrawTarget. r=jfkthame.
Also remove CallbackData::mShaper, which is unused.
2015-12-06 14:13:19 -08:00
Nicholas Nethercote
b4513bb5c0 Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
2015-12-02 21:45:41 -08:00
Milan Sreckovic
18f560eb24 Bug 1200021 - Part 3: Add DrawTarget::IsValid and don't let Cairo version snapshot invalid surface. r=bas 2015-12-04 13:43:00 -05:00
Nick Fitzgerald
4c67f636ce Bug 1170325 - Convert js::Vector into a template alias to mozilla::Vector with a single customized default argument. Also get rid of the CRTP support in mozilla::Vector (through mozilla::VectorBase) now that template aliasing is good enough, and make mozilla::Vector final so that people will use composition and not inheritance with it. (Inheritance plays poorly with movability and a few other things, in addition to messing up template argument deduction matching.) r=Waldo, patch sort of a tag-team between him and me 2015-07-13 12:42:52 -07:00
Mason Chang
5a603a0067 Bug 1227216. Part 2: Fallback to blur destination rect if a large shadow offset occurs. r=mstange 2015-12-04 11:05:47 -08:00
Mason Chang
45a3296f0e Bug 1227216. Part 1: Only draw surface on inset box shadows if dest and src are equal sizes. r=mstange 2015-12-04 11:05:45 -08:00
Nicolas Silva
65f0364cdd Bug 1222123 - Warning fix in CompositorD3D11.cpp. r=Bas 2015-12-04 11:23:53 +01:00
Nicolas Silva
c76a8adec5 Bug 1229577 - Rename NewSurfaceDescriptorGralloc into SurfaceDescriptorGralloc. r=sotaro 2015-12-04 11:23:42 +01:00
Sotaro Ikeda
bc40dca60b Bug 1219210 - Add ITextureClientAllocationHelper and VENUS color handling r=nical,jolin 2015-12-04 02:13:49 -08:00
Chris Peterson
7f4c4d76a4 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Bas Schouten
94b02af319 Bug 1229533: Ensure our RenderingTargetView for the backbuffer and the backbuffer itself have no lingering references, and log if they do. r=milan 2015-12-04 04:20:29 +01:00
Nicholas Nethercote
ca0f34e019 Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond. 2015-12-02 14:32:55 -08:00
Jeff Muizelaar
3add85f0a5 Bug 1229152. Expose unsized GL_FLOAT formats required by GL_OES_texture_float
BUG=angleproject:1209
2015-12-03 16:40:51 -05:00
Jeff Muizelaar
bad50634d0 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Jan Beich
6263cbf48c Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Markus Stange
087822df0e Bug 1229125 - Reset velocity in OnPanEnd if there's nowhere to scroll. r=botond 2015-12-02 22:47:01 +01:00
Markus Stange
4e2f3b2573 Bug 1229125 - Correct velocity computation for pan gesture events. r=botond
When scrolling down, panInput.mLocalDisplacement.y will be positive, so
aAdditionalDelta will be positive, and newVelocity must be positive.
2015-12-01 15:13:34 +01:00
Jacek Caban
9fd7a64540 Bug 1225280 - mingw fixup. r=upstream 2015-12-03 11:38:24 +01:00
Jamie Nicol
1484bd6f60 Bug 1229780 - Remove TextureClientPool helper functions from ClientLayerManager, r=mwoodrow
The fix for bug 1209801 made it so that TextureClientPools are
distinguished by a TextureFlags parameter as well as a
SurfaceFormat. The pools will create TextureClients satisfying both the
requested flags and format parameters.

The helper functions ReturnTextureClientDeferred, ReturnTextureClient,
and ReportClientLost were updated to use the TextureFlags of the client
to guess which pool the client came from. It is possible, however, for a
TextureClient to have additional flags to those that the pool requested
it have. This could then cause the clients to be returned to incorrect
pools.

Fortunately these helper functions were not being used anywhere, so
remove them.
2015-12-02 15:04:36 +00:00
Botond Ballo
06a951aae6 Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage 2015-12-03 02:20:35 -05:00
Botond Ballo
6f51378a02 Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
2015-11-30 20:06:45 -05:00
Botond Ballo
ca9ef01c41 Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
Botond Ballo
34ea66cb43 Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.

No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
086ae9a5bb Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond. 2015-11-16 21:18:31 -08:00
Nicholas Nethercote
cbec00a8de Bug 1229237 (part 2) - Make nsIWidget::DrawWindowUnderlay() take a LayoutDeviceIntRect. r=botond. 2015-11-16 20:34:00 -08:00