Граф коммитов

6135 Коммитов

Автор SHA1 Сообщение Дата
Lee Salzman 97d3a0fc71 Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas
--HG--
extra : rebase_source : 199520a80f8d904f2034fa39d9640d271078a6ac
2015-07-02 08:02:51 -04:00
Sotaro Ikeda 813272f335 Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Kartikaya Gupta 247e9293b8 Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical 2015-03-31 08:50:14 -04:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Lynn Tran 6ee48e8466 Bug 1031443 - Allow panning in the pinching state even if zooming is
disabled;r=botond

--HG--
extra : source : f3199edbe30a04a93986ff6054d192e59b658482
2015-07-01 14:58:32 -04:00
Kevin Wern c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
Hamzata Diallo 3f61ec7708 Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07:00
Nishad P 5cfe77d6fb Bug 1178513 - Added RGBA8888 to RGB565 converter. r=mattwoodrow 2015-07-02 13:53:06 -07:00
Timothy Nikkel f24dd15190 Bug 1179298. ClientTiledPaintedLayer should allow empty transactions to succeed if it doesn't need to draw anything. r=mattwoodrow
ClientTiledPaintedLayer::RenderLayer was returning false immediately if there was no callback. It should check if it actually has to draw anything first, and then if it needs to paint it can return false if there is no callback.
2015-07-02 12:50:15 -05:00
Markus Stange 8b1e64ec34 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 17:32:19 -04:00
David Anderson c4f735d0c5 Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond
--HG--
extra : rebase_source : e44f7dbe49b343532b99704893dca879f1a69b4a
extra : source : 6234e37d912a054e8c07259c4dca19ce4c062055
2015-06-30 21:07:09 -04:00
David Anderson 55a0f8ee25 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Ted Mielczarek f35ad89891 bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert
--HG--
extra : commitid : 6STxf0t6Ms0
extra : rebase_source : f1ea5351f66c79ebc717cc32bae8934f651802a6
2015-05-11 15:10:06 -04:00
Nicolas Silva e4dff52f73 Bug 1170189 - fix a comment in the tiling code. r=BenWa 2015-07-01 13:51:07 +02:00
Nicolas Silva 820e9182e7 Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa 2015-07-01 13:51:03 +02:00
Nicolas Silva c23b8a3c64 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Markus Stange f1b62506d9 Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
Markus Stange 54a3beedc7 Bug 1148582 - Don't capture refcounted LayerManager in the lambda; capture the compositor instead. 2015-07-01 01:01:50 -04:00
Markus Stange 11f7503d75 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite.
--HG--
extra : amend_source : e0991ef9c01cf71ff7ebd5688a5403086d0b82e6
2015-07-01 00:52:09 -04:00
David Anderson eae17dff97 Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson c29b4c6dfa Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Lee Salzman 4142e9be13 Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow 2015-06-26 18:13:50 -04:00
Matt Woodrow 3d198b14d2 Bug 1176570 - Make sure all shared texture handles are opened correctly before attempting to use them. r=jrmuizel 2015-06-26 14:07:57 -07:00
Matt Woodrow 072df12846 Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas 2015-06-26 14:06:49 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Botond Ballo 09cd718536 Bug 1176402 - Obtain the DOMWindowUtils object consistently in the APZ testing native event helpers. r=kats
--HG--
extra : rebase_source : 859729b56dd92275073c6198652080f7cd4f0459
extra : source : bad28f570db5490f21a5b273d0a6767453a84786
2015-06-24 03:04:35 -04:00
Botond Ballo b1873b2c03 Bug 1176402 - Have synthesizeNativeWheel() and synthesizeNativeMouseMove() accept coordinates relative to the element's bounding rect. r=kats
--HG--
extra : rebase_source : afb4b0907581cc5c19f3b5c37706d2f72564fc8d
extra : source : 528722d4cab413b596e7c3ac9ef0c37722b825bd
2015-06-25 04:05:44 -04:00
Botond Ballo a36e9fc830 Bug 1176402 - Update a call to a function that has since been renamed. r=kats
--HG--
extra : rebase_source : a3de25acfb333b17c0a4dafee8c94578a27af825
extra : source : 14ab3fb059bd89081a6a0a18b997d5d6efc9dc73
2015-06-24 02:56:48 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Mason Chang af9e236e6e Bug 1176446 - TextureClientD3D11 should take into account the layer backend when allocating a surface. r=bas 2015-06-25 08:07:42 -07:00
Andrew Comminos b5ccccd933 Bug 1177233 - Convert to native scroll units for APZ testing on GTK. r=kats
--HG--
extra : rebase_source : c542d866487b67b558e9173cbe733cc39a9c4578
2015-06-24 16:38:00 +02:00
Kartikaya Gupta 5d7a94bba3 Bug 1177023 - Log the IsRootContent flag when dumping framemetrics. r=botond 2015-06-24 15:45:46 -07:00
Paul Rouget 642c1ce6d5 Bug 1175564 - don't lock y-axis if pan displacement is 0. r=kats 2015-06-19 08:37:00 +02:00
Jeff Muizelaar ba3f7d7a8d Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548 2015-06-21 23:16:13 -04:00
Markus Stange 8f3e1c59d9 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc
--HG--
extra : rebase_source : e044d64a50c6afff9e518cf53c51aa9658f3b41e
2015-06-15 19:20:59 -04:00
Kartikaya Gupta 783f686467 Bug 1153841 - Remove the 'it must be 2D' restriction for transforms on fixed-pos layers. r=BenWa,mattwoodrow 2015-06-19 22:57:37 -04:00
Kartikaya Gupta 08ead0c1ca Bug 1139155 - Add a basic sanity test to exercise touch-based scrolling on B2G. r=botond 2015-06-19 22:52:07 -04:00
Kartikaya Gupta 0584aa026d Bug 1139155 - Add a mechanism to know when the APZ is done processing. r=botond 2015-06-19 22:51:35 -04:00
Wes Kocher d0c7c545ac Backed out 2 changesets (bug 1175585) for test_wheel_transactions.html failures CLOSED TREE
Backed out changeset 5b56c3d0e379 (bug 1175585)
Backed out changeset 89b4c0b06ff3 (bug 1175585)

