Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
test_swangle_utils.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_TESTING_TEST_SWANGLE_UTILS_H_
6
#define FLUTTER_TESTING_TEST_SWANGLE_UTILS_H_
7
8
#include <EGL/egl.h>
9
10
namespace
flutter::testing
{
11
12
//------------------------------------------------------------------------------
13
/// @brief Creates an EGLDisplay using ANGLE with the Vulkan backend and
14
/// SwiftShader as the device type.
15
///
16
/// @return The created EGLDisplay, or EGL_NO_DISPLAY if creation fails or
17
/// if necessary extensions are not available.
18
///
19
EGLDisplay
CreateSwangleDisplay
();
20
21
}
// namespace flutter::testing
22
23
#endif
// FLUTTER_TESTING_TEST_SWANGLE_UTILS_H_
flutter::testing
Definition
native_assets_unittests.cc:10
flutter::testing::CreateSwangleDisplay
EGLDisplay CreateSwangleDisplay()
Creates an EGLDisplay using ANGLE with the Vulkan backend and SwiftShader as the device type.
Definition
test_swangle_utils.cc:27
testing
test_swangle_utils.h
Generated on Wed Feb 11 2026 05:20:49 for Flutter Engine Uber Docs by
1.9.8