Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
dl_sk_conversions_unittests.cc File Reference
#include "flutter/display_list/dl_blend_mode.h"
#include "flutter/display_list/dl_paint.h"
#include "flutter/display_list/dl_sampling_options.h"
#include "flutter/display_list/dl_tile_mode.h"
#include "flutter/display_list/dl_vertices.h"
#include "flutter/display_list/effects/dl_color_source.h"
#include "flutter/display_list/skia/dl_sk_conversions.h"
#include "gtest/gtest.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkSamplingOptions.h"
#include "third_party/skia/include/core/SkTileMode.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Macros

#define FOR_EACH_BLEND_MODE_ENUM(FUNC)
 
#define CHECK_TO_SKENUM(V)   ASSERT_EQ(ToSk(DlBlendMode::V), SkBlendMode::V);
 
#define TEST_MODE(V)   test_mode(DlBlendMode::V);
 

Functions

 flutter::testing::TEST (DisplayListImageFilter, LocalImageSkiaNull)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkColor)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkTileMode)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkBlurStyle)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkDrawStyle)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkStrokeCap)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkStrokeJoin)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkVertexMode)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkFilterMode)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkSrcRectConstraint)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkSamplingOptions)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkBlendMode)
 
 flutter::testing::TEST (DisplayListSkConversions, BlendColorFilterModifiesTransparency)
 
 flutter::testing::TEST (DisplayListSkConversions, ConvertWithZeroAndNegativeVerticesAndIndices)
 
 flutter::testing::TEST (DisplayListVertices, ConvertWithZeroAndNegativeVerticesAndIndices)
 
 flutter::testing::TEST (DisplayListColorSource, ConvertRuntimeEffect)
 
 flutter::testing::TEST (DisplayListColorSource, ConvertRuntimeEffectWithNullSampler)
 
 flutter::testing::TEST (DisplayListSkConversions, MatrixColorFilterModifiesTransparency)
 
 flutter::testing::TEST (DisplayListSkConversions, ToSkDitheringEnabledForGradients)
 

Macro Definition Documentation

◆ CHECK_TO_SKENUM

#define CHECK_TO_SKENUM (   V)    ASSERT_EQ(ToSk(DlBlendMode::V), SkBlendMode::V);

◆ FOR_EACH_BLEND_MODE_ENUM

#define FOR_EACH_BLEND_MODE_ENUM (   FUNC)

Definition at line 111 of file dl_sk_conversions_unittests.cc.

◆ TEST_MODE

#define TEST_MODE (   V)    test_mode(DlBlendMode::V);