Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
tests
graphite
TransformTest.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
tests/Test.h
"
9
10
#include "
src/gpu/graphite/geom/Transform_graphite.h
"
11
12
DEF_GRAPHITE_TEST
(TransformTest,
reporter
,
CtsEnforcement::kNextRelease
) {
13
// TODO: Michael takes this over
14
skgpu::graphite::Transform
t{
SkM44
()};
15
REPORTER_ASSERT
(
reporter
, t.type() ==
skgpu::graphite::Transform::Type::kIdentity
);
16
}
reporter
reporter
Definition
FontMgrTest.cpp:39
Test.h
DEF_GRAPHITE_TEST
#define DEF_GRAPHITE_TEST(name, reporter, ctsEnforcement)
Definition
Test.h:327
REPORTER_ASSERT
#define REPORTER_ASSERT(r, cond,...)
Definition
Test.h:286
Transform_graphite.h
CtsEnforcement::kNextRelease
@ kNextRelease
Definition
CtsEnforcement.h:40
SkM44
Definition
SkM44.h:150
skgpu::graphite::Transform
Definition
Transform_graphite.h:19
skgpu::graphite::Transform::Type::kIdentity
@ kIdentity
Generated on Fri Apr 26 2024 06:17:44 for Flutter Engine by
1.9.8