зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1704000 - Request rendering for RenderCompositorOGLSWGL::MaybeReadback() r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D115778
This commit is contained in:
Родитель
d4ae277433
Коммит
1beb643350
|
@ -35,6 +35,11 @@ class RenderCompositorOGLSWGL : public RenderCompositorLayersSWGL {
|
|||
bool BeginFrame() override;
|
||||
RenderedFrameId EndFrame(const nsTArray<DeviceIntRect>& aDirtyRects) override;
|
||||
|
||||
// Returns true for requesting rendering during readback.
|
||||
// RenderCompositorOGLSWGL::MaybeReadback() requests rendering.
|
||||
// This value is not used by WebRender, since native compositor API is used
|
||||
// for sw-wr.
|
||||
bool UsePartialPresent() override { return true; }
|
||||
bool RequestFullRender() override;
|
||||
|
||||
void Pause() override;
|
||||
|
|
Загрузка…
Ссылка в новой задаче