Commit Graph

8535 Commits

Author SHA1 Message Date
Matt Woodrow
441ac6af40 Bug 923341 - Part 1: Add a gfxSurfaceDrawable constructor for a DrawTarget. r=seth 2013-11-13 17:31:12 +13:00
Ryan VanderMeulen
ea04b8851c Merge m-c to b2g-inbound on a CLOSED TREE. 2013-11-18 11:01:43 -05:00
Anthony Jones
94419545df Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Gijs Kruitbosch
c267cbe07d Merge mozilla-central and ux 2013-11-12 17:30:17 +01:00
Jonathan Kew
37ef36ed13 backout 739edf98ca0b (bug 909344) for reftest failure in layout/reftests/bugs/388367-1.html. 2013-11-12 10:13:10 +00:00
Gijs Kruitbosch
081b5f4b6b Merge mozilla-central and ux 2013-11-11 09:29:29 +01:00
Nicholas Cameron
4af005d21d Bug 934250. Ensure we have a buffer-on-white before using it (ThebesLayerBuffer). r=mattwoodrow 2013-11-11 10:30:51 +13:00
Jim Mathies
db084e1b8a Bug 918273 - Add an apzc tree manager helper for translating device to gecko coordinate space, and use it when sending events to the dom in cases where content is consuming touch. r=kats 2013-11-10 10:43:18 -06:00
Jim Mathies
1979aaa5df Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Kartikaya Gupta
8faaf0bf1e Bug 936721 - (cleanup) Refactor and extract an ApzcPinch function. r=botond 2013-11-10 09:48:12 -05:00
Kartikaya Gupta
ef8d5368f2 Bug 936721 - Do a fuzzy equality comparison to account for floating-point rounding errors. r=botond 2013-11-10 09:47:27 -05:00
Matthew Noorenberghe
c32c2b79c8 Merge mozilla-central to UX 2013-11-09 17:46:29 -08:00
Jared Wein
012d1115e2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-11-08 13:22:23 -05:00
Gijs Kruitbosch
af554675e2 Merge mozilla-central and ux 2013-11-07 19:21:54 +00:00
Gijs Kruitbosch
33559a812a Merge mozilla-central and ux 2013-11-07 08:53:59 +01:00
Benoit Girard
bd14e30e47 Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Wes Kocher
c3a9ac649b Merge m-c to inbound 2013-11-06 18:23:55 -08:00
Wes Kocher
2ae2400b0f Merge b2g-inbound to m-c 2013-11-06 18:20:55 -08:00
Wes Kocher
723c3d7877 Merge inbound to m-c 2013-11-06 18:10:46 -08:00
Benoit Girard
03845423d9 Bug 935701 - Get drawing recording working on b2g. r=bas
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Gijs Kruitbosch
5ac2fc613a merge m-c to ux 2013-11-06 22:25:39 +01:00
Ryan VanderMeulen
7cbe050b01 Merge m-c to b2g-inbound. 2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
32c62ef669 Merge inbound to m-c. 2013-11-06 14:24:58 -05:00
Sotaro Ikeda
12e4f4dba9 Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical 2013-11-06 12:32:12 -05:00
Gijs Kruitbosch
37ba637e69 Merge m-c to ux 2013-11-06 14:36:26 +01:00
Gijs Kruitbosch
c38e551bb3 Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Nicholas Nethercote
d8a3b0f0bb Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Matt Woodrow
8a016cc126 Bug 935297 - Part 5: Implement StreamToSink on CG. r=Bas,jrmuizel
--HG--
extra : rebase_source : 81c9ba1c486ef7892f400a18707cdb3440c534e7
2013-11-06 15:52:51 +13:00
Cameron McCormack
85cc506e69 Bug 934866 - Make nsFont::systemFont a bool. r=jdaggett 2013-11-06 10:15:59 +11:00
Gijs Kruitbosch
45cff6c424 Merge mozilla-central and ux 2013-11-05 20:14:58 +01:00
Matt Woodrow
c42d703d5e Backout c99d15a060e2 for causing windows Ru reftest failures. 2013-11-05 20:00:05 +13:00
Wes Kocher
367bda0c4e Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
e6aeda0671 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matt Woodrow
c46a2c2c8d Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas 2013-11-05 17:50:57 +13:00
Matt Woodrow
4471a645dc Bug 923434 - Don't use operator source for D2D in ThebesLayerBuffer since it's slower. r=Bas 2013-11-05 17:50:56 +13:00
Matt Woodrow
636d5e950e Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Wes Kocher
faf6d0ae9f Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
Benoit Girard
57a59ee820 Bug 930476 - Show paint markers for async frames. r=ehsan 2013-11-04 17:04:51 -05:00
David Zbarsky
c848a3f8c1 Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Matthew Noorenberghe
e8d8f80693 Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Gijs Kruitbosch
7dd501af50 Merge mozilla-central and ux 2013-11-04 14:15:00 +01:00
Andreas Gal
75a4efaf58 Bug 930451 - Part 3: Use the gradient cache for SVG gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
5a78770a61 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Jeff Muizelaar
2a66d6e9b2 Bug 929471. Make DrawTargetCG independent from QuartzSupport.mm. r=bgirard 2013-11-07 22:53:54 -05:00
Jeff Muizelaar
bb0dd83bc0 Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Kartikaya Gupta
dd5fcb7f5c Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond 2013-11-04 21:30:10 -05:00
Jonathan Kew
bf9b0664b1 bug 833087 - stop background font info loading when quit-application notification is observed. r=BenWa 2013-11-05 00:53:47 +00:00
Dan Glastonbury
607685cff8 Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.

OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Andreas Gal
5892a14663 Bug 934297 - Remove snapping support from Moz2D. r=mattwoodrow 2013-11-03 15:06:12 -08:00
Benoit Girard
ea410263fe Bug 935476 - Remove OpenGL printf on mac startup. r=nical 2013-11-06 08:04:12 -05:00
Ryan VanderMeulen
7eed90bd8f Merge m-c to b2g-inbound. 2013-11-04 16:32:13 -05:00
Botond Ballo
42c1f6350b Bug 932525 - Better naming for some transformation matrix variables. r=kats 2013-10-31 14:44:33 -04:00
Gijs Kruitbosch
6d27553ea9 Merge mozilla-central and ux 2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
2312eb362b Merge mozilla-central and ux 2013-11-02 11:33:53 +01:00
Mike Hommey
718ee10d1e Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps 2013-11-02 08:42:53 +09:00
Gijs Kruitbosch
98d35e6ed5 Merge mozilla-central and ux 2013-11-01 19:51:09 +01:00
Ed Morley
b0b384ebfc Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE 2013-11-01 15:51:32 +00:00
Gijs Kruitbosch
a13ed4741f Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jeff Muizelaar
0080d602b0 Bug 929471. Fix missing include for 10.9?
Also add a license header

--HG--
extra : rebase_source : ec01be0ed7a3b4b29cc9307f3a25f77512d27a95
2013-11-08 13:56:52 -05:00
Kartikaya Gupta
920d64e17b Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond 2013-11-08 13:56:31 -05:00
Ed Morley
621abb5de7 Backed out changeset 4bb843a74b5b (bug 893572) for test failures on a CLOSED TREE 2013-11-08 17:34:18 +00:00
Kartikaya Gupta
386e502056 Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
b2e18a1ffc Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond 2013-11-08 11:23:46 -05:00
Chris Lord
4724d61b50 Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa 2013-11-06 13:42:02 +00:00
Ryan VanderMeulen
b3ebc15f66 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Botond Ballo
1f7853ecd1 Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats 2013-10-30 15:58:25 -04:00
Kartikaya Gupta
843874866f Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Matt Brubeck
c8ae5cbe5d Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
This is necessary for our "cross-slide" hack to work.  We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.

