mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1544703 - Enable WebRenderTextureHostWrapper usage for SurfaceTextureHost r=nical
Usage of WebRenderTextureHostWrapper for SurfaceTextureHost could reduce cpu/gpu task on android. Differential Revision: https://phabricator.services.mozilla.com/D27653 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8a82166949
commit
b57e87fe30
@ -440,6 +440,8 @@ class SurfaceTextureHost : public TextureHost {
|
||||
const wr::LayoutRect& aClip, wr::ImageRendering aFilter,
|
||||
const Range<wr::ImageKey>& aImageKeys) override;
|
||||
|
||||
bool SupportsWrNativeTexture() override { return true; }
|
||||
|
||||
protected:
|
||||
bool EnsureAttached();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user