Flutter Engine
 
Loading...
Searching...
No Matches
gpu_surface_noop_unittests.mm
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 <Foundation/Foundation.h>
6#include <QuartzCore/QuartzCore.h>
7
9#include "gtest/gtest.h"
10#include "impeller/entity/mtl/entity_shaders.h"
11#include "impeller/entity/mtl/framebuffer_blend_shaders.h"
12#include "impeller/entity/mtl/modern_shaders.h"
14
15namespace flutter {
16namespace testing {
17
18TEST(GPUSurfaceNoop, InvalidImpellerContextCreatesCausesSurfaceToBeInvalid) {
19 auto surface = std::make_shared<GPUSurfaceNoop>();
20
21 EXPECT_TRUE(surface->IsValid());
22}
23
24} // namespace testing
25} // namespace flutter
A rendering surface that accepts rendering intent but does not render anything.
VkSurfaceKHR surface
Definition main.cc:65
TEST(NativeAssetsManagerTest, NoAvailableAssets)