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

45 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 0f3b97ed9c When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm) 2017-04-03 15:13:37 -07:00
Kartikaya Gupta 0fee7584e7 Merge m-c to graphics
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
sotaro cc4d383fff Bug 1347811 - Share WebRenderCompositableHolder between WebRenderBridgeParent r=nical 2017-03-22 10:27:38 +09:00
Kartikaya Gupta a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
sotaro 1d710a54ef Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
Kartikaya Gupta cc2056e901 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40

--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
sotaro 712d4c80f9 Bug 1342754 - Make WebRenderBridgeChild::mIdNamespace unique r=jrmuizel 2017-02-27 12:16:11 +09:00
sotaro d489fa0451 Bug 1342380 - Enable VsyncScheduler again r=kats 2017-02-27 09:27:04 +09:00
sotaro 0d90fdd46a Bug 1341524 - Fix NotifyDidComposite() and WebRender epoch r=nical 2017-02-24 12:22:59 +09:00
Jeff Muizelaar 6296f9be71 Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
Kartikaya Gupta b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
peter chang be4bd90f39 Bug 1337889 - use CompositorAnimationsId to query Opacity/Transform animation, r=hiro,kats
MozReview-Commit-ID: 3s1kzOQAfrd

--HG--
extra : rebase_source : eb6ff70179b6460c8405c738b65051e2b303af90
2017-02-09 17:30:11 -05:00
JerryShih 96c10ce0b6 Bug 1338274 - remove the codes with MOZ_USE_RENDER_THREAD condition. r=nical
MozReview-Commit-ID: 5Jij2RRk86X
2017-02-10 10:16:47 -05:00
Kartikaya Gupta 16ff67be84 Bug 1332249 - Follow-up to fix non-unified build bustage. r=bustage
MozReview-Commit-ID: 2Hcwug2bFDr
2017-02-01 10:59:12 -05:00
Kartikaya Gupta 1c269ab364 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Kartikaya Gupta ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
sotaro 9d4636027c Bug 1332249 - Add WebRenderCompositableHolder for WebRenderAPI r=nical? 2017-01-20 11:00:17 +09:00
Nicolas Silva ee383fa898 Bug 1328602 - Make it possible to enable the work-in-progress render thread code using MOZ_USE_RENDER_THREAD and ugly branching, hopefully temporarily. r=gfx? 2017-01-18 18:46:21 -05:00
Nicolas Silva 795ddcbcc7 Bug 1331515 - Replace the usage of some of the WebRender ffi types by their strongly typed equivalents. r=gfx? 2017-01-17 15:13:41 -05:00
Nicolas Silva d8d26d90cf Bug 1331515 - More WR to Wr prefix conversion. r=gfx? 2017-01-17 10:17:38 -05:00
Ryan Hunt 04951a435e Merge m-c to graphics 2017-01-13 10:14:22 -06:00
David Anderson bcf2e3966b Use a simpler mechanism for tracking which ref layers need device resets. (bug 1333329 part 1, r=rhunt)
--HG--
extra : rebase_source : aa50c6c250b4815cd22b8616546acd6c55aa72ce
2017-01-24 11:23:11 -08:00
Kartikaya Gupta 619cad37b5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z

--HG--
extra : rebase_source : 4d340257394d1d641a208a83e93f84e1d24f9056
2017-01-12 17:29:41 -05:00
Kartikaya Gupta 7d2382b3c3 Merge m-c to graphics
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00
David Anderson 9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Kartikaya Gupta 620e0a72d2 Bug 900745 - Remove bogus fallback codepath. r=mattwoodrow
MozReview-Commit-ID: GnGZFFRRTgE

--HG--
extra : rebase_source : 1e07e495cfb00caca340fa3c94d1f7d24844b390
2017-01-28 09:06:31 -05:00
sotaro c93351af96 Bug 1320864 - Add DidComposite handling r=nical 2016-12-01 13:36:41 +09:00
sotaro f8cd0915ea Bug 1320628 - Fix background tab crash when e10s is enabled r=nical? 2016-11-30 11:59:14 +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 a450a2754f Bug 1317935 - Use GetCompositeUntilTime() to trigger next composition r=nical? 2016-11-24 15:48:01 +09: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
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
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 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
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
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
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
Bas Schouten 56b7dd703d Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00