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

2415 Коммитов

Автор SHA1 Сообщение Дата
sotaro 7279a0ba4e Bug 1320009 - Fix build failure r=nical? 2016-11-29 12:03:06 +09:00
Morris Tseng 1ea8752292 Merge mozilla-central to graphics. 2016-11-28 10:46:02 +08:00
sotaro 753708476e Bug 1318113 - Use BufferTexture to return the reftest snapshot r=nical? 2016-11-28 11:39:42 +09:00
sotaro 0a3554cf97 Bug 1320277 - Add WebRenderBridgeParent::Destroy() r=nical 2016-11-28 10:21:33 +09:00
sotaro 9964d31d24 Bug 1320023 - Make WebRenderBridgeChild destroy simiar to LayerTransactionChild r=nical 2016-11-25 10:36:37 +09:00
sotaro e2dab49ad9 Bug 1320009 - Add more clean up to CompositorBridgeParent::StopAndClearResources() r=nical 2016-11-25 10:18:27 +09:00
sotaro a450a2754f Bug 1317935 - Use GetCompositeUntilTime() to trigger next composition r=nical? 2016-11-24 15:48:01 +09:00
Morris Tseng 2deb064663 Backed out changeset 2622d62d1f08 2016-11-24 10:55:16 +08:00
Kartikaya Gupta 471d8b1c37 Bug 1319521 - Properly tear down the LayerTreeState for content. r=gfx?
We were never actually removing the LayerTreeState entry for content layer trees.
In non-webrender codepaths, this happens when a PLayerTransaction belonging to
a CrossProcessCompositorBridge is torn down (see CrossProcessCompositorBridge::
DeallocPLayerTransactionParent). The equivalent of that in the webrender world
is in DeallocPWebRenderBridgeParent, so we should do the same.
2016-11-23 10:46:46 -05:00
Morris Tseng 094e75bdee Bug 1319646 - Add a preference to enable/disable webrender profiler. r=jrmuizel?
MozReview-Commit-ID: 31349AWgDr9
2016-11-23 11:40:00 +08:00
sotaro 81b6df55cb Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats 2016-11-22 11:56:38 +09:00
Kartikaya Gupta d654e9aa16 Merge m-c to graphics
MozReview-Commit-ID: HlYQkwnswIh

--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
rename : layout/style/test/test_flexbox_min_size_auto.html => layout/style/test/test_computed_style_min_size_auto.html
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
rename : testing/marionette/components/marionettecomponent.js => testing/marionette/components/marionette.js
rename : testing/web-platform/tests/XMLHttpRequest/event-upload-progress-crossorigin.sub.htm => testing/web-platform/tests/XMLHttpRequest/event-upload-progress-crossorigin.htm
rename : testing/web-platform/tests/XMLHttpRequest/send-non-same-origin.sub.htm => testing/web-platform/tests/XMLHttpRequest/send-non-same-origin.htm
rename : testing/web-platform/tests/html/browsers/history/the-location-interface/security_location_0.sub.htm => testing/web-platform/tests/html/browsers/history/the-location-interface/security_location_0.htm
rename : testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.sub.html => testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.html
rename : testing/web-platform/tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html => testing/web-platform/tests/html/browsers/windows/nested-browsing-contexts/frameElement.html
rename : testing/web-platform/tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html => testing/web-platform/tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.html
rename : testing/web-platform/tests/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html => testing/web-platform/tests/html/dom/documents/dom-tree-accessors/Document.currentScript.html
rename : testing/web-platform/tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html => testing/web-platform/tests/html/semantics/document-metadata/the-base-element/base_href_specified.html
rename : toolkit/components/places/tests/cpp/mock_Link.h => toolkit/components/places/tests/gtest/mock_Link.h
rename : toolkit/components/places/tests/cpp/moz.build => toolkit/components/places/tests/gtest/moz.build
rename : toolkit/components/places/tests/cpp/places_test_harness.h => toolkit/components/places/tests/gtest/places_test_harness.h
rename : toolkit/components/places/tests/cpp/places_test_harness_tail.h => toolkit/components/places/tests/gtest/places_test_harness_tail.h
rename : toolkit/components/places/tests/cpp/test_IHistory.cpp => toolkit/components/places/tests/gtest/test_IHistory.cpp
rename : browser/themes/shared/filters.svg => toolkit/themes/shared/filters.svg
rename : browser/themes/shared/downloads/menubutton-dropmarker.svg => toolkit/themes/shared/icons/menubutton-dropmarker.svg
extra : amend_source : b446cd55619aa09f6d48941ab201fb796738d217
2016-11-21 10:24:00 -05:00
Mason Chang 5919ed4c3b Bug 1318100 - Add support for reftests in webrender. r=mstange 2016-11-18 16:10:53 -08:00
Morris Tseng c258b15697 Bug 1316223 - Moving binding to separate folder. r=jrmuizel,kats
MozReview-Commit-ID: FLqSGebdGcH

