Flutter Engine
Loading...
Searching...
No Matches
android_context_vk_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_VK_IMPELLER_H_
6
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_VK_IMPELLER_H_
7
8
#include "
flutter/fml/macros.h
"
9
#include "
flutter/fml/native_library.h
"
10
#include "
flutter/shell/platform/android/context/android_context.h
"
11
12
namespace
flutter
{
13
14
class
AndroidContextVKImpeller
:
public
AndroidContext
{
15
public
:
16
explicit
AndroidContextVKImpeller
(
17
const
AndroidContext::ContextSettings
& settings);
18
19
~AndroidContextVKImpeller
();
20
21
// |AndroidContext|
22
bool
IsValid
()
const override
;
23
24
// |AndroidContext|
25
AndroidRenderingAPI
RenderingApi
()
const override
;
26
27
private
:
28
fml::RefPtr<fml::NativeLibrary>
vulkan_dylib_;
29
bool
is_valid_ =
false
;
30
31
FML_DISALLOW_COPY_AND_ASSIGN
(
AndroidContextVKImpeller
);
32
};
33
34
}
// namespace flutter
35
36
#endif
// FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_VK_IMPELLER_H_
android_context.h
flutter::AndroidContext
Holds state that is shared across Android surfaces.
Definition
android_context.h:26
flutter::AndroidContextVKImpeller
Definition
android_context_vk_impeller.h:14
flutter::AndroidContextVKImpeller::RenderingApi
AndroidRenderingAPI RenderingApi() const override
Definition
android_context_vk_impeller.cc:89
flutter::AndroidContextVKImpeller::~AndroidContextVKImpeller
~AndroidContextVKImpeller()
flutter::AndroidContextVKImpeller::IsValid
bool IsValid() const override
Definition
android_context_vk_impeller.cc:85
fml::RefPtr
Definition
ref_ptr.h:65
macros.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
flutter::AndroidRenderingAPI
AndroidRenderingAPI
Definition
android_rendering_selector.h:11
native_library.h
flutter::AndroidContext::ContextSettings
Definition
android_context.h:32
shell
platform
android
android_context_vk_impeller.h
Generated on Thu Nov 6 2025 16:11:25 for Flutter Engine by
1.9.8