mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
20 lines
579 B
C++
20 lines
579 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/shell/gpu/gpu_surface_metal_delegate.h"
|
|
|
|
namespace flutter {
|
|
|
|
GPUSurfaceMetalDelegate::GPUSurfaceMetalDelegate(
|
|
MTLRenderTargetType render_target_type)
|
|
: render_target_type_(render_target_type) {}
|
|
|
|
GPUSurfaceMetalDelegate::~GPUSurfaceMetalDelegate() = default;
|
|
|
|
MTLRenderTargetType GPUSurfaceMetalDelegate::GetRenderTargetType() {
|
|
return render_target_type_;
|
|
}
|
|
|
|
} // namespace flutter
|