Flutter Engine
The Flutter Engine
third_party
skia
tools
gpu
mock
MockTestContext.h
Go to the documentation of this file.
1
2
/*
3
* Copyright 2017 Google Inc.
4
*
5
* Use of this source code is governed by a BSD-style license that can be
6
* found in the LICENSE file.
7
*/
8
#ifndef MockTestContext_DEFINED
9
#define MockTestContext_DEFINED
10
11
#include "
tools/gpu/TestContext.h
"
12
13
namespace
sk_gpu_test
{
14
15
/**
16
* Creates mock context object for use with GrContexts created with GrBackendApi::kMock. It will
17
* trivially succeed at everything.
18
*/
19
TestContext*
CreateMockTestContext
(TestContext* shareContext =
nullptr
);
20
21
}
// namespace sk_gpu_test
22
#endif
TestContext.h
sk_gpu_test
Definition:
gm_bindings.cpp:339
sk_gpu_test::CreateMockTestContext
TestContext * CreateMockTestContext(TestContext *)
Definition:
MockTestContext.cpp:44
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4