Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
smoketest.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_LIB_GPU_SMOKETEST_H_
6#define FLUTTER_LIB_GPU_SMOKETEST_H_
7
8#include <cstdint>
9
10#include "flutter/lib/gpu/export.h"
11#include "flutter/lib/ui/dart_wrapper.h"
12#include "third_party/dart/runtime/include/dart_api.h"
15
16namespace flutter {
17
18// TODO(131346): Remove this once we migrate the Dart GPU API into this space.
20 : public RefCountedDartWrappable<FlutterGpuTestClass> {
21 DEFINE_WRAPPERTYPEINFO();
23
24 public:
26};
27
28} // namespace flutter
29
30//----------------------------------------------------------------------------
31/// Exports
32///
33
34extern "C" {
35
36// TODO(131346): Remove this once we migrate the Dart GPU API into this space.
38extern uint32_t InternalFlutterGpuTestProc();
39
40// TODO(131346): Remove this once we migrate the Dart GPU API into this space.
43
44// TODO(131346): Remove this once we migrate the Dart GPU API into this space.
47
48// TODO(131346): Remove this once we migrate the Dart GPU API into this space.
52 int something);
53
54} // extern "C"
55
56#endif // FLUTTER_LIB_GPU_SMOKETEST_H_
struct _Dart_Handle * Dart_Handle
Definition dart_api.h:258
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
#define FLUTTER_GPU_EXPORT
Definition export.h:13
#define FML_FRIEND_MAKE_REF_COUNTED(T)
FLUTTER_GPU_EXPORT Dart_Handle InternalFlutterGpuTestProcWithCallback(Dart_Handle callback)
Definition smoketest.cc:36
FLUTTER_GPU_EXPORT void InternalFlutterGpuTestClass_Method(flutter::FlutterGpuTestClass *self, int something)
Definition smoketest.cc:55
FLUTTER_GPU_EXPORT void InternalFlutterGpuTestClass_Create(Dart_Handle wrapper)
Definition smoketest.cc:48
FLUTTER_GPU_EXPORT uint32_t InternalFlutterGpuTestProc()
Definition smoketest.cc:31