5#include "gtest/gtest.h"
14TEST(RSTransformTest, Construction) {
22 EXPECT_EQ(
transform.GetBounds(20.0f, 30.0f),
32TEST(RSTransformTest, CompareToMatrix) {
33 for (
int tx = 0; tx <= 100; tx += 10) {
34 for (
int ty = 0; ty <= 100; ty += 10) {
36 for (
int scale = 1; scale <= 20; scale += 5) {
38 for (
int degrees = 0; degrees <= 390; degrees += 45) {
44 for (
int w = 10; w <= 100; w += 10) {
45 for (
int h = 10;
h <= 100;
h += 10) {
46 Quad q = rst.GetQuad(w,
h);
48 for (
int i = 0;
i < 4;
i++) {
#define EXPECT_MATRIX_NEAR(a, b)
TEST(FrameTimingsRecorderTest, RecordVsync)
static constexpr DlScalar kEhCloseEnough
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder h
std::array< Point, 4 > Quad
static constexpr Matrix MakeTranslation(const Vector3 &t)
static Matrix MakeRotationZ(Radians r)
static constexpr Matrix MakeScale(const Vector3 &s)
static constexpr TRect MakeWH(Type width, Type height)
constexpr std::array< TPoint< T >, 4 > GetTransformedPoints(const Matrix &transform) const
static constexpr TRect MakeLTRB(Type left, Type top, Type right, Type bottom)
std::vector< Point > points