skia2/tests/graphite/TransformTest.cpp
Michael Ludwig 4021b947f7 [graphite] Add Transform that wraps matrix, inverse, type and scale factors
Transform.h is named Transform_graphite.h to avoid collision with
Transform.h in skottie/src

Bug: skia:12466
Change-Id: I017eee2bffe1a0aad605221e67540f732c2ee6b9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/459719
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2021-10-16 00:06:32 +00:00

17 lines
428 B
C++

/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "tests/Test.h"
#include "experimental/graphite/src/geom/Transform_graphite.h"
DEF_GRAPHITE_TEST(TransformTest, reporter) {
// TODO: Michael takes this over
skgpu::Transform t{SkM44()};
REPORTER_ASSERT(reporter, t.type() == skgpu::Transform::Type::kIdentity);
}