Bug 1551792 - Add override to RenderCompositorANGLE::UseTripleBuffering() r=nical
authorsotaro <sotaro.ikeda.g@gmail.com>
Wed, 15 May 2019 16:32:25 +0000
changeset 532835 aff4e1440f1a58fb3c8f497e2558c950236a2b82
parent 532834 8c8d7435dad6a4728cedb6ac714b88d981ed6b6c
child 532836 0ab201cfaf67e1ef4a74c483586764405a79e306
push id11272
push userapavel@mozilla.com
push dateThu, 16 May 2019 15:28:22 +0000
treeherdermozilla-beta@2265bfc5920d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs1551792
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1551792 - Add override to RenderCompositorANGLE::UseTripleBuffering() r=nical Differential Revision: https://phabricator.services.mozilla.com/D31194
gfx/webrender_bindings/RenderCompositorANGLE.h
--- a/gfx/webrender_bindings/RenderCompositorANGLE.h
+++ b/gfx/webrender_bindings/RenderCompositorANGLE.h
@@ -45,17 +45,17 @@ class RenderCompositorANGLE : public Ren
   gl::GLContext* gl() const override { return RenderThread::Get()->SharedGL(); }
 
   bool MakeCurrent() override;
 
   bool UseANGLE() const override { return true; }
 
   bool UseDComp() const override { return !!mCompositionDevice; }
 
-  bool UseTripleBuffering() const { return mUseTripleBuffering; }
+  bool UseTripleBuffering() const override { return mUseTripleBuffering; }
 
   LayoutDeviceIntSize GetBufferSize() override;
 
  protected:
   void InsertPresentWaitQuery();
   void WaitForPreviousPresentQuery();
   bool ResizeBufferIfNeeded();
   void DestroyEGLSurface();