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

33 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 394f747fb0 Bug 1503730 - Add visual indicator for when WebRender frames record a CONTENT_FRAME_TIME of >200. r=sotaro
MozReview-Commit-ID: KdRf3WClD6M

Differential Revision: https://phabricator.services.mozilla.com/D10442

--HG--
extra : moz-landing-system : lando
2018-11-04 20:35:36 +00:00
sotaro 0c726a9a6d Bug 1500520 - Always check graphics reset status in RenderThread::UpdateAndRender() r=nical 2018-10-23 12:14:45 +09:00
sotaro fe52320e8b Bug 1497910 - Call wr_renderer_readback() before calling RenderCompositor::EndFrame() r=nical 2018-10-17 07:54:01 +09:00
Henrik Winnemöller b45616020b Bug 1452979 - Use ImageRendering property to provide proper filtering on NativeTexture external images. r=nical
Introduce an ImageRendering argument to the lock call to external images. In case of NativeTexture external images, this ImageRendering argument is used to set the GL_TEXTURE_MIN/MAG_FILTER on texture creation. The filtering is also updated when a lock call is used on an existing texture with a different ImageRendering argument. The WR bindings and auto generated files have been updated.
2018-09-03 21:43:31 +02:00
Kartikaya Gupta af64629a66 Bug 1417784 - Use a CompositorBridgeParent* instead of a base class pointer. r=sotaro
We do a silent upcast from CompositorBridgeParent* to the base class and
pass it around as a CompositorBridgeParentBase* for no reason. Avoiding
this simplifies the code slightly and avoids virtual function overhead.
We do need to move a couple of functions in CompositorBridgeParent from
protected scope to public scope.

MozReview-Commit-ID: 9Zq3GwxEXpr

--HG--
extra : rebase_source : 67346159e7d99ca7fc2fe0052e85aa6618b50d27
2018-05-28 11:29:41 -04:00
Kartikaya Gupta 97ffc1e59e Bug 1452620 - Use FfiVec to clean up WrPipelineInfo usage in C++. r=Gankro,nical
Instead of passing a WrPipelineInfo* to C++ code, we can now pass the
WrPipelineInfo directly. C++ code can access the info members without
having to call back into rust code, so the wr_pipeline_info* iterator
methods can be removed. Deleting the structure still requires passing it
back to rust.

MozReview-Commit-ID: HYcPX3mCGKW

--HG--
extra : rebase_source : f4b781cfc463c8e196f67a6e178ce4ce44a9464a
2018-04-10 17:26:54 -04:00
sotaro 71d9e881b1 Bug 1436020 - Disable WebRender profiler UI during readback r=nical 2018-02-15 11:29:40 +09:00
Kartikaya Gupta 78e4bd2c76 Bug 1437949 - Make the wake_up WR notification poke the renderer. r=kvark
MozReview-Commit-ID: HxMOW4EF6sn

--HG--
extra : rebase_source : f0e019368c362259388094e50647c39bf39c431e
2018-02-13 14:08:54 -05:00
Nicolas Silva f943a00bf6 Bug 1436058 - Remove async image pipelines when the renderer notifies pipelines removed. r=kats
Patch originally attached to - and reviewed by sotaro on - bug 1432708.

MozReview-Commit-ID: LNWHtuFTPG5

--HG--
extra : rebase_source : c1694476cb454d914f2cfe3ec7cf55aaa0aacd4c
2018-02-12 11:37:02 -05:00
Alexis Beingessner 291824030e Bug 1432309 - ensure the GL context is current when updating wr. r=sotaro
To avoid future issues, this is done by combining the Render and Update methods
into a single call. As a minor side-effect, timing in the parent method now
includes the time to run update.

MozReview-Commit-ID: GJ0l049eFRj

--HG--
extra : rebase_source : f9b4ee6f34bc45d87b3df40e5a25f3bfb2ec8068
2018-01-31 21:34:43 -05:00
sotaro 8ebc9420bc Bug 1429997 - Add RenderCompositor to wrap platform dependent code r=nical 2018-01-15 22:22:15 +09:00
Daniel Holbert 126bd9e1a4 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl

--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
sotaro 11c145a7c1 Bug 1394338 - Add WebRender error handling to RendererOGL r=nical 2017-08-30 09:10:22 +09:00
Nicolas Silva 9f6f1a7d88 Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-23 12:00:37 +02:00
Sebastian Hengst 441fc1a176 Backed out changeset b9c53ad8893b (bug 1390840) 2017-08-21 18:38:22 +02:00
Nicolas Silva 55bbef54aa Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-21 18:22:56 +02:00
JerryShih 5d101602fb Bug 1357299 - P12: Add SyncObject in RendererOGL. v2. r=nical
With DXVA2 hardware-video-decoding, the RendererOGL should have a
synchronization mechanism to prevent the flickering of video texture.
Create a SyncObject in RendererOGL to do the texture synchronization.

The WebRenderAPI also exposes the RendererOGL's SyncHandle to
WebRenderBridgeParent. Then, the WebRenderBridgeParent could pass this SyncHandle
to the video decoding module for texture synchronization.

MozReview-Commit-ID: toQ2mO5fzG
2017-08-07 18:15:25 +08:00
sotaro eaf00c953c Bug 1377619 - Add EndTransaction to on screen timing log for WebRender r=nical 2017-07-28 08:05:56 +09:00
Ryan Hunt 522bc76415 Bug 1382128 part 8 - Remove Wr prefix from some type aliases. r=kats
MozReview-Commit-ID: 5h7QobhcYc1

--HG--
extra : rebase_source : 34d6636b6c3726ccc21b105f05227e27f84e63c9
2017-07-19 03:28:58 -04:00
Ryan Hunt 3f3cb0a954 Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
MozReview-Commit-ID: 3JTMa9Ix5S7

--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
JerryShih ed60edae0c Bug 1351189 - update WR external image callback interface. r=sotaro
The new parameter "channel index" is used to select the specific channel data from a multiple channel textureHost(e.g. yuv format textureHost).

MozReview-Commit-ID: Ey1cA25Z6WH
2017-04-28 14:16:26 +08:00
Kartikaya Gupta b3a7bb5ca2 Bug 1357392 - Update webrender to f3fa3481aac63ac93c6ccbe805379875e24e5b77. r=jrmuizel,jerry,lsalzman
In addition to regenerating the FFI header and re-vendoring third-party rust
dependencies, this includes the following changes to webrender_bindings code:
- removal of release callback function as a result of changes in 86d4255
- update callback functions for new parameter added in d733af2
- update calls to add_raw_font for API change in 21f2946
2017-04-21 09:58:56 -04:00
Ryan Hunt 422ca37abb Bug 1356371 - Create a WrExternalImageId because ExternalImageId is not repr(C) r=kats
This is only temporary as ExternalImageId has been made repr(C) upstream.

MozReview-Commit-ID: 1On7fRbNI4o

--HG--
extra : rebase_source : 91cb93829de5ccf0a6f0a05ed0d2169268b6c18c
2017-04-13 15:31:09 -04:00
Sotaro Ikeda fe30e9db69 Bug 1323612 (Part 2) - Add runtime fixups for WebRender on Android. r=kats
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
Sotaro Ikeda ece294bef8 Bug 1325911 - Update Gleam to v0.4. r=kats
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
sotaro 1d710a54ef Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
JerryShih cf4e2ef241 Bug 1340997 - add external image callback in RendererOGL. r=sotaro
MozReview-Commit-ID: 8aCSe1iu44C
2017-03-01 17:08:56 +08:00
Nicolas Silva a106148e0e Bug 1333565 - Fix the epoch/transactionId plumbing when the render thread is enabled. r=jrmuizel 2017-01-27 15:30:18 -05:00
Kartikaya Gupta 29dfe5930f Bug 1333505 - Some cosmetic cleanup (comments/whitespace/alpha-sorting). r=nical
MozReview-Commit-ID: 2DYABsBzSrs
2017-01-24 16:06:17 -05:00
Nicolas Silva 83339f9131 Bug 1331515 - Move some types to the mozilla::wr namespace. r=gfx? 2017-01-16 19:22:09 -05:00
Nicolas Silva c993a8f2b0 Bug 1331515 - Move webrender_bindings/src/webrender.h to webrender_bindings/webrender_ffi.h. r=gfx?
--HG--
rename : gfx/webrender_bindings/src/webrender.h => gfx/webrender_bindings/webrender_ffi.h
2017-01-16 19:22:01 -05:00
Nicolas Silva db18d11b92 Bug 1331515 - mozilla/webrender include path. r=gfx? 2017-01-16 19:21:52 -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