In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Wes Kocher
3894db4b04 Merge m-c to inbound 2013-11-07 17:56:53 -08:00
Wes Kocher
ddbc05af1c Merge fx-team to m-c 2013-11-07 17:33:06 -08:00
Nicholas Cameron
54557b996d Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Matt Brubeck
490e7172a5 Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats] 2013-11-07 13:12:33 -08:00
Matt Brubeck
f4ba5a4319 Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats] 2013-11-07 13:11:34 -08:00
Matt Brubeck
d7a704d08f Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Bas Schouten
faba2230bb Bug 935994: Adjust strokestyle creation code. r=jrmuizel 2013-11-07 20:40:39 +01:00
Matt Woodrow
360b91b5b1 Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Benoit Jacob
2b3d64e4a0 Bug 914823 - Use a WeakPtr<ISurfaceAllocator> also in SharedSurface_Gralloc - r=sotaro 2013-10-31 11:25:54 -04:00
Chris Lord
e2045c9ef9 Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa 2013-10-31 15:53:51 +00:00
Jonathan Kew
19209162f6 bug 836225 - testcase for graphite with supplementary-plane characters. r=jdaggett 2013-10-29 14:04:01 +00:00
Jonathan Kew
c49dacf591 bug 894798 - disable word-cache expiration timer on release builds. r=roc 2013-10-29 14:02:36 +00:00
Kartikaya Gupta
189805593c Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Jonathan Watt
07be23ee25 Bug 932096 - Add a GetDrawTarget method to nsRenderingContext to aid in Moz2D conversion. r=Bas 2013-10-29 08:14:40 +00:00
Jonathan Watt
1ffa3026db Bug 931769, part 2 - Add IsSingular and operator*= methods to Matrix. r=Bas 2013-10-29 08:14:40 +00:00
Jonathan Watt
79e2d6518f Bug 931769, part 1 - Make gfxPattern::GetPattern use its mExtend member. r=Bas 2013-10-29 08:14:39 +00:00
Nicholas Nethercote
ca9a2f4f6f Bug 917496 - Disable GPUAdapterReporter because its values are frequently bogus. r=Hughman.
--HG--
extra : rebase_source : ae3bbbc142dfcf7101aaac94acc52e67e68e97fd
2013-11-05 14:01:24 -08:00
Nathan Froyd
a418387f4c Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
These includes are no longer needed.  It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
cabc180073 Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Ryan VanderMeulen
200939b5bc Merge m-c to inbound. 2013-11-06 14:59:07 -05:00
David Anderson
a7d34bdd35 Don't copy surfaces in DeprecatedTextureHostBasic::Lock (bug 935641, r=mattwoodrow).
--HG--
extra : rebase_source : e97318912cc295b6b1dc5027eba1690e42d24003
2013-11-06 11:55:58 -08:00
Milan Sreckovic
e29225b204 Bug 922600 - Avoid integer overflow. r=bjacob 2013-10-16 16:49:27 -04:00
Jeff Gilbert
41d78e5c50 Bug 922368 - Check for features instead of framebuffer_blit extensions. r=bjacob 2013-10-31 09:51:47 -04:00
Peter Chang
bd68421c8b Bug 915783 - [B2G][Browser][PDF]Graphical fragmentation occurs when viewing a pdf via browser. r=jgilbert 2013-10-30 15:21:22 -04:00
Ehsan Akhgari
ce2bb30fb7 Bug 936446 - Only define HasCPUIDBit on 32-bit platforms; r=jrmuizel
--HG--
extra : rebase_source : 0728a7247cbb23e34cd7c6d2bfa57c5359ccef63
2013-11-08 18:00:21 -05:00
Ed Morley
1c8e88368a Backed out changeset d9aa2d2a9939 (bug 931915) for failures linking on Windows on a CLOSED TREE 2013-11-01 14:35:22 +00:00
Ed Morley
e4a3dca788 Backed out changeset 9eeddb8dc383 (bug 931915) 2013-11-01 14:34:51 +00:00
Ed Morley
771acee8e3 Backed out changeset 0fdae4f78c1a (bug 931996) 2013-11-01 14:34:48 +00:00
James Willcox
37a537638d Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Peter Chang
01c98328c7 Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280 2013-11-07 09:20:58 -05:00
Benoit Jacob
877d71ca5f Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00