gecko-dev/gfx/webrender_bindings
Kartikaya Gupta a02e29e13b Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange
This exposes some functions on wr::DisplayListBuilder to set hit-test
info and to do hit-tests.

The mechanism to set hit-test info is made a little more generic than is
actually used in this patchset, because doing it this way allows for
more optimization possibilities.
Specifically, the API allows setting some hit-testing state which is then
applied to all display items that are created until that state is
updated or cleared. An alternative would be to specify the hit-testing
state explicitly when creating particular display items; however doing
that would force the call sites that create the display items to compute
or obtain the hit-testing state, which would make the code less
encapsulated and harder to refactor/optimize.

MozReview-Commit-ID: EJoCFv83iu8

--HG--
extra : rebase_source : d2a117a52144f76dcc312de2a4047298e78135cb
2017-11-15 11:39:44 -05:00
..
src Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange 2017-11-15 11:39:44 -05:00
Cargo.toml Bug 1416258 - Update webrender to commit 8a39cf24f493e894a66c2465dd310a2b2923e558. r=jrmuizel 2017-11-14 09:19:11 -05:00
cbindgen.toml Bug 1399389 - redirect the warn/error message to gfx_critical_error/note in WR. r=kvark 2017-10-30 11:31:38 +08:00
Moz2DImageRenderer.cpp Bug 1416607 - follow-up - typo fix in error message. r=me 2017-11-14 23:27:16 -05:00
moz.build Bug 1412545 - avoid race condition when setting Cairo ft font user data. r=jrmuizel 2017-11-07 14:10:31 -05:00
RenderBufferTextureHost.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderBufferTextureHost.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderD3D11TextureHostOGL.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderD3D11TextureHostOGL.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RendererOGL.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RendererOGL.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderMacIOSurfaceTextureHostOGL.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderMacIOSurfaceTextureHostOGL.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderSharedSurfaceTextureHost.cpp Bug 1331944 - Part 4. Add RenderSharedSurfaceTextureHost wrapper to integrate with external images. r=jrmuizel 2017-10-30 13:10:29 -04:00
RenderSharedSurfaceTextureHost.h Bug 1331944 - Part 4. Add RenderSharedSurfaceTextureHost wrapper to integrate with external images. r=jrmuizel 2017-10-30 13:10:29 -04:00
RenderTextureHost.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTextureHost.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderTextureHostOGL.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RenderTextureHostOGL.h merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-30 23:52:23 +01:00
RenderThread.cpp Bug 1408421 - Improving throttling GenerateFrame() r=jrmuizel 2017-11-03 11:22:28 +09:00
RenderThread.h Bug 1408421 - Improving throttling GenerateFrame() r=jrmuizel 2017-11-03 11:22:28 +09:00
rustfmt.toml Bug 1357543 - Add rustfmt.toml and run rustfmt on webrender_bindings r=kats 2017-04-18 16:20:53 -04:00
webrender_ffi_generated.h Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange 2017-11-15 11:39:44 -05:00
webrender_ffi.h Bug 1371838 - export the gecko profiler registering function to WR. r=jrmuizel 2017-11-11 18:57:31 +08:00
WebRenderAPI.cpp Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange 2017-11-15 11:39:44 -05:00
WebRenderAPI.h Bug 1389149 - Add WR bindings for setting hit-test info and doing hit-tests. r=mstange 2017-11-15 11:39:44 -05:00
WebRenderTypes.h Bug 1416594 - Add SurfaceFormat::R8G8B8A8 handling to SurfaceFormatToImageFormat() r=nical 2017-11-15 07:15:11 +09:00