Flutter Engine
The Flutter Engine
Namespaces | Functions
dl_image_filter_unittests.cc File Reference
#include "flutter/display_list/dl_blend_mode.h"
#include "flutter/display_list/dl_color.h"
#include "flutter/display_list/dl_sampling_options.h"
#include "flutter/display_list/dl_tile_mode.h"
#include "flutter/display_list/effects/dl_color_filter.h"
#include "flutter/display_list/effects/dl_image_filter.h"
#include "flutter/display_list/testing/dl_test_equality.h"
#include "flutter/display_list/utils/dl_comparable.h"
#include "gtest/gtest.h"
#include "third_party/skia/include/core/SkBlendMode.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkSamplingOptions.h"
#include "third_party/skia/include/effects/SkImageFilters.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

static bool flutter::testing::containsInclusive (const SkRect rect, const SkPoint p)
 
static bool flutter::testing::containsInclusive (const SkRect rect, const SkPoint quad[4])
 
static bool flutter::testing::containsInclusive (const SkIRect rect, const SkPoint quad[4])
 
static bool flutter::testing::containsInclusive (const SkIRect rect, const SkRect bounds)
 
static void flutter::testing::TestBoundsWithMatrix (const DlImageFilter &filter, const SkMatrix &matrix, const SkRect &sourceBounds, const SkPoint expectedLocalOutputQuad[4])
 
static void flutter::testing::TestInvalidBounds (const DlImageFilter &filter, const SkMatrix &matrix, const SkRect &localInputBounds)
 
static void flutter::testing::TestBounds (const DlImageFilter &filter, const SkRect &sourceBounds, const SkPoint expectedLocalOutputQuad[4])
 
static void flutter::testing::TestBounds (const DlImageFilter &filter, const SkRect &sourceBounds, const SkRect &expectedLocalOutputBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurShared)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurAsBlur)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurContents)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, BlurZeroSigma)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateShared)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateAsDilate)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateContents)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, DilateBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeShared)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeAsErode)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeContents)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ErodeBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixShared)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixAsMatrix)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixContents)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, MatrixBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeShared)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeAsCompose)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeContents)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeBounds)
 
static void flutter::testing::TestUnboundedBounds (DlImageFilter &filter, const SkRect &sourceBounds, const SkRect &expectedOutputBounds, const SkRect &expectedInputBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeBoundsWithUnboundedInner)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeBoundsWithUnboundedOuter)
 
 flutter::testing::TEST (DisplayListImageFilter, ComposeBoundsWithUnboundedInnerAndOuter)
 
 flutter::testing::TEST (DisplayListImageFilter, Issue108433)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterConstructor)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterShared)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterAsColorFilter)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterContents)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterWithLocalMatrixEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterNotEquals)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, ColorFilterModifiesTransparencyBounds)
 
 flutter::testing::TEST (DisplayListImageFilter, LocalImageFilterBounds)