--HG--
extra : rebase_source : f25dd69111041d0d23e09c6a3bd70926c953fffd
2015-06-19 18:03:05 -07:00
Botond Ballo 5e87ffa029 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats,a=kwierso
--HG--
extra : source : 073002f5b079b460bb2e48836b619ada0b866b5b
extra : amend_source : dd21226b11be218ff5b73c1ae3a563660d999a69
2015-06-17 19:12:52 -04:00
Botond Ballo addfc3aace Bug 1175585 - Generalize scrollWheelOver() so it's usable by other APZ tests. r=kats
--HG--
extra : source : 59084db6f16271bc263bb9696e3168b81c9bdbfa
2015-06-17 19:11:25 -04:00
Kartikaya Gupta 1d81392d69 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Milan Sreckovic ffec6a9914 Bug 1145143 - When we fail to UpdateRenderTarget, report the size as well. r=bas 2015-06-18 12:20:00 +02:00
Bas Schouten a714824260 Bug 1172014: Correctly use TextureClientShmemDIB. r=jrmuizel 2015-06-19 01:59:30 +02:00
Bas Schouten 7a583fc688 Bug 1167235 - Part 6: Fix up HasInternalBuffer return value on TextureHostDirectUpload. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten c54230521e Bug 1167235 - Part 5: Make CanvasLayerComposite ImageHost type agnostic. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten 557df443d1 Bug 1167235 - Part 4: Remove DrawTarget as a possible means of initializing Canvas layers. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten 7801f65a75 Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten 4ed616c712 Bug 1167235 - Part 2: Add support for the basic buffer provider to CanvasLayer. r=nical 2015-06-19 01:07:21 +02:00