Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
shell
platform
android
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
13
namespace
flutter
{
14
15
class
AndroidContextVulkanImpeller
:
public
AndroidContext
{
16
public
:
17
AndroidContextVulkanImpeller
(
bool
enable_validation,
18
bool
enable_gpu_tracing,
19
bool
quiet =
false
);
20
21
~AndroidContextVulkanImpeller
();
22
23
// |AndroidContext|
24
bool
IsValid
()
const override
;
25
26
private
:
27
fml::RefPtr<fml::NativeLibrary>
vulkan_dylib_;
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_
flutter::AndroidContextVulkanImpeller
Definition
android_context_vulkan_impeller.h:15
flutter::AndroidContextVulkanImpeller::~AndroidContextVulkanImpeller
~AndroidContextVulkanImpeller()
flutter::AndroidContextVulkanImpeller::IsValid
bool IsValid() const override
Definition
android_context_vulkan_impeller.cc:88
flutter::AndroidContext
Holds state that is shared across Android surfaces.
Definition
android_context.h:19
fml::RefPtr
Definition
ref_ptr.h:65
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
Generated on Fri Apr 26 2024 06:14:19 for Flutter Engine by
1.9.8