--HG--
rename : gfx/webrender/src/bindings.rs => gfx/webrender_bindings/src/bindings.rs
rename : gfx/webrender/webrender.h => gfx/webrender_bindings/src/webrender.h
2016-11-18 13:02:05 -05:00
Kartikaya Gupta ec0c858f75 Merge m-c to graphics
MozReview-Commit-ID: LrF5oQpIOhC

--HG--
rename : browser/components/extensions/test/browser/browser.ini => browser/components/extensions/test/browser/browser-common.ini
rename : browser/components/extensions/test/browser/browser.ini => browser/components/extensions/test/browser/browser-remote.ini
rename : browser/components/extensions/test/browser/browser_ext_browserAction_popup.js => browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js
rename : devtools/client/framework/test/browser_toolbox_dynamic_registration.js => devtools/client/framework/test/browser_toolbox_tools_per_toolbox_registration.js
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
rename : media/webrtc/signaling/test/jsep_session_unittest.cpp => media/webrtc/signaling/gtest/jsep_session_unittest.cpp
rename : media/webrtc/signaling/test/jsep_track_unittest.cpp => media/webrtc/signaling/gtest/jsep_track_unittest.cpp
rename : testing/marionette/harness/marionette/tests/unit/test_using_prefs.py => testing/marionette/harness/marionette/tests/unit/test_prefs.py
rename : toolkit/components/extensions/test/mochitest/mochitest.ini => toolkit/components/extensions/test/mochitest/mochitest-common.ini
extra : amend_source : 4635b1092a976c4f3b12de84b03aedb349698cb2
2016-11-18 11:39:22 -05:00
JerryShih 8239a1e927 Bug 1318066 - Revert the changes for packing the webrender shaders. r=kats?
Revert "Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?"
This reverts commit 6aeb295d19b80c368cb3a31a096ac76b745797df

Revert "Bug 1318066 - Ensure webrender resources are bundled into the Firefox installation. r=jrmuizel?"
This reverts commit fdfd418626ad2bedc33a6bd813a3472617a9b1e3

MozReview-Commit-ID: FXSAXK5qsmr
2016-11-18 21:56:47 +08:00
JerryShih 35d674dd12 Backed out changeset b1542ac3fc70 (bug 1317893)
Hit assert at:
https://hg.mozilla.org/projects/graphics/annotate/b1542ac3fc70/gfx/layers/ipc/CompositorVsyncScheduler.cpp#l85

