Flutter Engine
android_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/shell/platform/android/surface/android_surface.h"
6 #include "flutter/fml/logging.h"
7 
8 namespace flutter {
9 
11  const std::shared_ptr<AndroidContext>& android_context) {
12  FML_DCHECK(android_context->IsValid());
13  android_context_ = android_context;
14 }
15 
17 
18 std::unique_ptr<Surface> AndroidSurface::CreatePbufferSurface() {
19  return nullptr;
20 }
21 
22 } // namespace flutter
#define FML_DCHECK(condition)
Definition: logging.h:86
std::shared_ptr< AndroidContext > android_context_
AndroidSurface(const std::shared_ptr< AndroidContext > &android_context)
virtual std::unique_ptr< Surface > CreatePbufferSurface()