Flutter Engine
surface.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter 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 "flutter/flow/surface.h"
6 
7 namespace flutter {
8 
9 Surface::Surface() = default;
10 
11 Surface::~Surface() = default;
12 
14  return nullptr;
15 }
16 
17 std::unique_ptr<GLContextResult> Surface::MakeRenderContextCurrent() {
18  return std::make_unique<GLContextDefaultResult>(true);
19 }
20 
22  return false;
23 }
24 
25 } // namespace flutter
virtual ~Surface()
virtual bool ClearRenderContext()
Definition: surface.cc:21
virtual flutter::ExternalViewEmbedder * GetExternalViewEmbedder()
Definition: surface.cc:13
virtual std::unique_ptr< GLContextResult > MakeRenderContextCurrent()
Definition: surface.cc:17