1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "components/viz/service/display_embedder/gl_output_surface_chromeos.h" 6 7 namespace viz { 8 GLOutputSurfaceChromeOS(scoped_refptr<VizProcessContextProvider> context_provider,gpu::SurfaceHandle surface_handle)9GLOutputSurfaceChromeOS::GLOutputSurfaceChromeOS( 10 scoped_refptr<VizProcessContextProvider> context_provider, 11 gpu::SurfaceHandle surface_handle) 12 : GLOutputSurface(context_provider, surface_handle) {} 13 14 GLOutputSurfaceChromeOS::~GLOutputSurfaceChromeOS() = default; 15 SetDisplayTransformHint(gfx::OverlayTransform transform)16void GLOutputSurfaceChromeOS::SetDisplayTransformHint( 17 gfx::OverlayTransform transform) { 18 display_transform_ = transform; 19 } 20 GetDisplayTransform()21gfx::OverlayTransform GLOutputSurfaceChromeOS::GetDisplayTransform() { 22 return display_transform_; 23 } 24 25 } // namespace viz 26