Kartikaya Gupta
7259e787f4
Merge m-c to graphics
...
MozReview-Commit-ID: 9XwZUWIhGir
2017-05-02 09:45:11 -04:00
Jeff Muizelaar
8c32ac0090
Bug 1360001. Add WebRenderPaintedLayerBlob for painting with BlobImages. r=kats
...
This is a bit of a rough implementation but it works
enough to start.
2017-05-01 21:58:52 -04:00
Kartikaya Gupta
1dd42d38a4
Bug 1359842 - Add a StackingContextHelper to reduce duplicated code. r=nical
...
This class is a RAII class that can be used to push a stacking context
with properties from a WebRenderLayer. It can also then be used to
convert rects in the layer coordinate system to be relative to the
stacking context, which is what we want for passing to WR.
MozReview-Commit-ID: 1WVrfRYqLqc
2017-04-27 12:04:25 -04:00
Kartikaya Gupta
6e24ccd51b
Bug 1359748 - Extract a WebRenderLayer.{h,cpp} from WebRenderLayerManager.{h,cpp}. r=jrmuizel
...
Other than moving the code into new files, this just cleans up includes
in the modified and dependent files.
MozReview-Commit-ID: JpJ8rwOkfOO
2017-04-27 11:28:31 -04:00
Kartikaya Gupta
2e1380aecf
Merge m-c to graphics
...
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Kartikaya Gupta
d7dac71f73
Bug 1357754 - Add WebRenderScrollDataWrapper. r=botond
...
This adds the WebRenderScrollDataWrapper class which is
template-compatible with LayerMetricsWrapper. While the
LayerMetricsWrapper operates on an underlying layer tree, the
WebRenderScrollDataWrapper will simulate a layer tree based on an
underlying WebRenderScrollData object. The class is stubbed out here,
functions will be implemented in subsequent patches.
MozReview-Commit-ID: 9exnFRI6tOW
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
070cc4b9a7
Bug 1357754 - Add a mechanism to send scroll data to APZ over PWebRenderBridge. r=jrmuizel
...
This adds a WebRenderScrollData class (which contains a list of
WebRenderLayerScrollData objects, among other things), and adds it to
the DPEnd/DPSyncEnd messages sent across PWebRenderBridge. These classes are
skeletons for now (more stuff will be added to them in future patches).
MozReview-Commit-ID: 9duxwlUpdu7
2017-04-20 10:38:04 -04:00
Ethan Lin
0e0ea44db7
Bug 1349500 - Add webrender support for BulletFrame path type. r=mchang
2017-04-18 14:26:41 +08:00
David Anderson
ce7cc32129
Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
...
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.
We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.
Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.
Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.
--HG--
extra : rebase_source : 448a162998921974575a1a988bcfde52c959d3ed
2017-04-10 19:44:46 -07:00
David Anderson
a8433cef6b
Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : f30dc11079add3f1019777b1c85cc5c5a5f0596b
2017-04-10 19:44:45 -07:00
Randall Barker
a606cd8b60
Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
...
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.
MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
JerryShih
b0ffca2f70
Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
...
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
--HG--
rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
2017-03-31 22:29:14 +08:00
Kartikaya Gupta
9608ac4946
Merge m-c to graphics
...
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Mason Chang
516a3654f4
Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin
2017-03-11 10:04:26 -08:00
Kartikaya Gupta
8f54e2114e
Merge m-c to graphics
...
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Mason Chang
2289ed06ba
Bug 1343979 - Add webrender support for ButtonBorderBackground. r=ethlin
2017-03-08 08:31:46 -08:00
sotaro
1d710a54ef
Bug 1343764 - Add ExternalBuffer handling r=nical
2017-03-07 19:37:28 +09:00
David Anderson
990418f338
Remove the Direct3D9 compositor. (bug 1318558 part 2, r=mattwoodrow)
2017-03-08 00:17:36 -08:00
David Anderson
4d00ab76d4
Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
2017-03-21 20:32:53 -07:00
Kartikaya Gupta
1f59561281
Bug 1339220 - Add telemetry probes to measure duration and max-area of animations in the compositor. r=botond,bsmedberg
...
MozReview-Commit-ID: KyvsNSTcxG8
--HG--
extra : rebase_source : 18626f70b714b5bfc815c16422b04258be03e02b
2017-02-16 14:40:37 -05:00
David Anderson
dab415165b
Store DeviceAttachmentsD3D11 on DeviceManagerDx instead of ID3D11Device. (bug 1360766
part 2, r=bas)
2017-04-30 11:38:59 -07:00
David Anderson
f4c403f3f3
Separate DeviceAttachmentsD3D11 into its own header and source file. (bug 1360766
part 1, r=bas)
2017-04-30 11:38:58 -07:00
Randell Jesup
8ad25a673c
Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
...
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
Kartikaya Gupta
f62b8b3b3f
Merge m-c to graphics
...
MozReview-Commit-ID: IN2hMCjMHLL
--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides.js => browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
rename : browser/themes/shared/devedition/urlbar-history-dropmarker.svg => browser/themes/shared/compacttheme/urlbar-history-dropmarker.svg
rename : config/tests/makefiles/autodeps/check_mkdir.tpy => config/tests/makefiles/autodeps/check_mkdir.py
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
rename : dom/tests/mochitest/general/test_interfaces.html => dom/tests/mochitest/general/test_interfaces.js
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator.js
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002-ref.xht => layout/reftests/bugs/1313772-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht => layout/reftests/bugs/1313772.xhtml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex-manual.html
rename : testing/web-platform/tests/preload/link_header_preload_delay_onload.html.headers => testing/web-platform/tests/preload/link-header-preload-delay-onload.html.headers
rename : testing/web-platform/tests/preload/link_header_preload.html.headers => testing/web-platform/tests/preload/link-header-preload.html.headers
rename : services/sync/tests/unit/test_extension_storage_crypto.js => toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_crypto.js
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
extra : amend_source : 7411c39541f0b530b4b94cf359dc73e385abea4d
2017-02-17 23:33:24 -05:00
Mason Chang
0b59f5711a
Bug 1339661 - Create box shadow outer webrender display item. r=jmuizelaar
2017-02-16 10:23:22 -08:00
sotaro
e4ed208ec0
Bug 1339323 - Remove WebRenderCompositorOGL r=nical
2017-02-16 11:46:31 +09:00
Mason Chang
f9c6425844
Bug 1337130. Add a WebRenderDisplayItemLayer. r=mattwoodrow
2017-02-14 15:06:50 -08:00
Mason Chang
ef3d9a921c
Bug 1337130 - Create a DisplayItemLayer type. r=mattwoodrow
2017-02-14 13:49:27 -08:00
sotaro
7594d5974f
Bug 1336021 - Add WebRenderImageHost r=nical
2017-02-08 21:50:16 +09:00
Ryan Hunt
5e2990dc18
Merge m-c to graphics
2017-02-07 09:05:18 +00:00
sotaro
21e27083d4
Bug 1336024 - Split Image selection logic from ImageHost r=nical
...
--HG--
rename : gfx/layers/composite/ImageHost.cpp => gfx/layers/composite/ImageComposite.cpp
rename : gfx/layers/composite/ImageHost.h => gfx/layers/composite/ImageComposite.h
2017-02-07 17:07:00 +09:00
Kartikaya Gupta
21e9123c56
Merge m-c to graphics
...
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Ryan Hunt
fbdddb7da1
Bug 1335123 - Clean up layers logging for WebRenderLayers. r=kats
...
--HG--
extra : amend_source : eb834de48052f3dc6c08ef20effa15ddd02e58ba
2017-01-30 12:48:01 -06:00
Kartikaya Gupta
ca041b7c5a
Merge m-c to graphics
...
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Kartikaya Gupta
fdeff3fcd5
Merge m-c to graphics
...
MozReview-Commit-ID: 98wqjDW1RVK
--HG--
rename : browser/modules/CaptivePortalWatcher.jsm => browser/base/content/browser-captivePortal.js
rename : browser/modules/test/browser_CaptivePortalWatcher.js => browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js
rename : browser/base/content/test/plugins/browser_clearplugindata.html => browser/components/extensions/test/browser/file_clearplugindata.html
rename : modules/freetype2/src/gzip/zconf.h => modules/freetype2/src/gzip/ftzconf.h
extra : amend_source : b630126e257a8e2900ac0c3c735398a96ccd25e1
2017-01-23 09:45:48 -05:00
sotaro
9d4636027c
Bug 1332249 - Add WebRenderCompositableHolder for WebRenderAPI r=nical?
2017-01-20 11:00:17 +09:00
Kartikaya Gupta
b66c471aef
Merge m-c to graphics
...
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Nicolas Silva
e66ff49a44
Bug 1331515 - Move webrender wrappers to the webrender_bindings directory. r=gfx?
...
--HG--
rename : gfx/layers/wr/RenderThread.cpp => gfx/webrender_bindings/RenderThread.cpp
rename : gfx/layers/wr/RenderThread.h => gfx/webrender_bindings/RenderThread.h
rename : gfx/layers/wr/RendererOGL.cpp => gfx/webrender_bindings/RendererOGL.cpp
rename : gfx/layers/wr/RendererOGL.h => gfx/webrender_bindings/RendererOGL.h
rename : gfx/layers/wr/WebRenderAPI.cpp => gfx/webrender_bindings/WebRenderAPI.cpp
rename : gfx/layers/wr/WebRenderAPI.h => gfx/webrender_bindings/WebRenderAPI.h
rename : gfx/layers/wr/WebRenderTypes.h => gfx/webrender_bindings/WebRenderTypes.h
2017-01-16 19:21:43 -05:00
Andrew Osmond
48eeda9e2c
Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical
2017-01-18 10:12:32 -05:00
Andrew Osmond
6f24a75ee4
Bug 1331938 - Part 1. Add SourceSurfaceVolatileData, a volatile data backed DataSourceSurface. r=nical
2017-01-18 08:38:02 -05:00
Ryan Hunt
e029fec93f
Bug 1330368 - Add a WebRenderMessageUtils.h for WR IPC::ParamTraits r=gfx?
...
--HG--
extra : rebase_source : 9855ef13557a6fededf3369dc7302d8a77291a22
extra : amend_source : f56994df93eecb1e97fa35ec27a6863b497933bc
2017-01-10 23:49:44 -06:00
Nicolas Silva
a069e3b6e6
Bug 1328602 - Begin implementing a C++ wrapper around WebRender's RenderApi. r=gfx?
2017-01-10 10:17:30 +01:00
David Anderson
3d7a9b6ee1
Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow)
...
--HG--
extra : rebase_source : 8b2a3826a08b14065d8ef3474eddc38d592a4f82
2017-01-17 18:47:07 -08:00
Nicolas Silva
f1b93535c4
Bug 1328602 - Start implementing the render thread. r=gfx?
2017-01-06 19:10:15 +01:00
Mason Chang
5e1c34af71
Bug 1329314 - Add support for nsDisplayText webrender display item. r=jrmuizel?
2017-01-06 11:50:53 -08:00
Kartikaya Gupta
e747fadcd2
Back out bug 1328602 (5 csets) for build bustage and test failures. r=bustage
2017-01-06 13:49:32 -05:00
Nicolas Silva
5c440ad7ad
Bug 1328602 - Start implementing the render thread. r=gfx?
2017-01-06 19:10:15 +01:00
Kartikaya Gupta
7d2382b3c3
Merge m-c to graphics
...
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00
Morris Tseng
d0ee835ee4
Merge m-c to graphics.
...
--HG--
rename : taskcluster/ci/desktop-test/test-platforms.yml => taskcluster/ci/test/test-platforms.yml
rename : taskcluster/ci/desktop-test/test-sets.yml => taskcluster/ci/test/test-sets.yml
2016-12-29 18:26:24 +08:00
Ethan Lin
f0225346c8
Bug 1322079 - Add WebRenderBorderLayer. r=mattwoodrow
...
MozReview-Commit-ID: E6wHBxXX7Zp
2016-12-27 14:12:01 +08:00