Flutter Engine
The Flutter Engine
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
REPORTER_ASSERT
#define REPORTER_ASSERT(r, cond,...)
Definition:
Test.h:286
DEF_GRAPHITE_TEST
DEF_GRAPHITE_TEST(TransformTest, reporter, CtsEnforcement::kNextRelease)
Definition:
TransformTest.cpp:12
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 Sun Jun 23 2024 21:56:39 for Flutter Engine by
1.9.4