| Index: gpu/ipc/service/direct_composition_surface_win.h
|
| diff --git a/gpu/ipc/service/direct_composition_surface_win.h b/gpu/ipc/service/direct_composition_surface_win.h
|
| index 2402a993252872c71bfe22d7f6c514b1ffa39d47..6db44b7d0b1c272a8786c70a4cf283ed9a5801a1 100644
|
| --- a/gpu/ipc/service/direct_composition_surface_win.h
|
| +++ b/gpu/ipc/service/direct_composition_surface_win.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/win/scoped_comptr.h"
|
| +#include "gpu/config/gpu_driver_bug_workarounds.h"
|
| #include "gpu/gpu_export.h"
|
| #include "gpu/ipc/service/child_window_win.h"
|
| #include "gpu/ipc/service/image_transport_surface_delegate.h"
|
| @@ -74,6 +75,8 @@ class GPU_EXPORT DirectCompositionSurfaceWin : public gl::GLSurfaceEGL {
|
| base::win::ScopedComPtr<IDXGISwapChain1> GetLayerSwapChainForTesting(
|
| size_t index) const;
|
|
|
| + const GpuDriverBugWorkarounds& workarounds() const { return workarounds_; }
|
| +
|
| protected:
|
| ~DirectCompositionSurfaceWin() override;
|
|
|
| @@ -87,6 +90,8 @@ class GPU_EXPORT DirectCompositionSurfaceWin : public gl::GLSurfaceEGL {
|
|
|
| ChildWindowWin child_window_;
|
|
|
| + GpuDriverBugWorkarounds workarounds_;
|
| +
|
| HWND window_ = nullptr;
|
| // This is a placeholder surface used when not rendering to the
|
| // DirectComposition surface.
|
|
|