MozReview-Commit-ID: 612HYIXMgE2
2016-11-18 21:56:47 +08:00
Sotaro Ikeda 133e28473a Bug 1317893 - Split CompositorVsyncScheduler to own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
2016-11-18 02:37:04 -08:00
sotaro 295316b6f9 Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
2016-11-18 17:34:25 +09:00
Morris Tseng 0afb45f905 Bug 1316903 - Merged many webrender commands to single transaction. r=kats
MozReview-Commit-ID: 4iOxYJ6x4ZL
2016-11-18 16:07:02 +08:00
Kartikaya Gupta 77565d2492 Merge m-c to graphics
MozReview-Commit-ID: 5qSWNo7gKJK
2016-11-17 10:13:36 -05:00
sotaro 7b82075a9e Bug 1312316 - Add stubbed WebRenderCompositorOGL r=nical 2016-11-17 18:02:56 +09:00
Kartikaya Gupta df4c374ed9 Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?
MozReview-Commit-ID: JSatfZmk6Fh
2016-11-16 13:54:13 -05:00
Mozilla Graphics Team e82d29b96e Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.

MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Matt Woodrow 71a5f6f9cb Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
--HG--
extra : rebase_source : a8db3fa549dada3925ad3b9c7ab81f4aaa280ffa
2016-11-24 18:11:31 +13:00
Matt Woodrow 1985af695f Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
--HG--
extra : rebase_source : de87afc8015649fb5f4a7c4da5f4dc49e19f3d85
2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book bd8c3fad15 Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : cc55092faa1331377fa988014566b0df8227ea0f
2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book 831c1e052a Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Carsten "Tomcat" Book 6b19be2eab Backed out changeset f4f8dc2931aa (bug 1319626) 2016-11-24 17:02:22 +01:00
Matt Woodrow 3f4d5385f0 Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange 2016-11-24 18:11:31 +13:00
Matt Woodrow 15af88120a Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow b6a9ac8a28 Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten 56b7dd703d Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Nicolas Silva 36605f9e7b Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Kartikaya Gupta a1f0344c9b Bug 1319508 - Ensure that we don't leave dangling pointers to CompositorBridgeParent in LayerTreeState instances. r=dvander
MozReview-Commit-ID: 3dxZ35uIQu

--HG--
extra : rebase_source : ea4f5a11c6f5bcbcee0c0d8d751ba7289bbf61c9
2016-11-22 14:38:37 -05:00
David Anderson 2c5e03e62e Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
Sotaro Ikeda d513b931e0 Bug 1318780 - Split CompositorVsyncScheduleOwner to its own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
2016-11-20 17:14:32 -08:00
Ryan Hunt b77ddc9712 Bug 1318045 - Remove unused includes in CrossProcessCompositorBridgeParent r=bas
--HG--
extra : rebase_source : 9901759d587c3c837345dac582439c5cb3f8e723
2016-11-18 12:16:37 -06:00
Ryan Hunt 37985533cd Bug 1318045 - Fix unified build errors from moving CrossProcessCompositorBridgeParent r=bas
--HG--
extra : rebase_source : 8198c950bfba23980361ba4d45e46bda42c253f5
2016-11-18 12:12:25 -06:00
Matt Woodrow 77e78d9558 Bug 1316221 - Force VideoBridge shutdown to happen before the compositor thread is destroyed. r=dvander 2016-11-11 15:02:32 +13:00
Matt Woodrow 808b23cf14 Bug 1316221 - Make sure we call Close on VideoBridgeChild before shutting down. r=dvander 2016-11-11 15:01:36 +13:00
Ryan Hunt f72009a953 Bug 1316479 - Move CrossProcessCompositorBridgeParent to its own file. r=dvander
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.h
extra : rebase_source : 4c05587e311d2e6ecd49e8831abdb647967971e7
2016-11-10 12:05:06 -06:00
David Anderson 0d0c688b90 Add missing CompositableClient::IsConnected checks to ShadowLayers. (bug 1316419, r=mattwoodrow) 2016-11-09 18:26:48 -08:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Wes Kocher 0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Matt Woodrow 1d5209319c Bug 1315584 - Remove picture rect assertion in LayerTransactionParent since it can fail if the texture isn't available. r=dvander 2016-11-08 15:26:42 +13:00
Matt Woodrow 5b78e0fd3c Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander 2016-11-08 15:24:36 +13:00