Flutter Engine
The Flutter Engine
android_context_vulkan_impeller.h
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#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_VULKAN_IMPELLER_H_
6#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_VULKAN_IMPELLER_H_
7
8#include "flutter/fml/concurrent_message_loop.h"
9#include "flutter/fml/macros.h"
10#include "flutter/fml/native_library.h"
11#include "flutter/shell/platform/android/context/android_context.h"
12
13namespace flutter {
14
16 public:
17 AndroidContextVulkanImpeller(bool enable_validation,
18 bool enable_gpu_tracing,
19 bool quiet = false);
20
22
23 // |AndroidContext|
24 bool IsValid() const override;
25
26 private:
28 bool is_valid_ = false;
29
30 FML_DISALLOW_COPY_AND_ASSIGN(AndroidContextVulkanImpeller);
31};
32
33} // namespace flutter
34
35#endif // FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_VULKAN_IMPELLER_H_
AndroidContextVulkanImpeller(bool enable_validation, bool enable_gpu_tracing, bool quiet=false)
Holds state that is shared across Android surfaces.