Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
flutter::testing::DisplayListNopTest Class Reference
Inheritance diagram for flutter::testing::DisplayListNopTest:
flutter::testing::DisplayListRenderingTestBase< BaseT > flutter::DisplayListOpFlags flutter::DisplayListFlags

Protected Member Functions

 DisplayListNopTest ()
 
std::unique_ptr< RenderResultget_output (int w, int h, bool snapshot, const std::function< void(SkCanvas *)> &renderer)
 
int check_color_result (DlColor dst_color, DlColor result_color, const sk_sp< DisplayList > &dl, const std::string &desc)
 
int check_image_result (const std::unique_ptr< RenderResult > &dst_data, const std::unique_ptr< RenderResult > &result_data, const sk_sp< DisplayList > &dl, const std::string &desc)
 
void report_results (int all_flags, const sk_sp< DisplayList > &dl, const std::string &desc)
 
void test_mode_color_via_filter (DlBlendMode mode, DlColor color)
 
void test_mode_color_via_rendering (DlBlendMode mode, DlColor color)
 
void test_attributes_image (DlBlendMode mode, DlColor color, DlColorFilter *color_filter, DlImageFilter *image_filter)
 

Protected Attributes

std::vector< DlColortest_src_colors
 
std::vector< DlColortest_dst_colors
 
std::shared_ptr< DlColorFiltercolor_filter_nomtb
 
std::shared_ptr< DlColorFiltercolor_filter_mtb
 
std::unique_ptr< RenderResulttest_data
 
std::unique_ptr< RenderResulttest_image_dst_data
 
std::unique_ptr< RenderResulttest_image_src_data
 

Static Protected Attributes

static constexpr int kWasNotNop = 0x1
 
static constexpr int kWasMTB = 0x2
 
- Static Protected Attributes inherited from flutter::DisplayListOpFlags
static constexpr DisplayListAttributeFlags kSaveLayerFlags
 
static constexpr DisplayListAttributeFlags kSaveLayerWithPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawColorFlags
 
static constexpr DisplayListAttributeFlags kDrawPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawHVLineFlags
 
static constexpr DisplayListAttributeFlags kDrawLineFlags
 
static constexpr DisplayListAttributeFlags kDrawRectFlags
 
static constexpr DisplayListAttributeFlags kDrawOvalFlags
 
static constexpr DisplayListAttributeFlags kDrawCircleFlags
 
static constexpr DisplayListAttributeFlags kDrawRRectFlags
 
static constexpr DisplayListAttributeFlags kDrawDRRectFlags
 
static constexpr DisplayListAttributeFlags kDrawPathFlags
 
static constexpr DisplayListAttributeFlags kDrawArcNoCenterFlags
 
static constexpr DisplayListAttributeFlags kDrawArcWithCenterFlags
 
static constexpr DisplayListAttributeFlags kDrawPointsAsPointsFlags
 
static constexpr DisplayListAttributeFlags kDrawPointsAsLinesFlags
 
static constexpr DisplayListAttributeFlags kDrawPointsAsPolygonFlags
 
static constexpr DisplayListAttributeFlags kDrawVerticesFlags
 
static constexpr DisplayListAttributeFlags kDrawImageFlags
 
static constexpr DisplayListAttributeFlags kDrawImageWithPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawImageRectFlags
 
static constexpr DisplayListAttributeFlags kDrawImageRectWithPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawImageNineFlags
 
static constexpr DisplayListAttributeFlags kDrawImageNineWithPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawAtlasFlags
 
static constexpr DisplayListAttributeFlags kDrawAtlasWithPaintFlags
 
static constexpr DisplayListAttributeFlags kDrawDisplayListFlags
 
static constexpr DisplayListAttributeFlags kDrawTextBlobFlags
 
static constexpr DisplayListAttributeFlags kDrawShadowFlags
 

Additional Inherited Members

- Public Member Functions inherited from flutter::testing::DisplayListRenderingTestBase< BaseT >
 DisplayListRenderingTestBase ()=default
 
- Static Public Member Functions inherited from flutter::testing::DisplayListRenderingTestBase< BaseT >
static bool StartsWith (std::string str, std::string prefix)
 
static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Detailed Description

Definition at line 4337 of file dl_rendering_unittests.cc.

Constructor & Destructor Documentation

◆ DisplayListNopTest()

flutter::testing::DisplayListNopTest::DisplayListNopTest ( )
inlineprotected

Definition at line 4341 of file dl_rendering_unittests.cc.

4342 test_src_colors = {
4343 DlColor::kBlack().withAlpha(0), // transparent black
4344 DlColor::kBlack().withAlpha(0x7f), // half transparent black
4345 DlColor::kWhite().withAlpha(0x7f), // half transparent white
4346 DlColor::kBlack(), // opaque black
4347 DlColor::kWhite(), // opaque white
4348 DlColor::kRed(), // opaque red
4349 DlColor::kGreen(), // opaque green
4350 DlColor::kBlue(), // opaque blue
4351 DlColor::kDarkGrey(), // dark grey
4352 DlColor::kLightGrey(), // light grey
4353 };
4354
4355 // We test against a color cube of 3x3x3 colors [55,aa,ff]
4356 // plus transparency as the first color/pixel
4358 const int step = 0x55;
4359 static_assert(step * 3 == 255);
4360 for (int a = step; a < 256; a += step) {
4361 for (int r = step; r < 256; r += step) {
4362 for (int g = step; g < 256; g += step) {
4363 for (int b = step; b < 256; b += step) {
4364 test_dst_colors.push_back(DlColor(a << 24 | r << 16 | g << 8 | b));
4365 }
4366 }
4367 }
4368 }
4369
4370 static constexpr float color_filter_matrix_nomtb[] = {
4371 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4372 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4373 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4374 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4375 };
4376 static constexpr float color_filter_matrix_mtb[] = {
4377 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4378 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4379 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4380 0.0001, 0.0001, 0.0001, 0.9997, 0.1, //
4381 };
4382 color_filter_nomtb = DlMatrixColorFilter::Make(color_filter_matrix_nomtb);
4383 color_filter_mtb = DlMatrixColorFilter::Make(color_filter_matrix_mtb);
4384 EXPECT_FALSE(color_filter_nomtb->modifies_transparent_black());
4385 EXPECT_TRUE(color_filter_mtb->modifies_transparent_black());
4386
4387 test_data =
4388 get_output(test_dst_colors.size(), 1, true, [this](SkCanvas* canvas) {
4389 int x = 0;
4390 for (DlColor color : test_dst_colors) {
4391 SkPaint paint;
4392 paint.setColor(ToSk(color));
4393 paint.setBlendMode(SkBlendMode::kSrc);
4394 canvas->drawRect(SkRect::MakeXYWH(x, 0, 1, 1), paint);
4395 x++;
4396 }
4397 });
4398
4399 // For image-on-image tests, the src and dest images will have repeated
4400 // rows/columns that have every color, but laid out at right angles to
4401 // each other so we see an interaction with every test color against
4402 // every other test color.
4403 int data_count = test_data->image()->width();
4405 data_count, data_count, true, [this, data_count](SkCanvas* canvas) {
4406 ASSERT_EQ(test_data->width(), data_count);
4407 ASSERT_EQ(test_data->height(), 1);
4408 for (int y = 0; y < data_count; y++) {
4409 canvas->drawImage(test_data->image().get(), 0, y);
4410 }
4411 });
4413 data_count, data_count, true, [this, data_count](SkCanvas* canvas) {
4414 ASSERT_EQ(test_data->width(), data_count);
4415 ASSERT_EQ(test_data->height(), 1);
4416 canvas->translate(data_count, 0);
4417 canvas->rotate(90);
4418 for (int y = 0; y < data_count; y++) {
4419 canvas->drawImage(test_data->image().get(), 0, y);
4420 }
4421 });
4422 // Double check that the pixel data is laid out in orthogonal stripes
4423 for (int y = 0; y < data_count; y++) {
4424 for (int x = 0; x < data_count; x++) {
4425 EXPECT_EQ(*test_image_dst_data->addr32(x, y), *test_data->addr32(x, 0));
4426 EXPECT_EQ(*test_image_src_data->addr32(x, y), *test_data->addr32(y, 0));
4427 }
4428 }
4429 }
static int step(int x, SkScalar min, SkScalar max)
Definition BlurTest.cpp:215
void translate(SkScalar dx, SkScalar dy)
void rotate(SkScalar degrees)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
Definition SkCanvas.h:1528
static std::shared_ptr< DlColorFilter > Make(const float matrix[20])
std::shared_ptr< DlColorFilter > color_filter_mtb
std::unique_ptr< RenderResult > test_data
std::shared_ptr< DlColorFilter > color_filter_nomtb
std::unique_ptr< RenderResult > test_image_dst_data
std::unique_ptr< RenderResult > test_image_src_data
std::unique_ptr< RenderResult > get_output(int w, int h, bool snapshot, const std::function< void(SkCanvas *)> &renderer)
static bool b
struct MyStruct a[10]
double y
double x
DisplayListRenderingTestBase<::testing::Test > DisplayListRendering
static constexpr DlColor kWhite()
Definition dl_color.h:23
static constexpr DlColor kBlue()
Definition dl_color.h:26
static constexpr DlColor kBlack()
Definition dl_color.h:22
static constexpr DlColor kLightGrey()
Definition dl_color.h:32
constexpr DlColor withAlpha(uint8_t alpha) const
Definition dl_color.h:59
static constexpr DlColor kTransparent()
Definition dl_color.h:21
static constexpr DlColor kRed()
Definition dl_color.h:24
static constexpr DlColor kGreen()
Definition dl_color.h:25
static constexpr DlColor kDarkGrey()
Definition dl_color.h:30
#define EXPECT_TRUE(handle)
Definition unit_test.h:685

Member Function Documentation

◆ check_color_result()

int flutter::testing::DisplayListNopTest::check_color_result ( DlColor  dst_color,
DlColor  result_color,
const sk_sp< DisplayList > &  dl,
const std::string &  desc 
)
inlineprotected

Definition at line 4462 of file dl_rendering_unittests.cc.

4465 {
4466 int ret = 0;
4467 bool is_error = false;
4468 if (dst_color.isTransparent() && !result_color.isTransparent()) {
4469 ret |= kWasMTB;
4470 is_error = !dl->modifies_transparent_black();
4471 }
4472 if (result_color != dst_color) {
4473 ret |= kWasNotNop;
4474 is_error = (dl->op_count() == 0u);
4475 }
4476 if (is_error) {
4477 FML_LOG(ERROR) << std::hex << dst_color << " filters to " << result_color
4478 << desc;
4479 }
4480 return ret;
4481 }
#define FML_LOG(severity)
Definition logging.h:82
#define ERROR(message)

◆ check_image_result()

int flutter::testing::DisplayListNopTest::check_image_result ( const std::unique_ptr< RenderResult > &  dst_data,
const std::unique_ptr< RenderResult > &  result_data,
const sk_sp< DisplayList > &  dl,
const std::string &  desc 
)
inlineprotected

Definition at line 4483 of file dl_rendering_unittests.cc.

4486 {
4487 EXPECT_EQ(dst_data->width(), result_data->width());
4488 EXPECT_EQ(dst_data->height(), result_data->height());
4489 int all_flags = 0;
4490 for (int y = 0; y < dst_data->height(); y++) {
4491 const uint32_t* dst_pixels = dst_data->addr32(0, y);
4492 const uint32_t* result_pixels = result_data->addr32(0, y);
4493 for (int x = 0; x < dst_data->width(); x++) {
4494 all_flags |= check_color_result(DlColor(dst_pixels[x]),
4495 DlColor(result_pixels[x]), dl, desc);
4496 }
4497 }
4498 return all_flags;
4499 }
int check_color_result(DlColor dst_color, DlColor result_color, const sk_sp< DisplayList > &dl, const std::string &desc)

◆ get_output()

std::unique_ptr< RenderResult > flutter::testing::DisplayListNopTest::get_output ( int  w,
int  h,
bool  snapshot,
const std::function< void(SkCanvas *)> &  renderer 
)
inlineprotected

Definition at line 4451 of file dl_rendering_unittests.cc.

4455 {
4457 SkCanvas* canvas = surface->getCanvas();
4458 renderer(canvas);
4459 return std::make_unique<SkRenderResult>(surface, snapshot);
4460 }
VkSurfaceKHR surface
Definition main.cc:49
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
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
Definition switches.h:59
SkScalar w
static SkImageInfo MakeN32Premul(int width, int height)

◆ report_results()

void flutter::testing::DisplayListNopTest::report_results ( int  all_flags,
const sk_sp< DisplayList > &  dl,
const std::string &  desc 
)
inlineprotected

Definition at line 4501 of file dl_rendering_unittests.cc.

4503 {
4504 if (!dl->modifies_transparent_black()) {
4505 EXPECT_TRUE((all_flags & kWasMTB) == 0);
4506 } else if ((all_flags & kWasMTB) == 0) {
4507 FML_LOG(INFO) << "combination does not affect transparency: " << desc;
4508 }
4509 if (dl->op_count() == 0u) {
4510 EXPECT_TRUE((all_flags & kWasNotNop) == 0);
4511 } else if ((all_flags & kWasNotNop) == 0) {
4512 FML_LOG(INFO) << "combination could be classified as a nop: " << desc;
4513 }
4514 };

◆ test_attributes_image()

void flutter::testing::DisplayListNopTest::test_attributes_image ( DlBlendMode  mode,
DlColor  color,
DlColorFilter color_filter,
DlImageFilter image_filter 
)
inlineprotected

Definition at line 4593 of file dl_rendering_unittests.cc.

4596 {
4597 // if (true) { return; }
4598 std::stringstream desc_stream;
4599 desc_stream << " rendering with: ";
4600 desc_stream << BlendModeToString(mode);
4601 desc_stream << "/" << color;
4602 std::string cf_mtb = color_filter
4603 ? color_filter->modifies_transparent_black()
4604 ? "modifies transparency"
4605 : "preserves transparency"
4606 : "no filter";
4607 desc_stream << ", CF: " << cf_mtb;
4608 std::string if_mtb = image_filter
4609 ? image_filter->modifies_transparent_black()
4610 ? "modifies transparency"
4611 : "preserves transparency"
4612 : "no filter";
4613 desc_stream << ", IF: " << if_mtb;
4614 std::string desc = desc_stream.str();
4615
4616 DisplayListBuilder builder({0.0f, 0.0f, 100.0f, 100.0f});
4617 DlPaint paint = DlPaint(color) //
4618 .setBlendMode(mode) //
4619 .setColorFilter(color_filter) //
4620 .setImageFilter(image_filter);
4621 builder.DrawImage(DlImage::Make(test_image_src_data->image()), {0, 0},
4623 auto dl = builder.Build();
4624
4625 int w = test_image_src_data->width();
4626 int h = test_image_src_data->height();
4627 auto sk_mode = static_cast<SkBlendMode>(mode);
4628 SkPaint sk_paint;
4629 sk_paint.setBlendMode(sk_mode);
4630 sk_paint.setColor(ToSk(color));
4631 sk_paint.setColorFilter(ToSk(color_filter));
4632 sk_paint.setImageFilter(ToSk(image_filter));
4633 for (auto& back_end : CanvasCompareTester::TestBackends) {
4634 auto provider = CanvasCompareTester::GetProvider(back_end);
4635 auto result_surface = provider->MakeOffscreenSurface(
4637 SkCanvas* result_canvas = result_surface->sk_surface()->getCanvas();
4638 result_canvas->clear(SK_ColorTRANSPARENT);
4639 result_canvas->drawImage(test_image_dst_data->image(), 0, 0);
4640 result_canvas->drawImage(test_image_src_data->image(), 0, 0,
4641 SkSamplingOptions(), &sk_paint);
4642 if (GrDirectContext* direct_context = GrAsDirectContext(
4643 result_surface->sk_surface()->recordingContext())) {
4644 direct_context->flushAndSubmit();
4645 direct_context->flushAndSubmit(result_surface->sk_surface().get(),
4647 }
4648 std::unique_ptr<RenderResult> result_pixels =
4649 std::make_unique<SkRenderResult>(result_surface->sk_surface());
4650
4651 int all_flags =
4652 check_image_result(test_image_dst_data, result_pixels, dl, desc);
4653 report_results(all_flags, dl, desc);
4654 }
4655 };
static GrDirectContext * GrAsDirectContext(GrContext_Base *base)
SkColor4f color
SkBlendMode
Definition SkBlendMode.h:38
constexpr SkColor SK_ColorTRANSPARENT
Definition SkColor.h:99
static sk_sp< SkImage > color_filter(const SkImage *image, SkColorFilter *colorFilter)
void clear(SkColor color)
Definition SkCanvas.h:1199
void setColor(SkColor color)
Definition SkPaint.cpp:119
void setImageFilter(sk_sp< SkImageFilter > imageFilter)
void setBlendMode(SkBlendMode mode)
Definition SkPaint.cpp:151
void setColorFilter(sk_sp< SkColorFilter > colorFilter)
static sk_sp< DlImage > Make(const SkImage *image)
Definition dl_image.cc:11
static std::unique_ptr< DlSurfaceProvider > GetProvider(BackendType type)
void report_results(int all_flags, const sk_sp< DisplayList > &dl, const std::string &desc)
int check_image_result(const std::unique_ptr< RenderResult > &dst_data, const std::unique_ptr< RenderResult > &result_data, const sk_sp< DisplayList > &dl, const std::string &desc)
const Paint & paint
static std::string BlendModeToString(DlBlendMode mode)
SkPaint ToSk(const DlPaint &paint)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
Definition switches.h:228

◆ test_mode_color_via_filter()

void flutter::testing::DisplayListNopTest::test_mode_color_via_filter ( DlBlendMode  mode,
DlColor  color 
)
inlineprotected

Definition at line 4516 of file dl_rendering_unittests.cc.

4516 {
4517 std::stringstream desc_stream;
4518 desc_stream << " using SkColorFilter::filterColor() with: ";
4519 desc_stream << BlendModeToString(mode);
4520 desc_stream << "/" << color;
4521 std::string desc = desc_stream.str();
4522 DisplayListBuilder builder({0.0f, 0.0f, 100.0f, 100.0f});
4523 DlPaint paint = DlPaint(color).setBlendMode(mode);
4524 builder.DrawRect({0.0f, 0.0f, 10.0f, 10.0f}, paint);
4525 auto dl = builder.Build();
4526 if (dl->modifies_transparent_black()) {
4527 ASSERT_TRUE(dl->op_count() != 0u);
4528 }
4529
4530 auto sk_mode = static_cast<SkBlendMode>(mode);
4531 auto sk_color_filter = SkColorFilters::Blend(ToSk(color), sk_mode);
4532 auto srgb = SkColorSpace::MakeSRGB();
4533 int all_flags = 0;
4534 if (sk_color_filter) {
4535 for (DlColor dst_color : test_dst_colors) {
4536 SkColor4f dst_color_f = SkColor4f::FromColor(ToSk(dst_color));
4537 DlColor result = DlColor(
4538 sk_color_filter->filterColor4f(dst_color_f, srgb.get(), srgb.get())
4539 .toSkColor());
4540 all_flags |= check_color_result(dst_color, result, dl, desc);
4541 }
4542 if ((all_flags & kWasMTB) != 0) {
4543 EXPECT_FALSE(sk_color_filter->isAlphaUnchanged());
4544 }
4545 }
4546 report_results(all_flags, dl, desc);
4547 };
static sk_sp< SkColorFilter > Blend(const SkColor4f &c, sk_sp< SkColorSpace >, SkBlendMode mode)
static sk_sp< SkColorSpace > MakeSRGB()
GAsyncResult * result
static SkRGBA4f FromColor(SkColor color)

◆ test_mode_color_via_rendering()

void flutter::testing::DisplayListNopTest::test_mode_color_via_rendering ( DlBlendMode  mode,
DlColor  color 
)
inlineprotected

Definition at line 4549 of file dl_rendering_unittests.cc.

4549 {
4550 std::stringstream desc_stream;
4551 desc_stream << " rendering with: ";
4552 desc_stream << BlendModeToString(mode);
4553 desc_stream << "/" << color;
4554 std::string desc = desc_stream.str();
4555 auto test_image = test_data->image();
4557 SkRect::MakeWH(test_image->width(), test_image->height());
4558 DisplayListBuilder builder(test_bounds);
4559 DlPaint dl_paint = DlPaint(color).setBlendMode(mode);
4560 builder.DrawRect(test_bounds, dl_paint);
4561 auto dl = builder.Build();
4562 bool dl_is_elided = dl->op_count() == 0u;
4563 bool dl_affects_transparent_pixels = dl->modifies_transparent_black();
4564 ASSERT_TRUE(!dl_is_elided || !dl_affects_transparent_pixels);
4565
4566 auto sk_mode = static_cast<SkBlendMode>(mode);
4567 SkPaint sk_paint;
4568 sk_paint.setBlendMode(sk_mode);
4569 sk_paint.setColor(ToSk(color));
4570 for (auto& back_end : CanvasCompareTester::TestBackends) {
4571 auto provider = CanvasCompareTester::GetProvider(back_end);
4572 auto result_surface = provider->MakeOffscreenSurface(
4573 test_image->width(), test_image->height(),
4575 SkCanvas* result_canvas = result_surface->sk_surface()->getCanvas();
4576 result_canvas->clear(SK_ColorTRANSPARENT);
4577 result_canvas->drawImage(test_image.get(), 0, 0);
4578 result_canvas->drawRect(test_bounds, sk_paint);
4579 if (GrDirectContext* direct_context = GrAsDirectContext(
4580 result_surface->sk_surface()->recordingContext())) {
4581 direct_context->flushAndSubmit();
4582 direct_context->flushAndSubmit(result_surface->sk_surface().get(),
4584 }
4585 const std::unique_ptr<RenderResult> result_pixels =
4586 std::make_unique<SkRenderResult>(result_surface->sk_surface());
4587
4588 int all_flags = check_image_result(test_data, result_pixels, dl, desc);
4589 report_results(all_flags, dl, desc);
4590 }
4591 };
static void test_bounds(skiatest::Reporter *reporter, SkClipStack::Element::DeviceSpaceType primType)
static void test_image(const sk_sp< SkSpecialImage > &img, skiatest::Reporter *reporter, GrRecordingContext *rContext, bool isGPUBacked)
void drawRect(const SkRect &rect, const SkPaint &paint)
static constexpr SkRect MakeWH(float w, float h)
Definition SkRect.h:609

Member Data Documentation

◆ color_filter_mtb

std::shared_ptr<DlColorFilter> flutter::testing::DisplayListNopTest::color_filter_mtb
protected

Definition at line 4440 of file dl_rendering_unittests.cc.

◆ color_filter_nomtb

std::shared_ptr<DlColorFilter> flutter::testing::DisplayListNopTest::color_filter_nomtb
protected

Definition at line 4439 of file dl_rendering_unittests.cc.

◆ kWasMTB

constexpr int flutter::testing::DisplayListNopTest::kWasMTB = 0x2
staticconstexprprotected

Definition at line 4434 of file dl_rendering_unittests.cc.

◆ kWasNotNop

constexpr int flutter::testing::DisplayListNopTest::kWasNotNop = 0x1
staticconstexprprotected

Definition at line 4433 of file dl_rendering_unittests.cc.

◆ test_data

std::unique_ptr<RenderResult> flutter::testing::DisplayListNopTest::test_data
protected

Definition at line 4443 of file dl_rendering_unittests.cc.

◆ test_dst_colors

std::vector<DlColor> flutter::testing::DisplayListNopTest::test_dst_colors
protected

Definition at line 4437 of file dl_rendering_unittests.cc.

◆ test_image_dst_data

std::unique_ptr<RenderResult> flutter::testing::DisplayListNopTest::test_image_dst_data
protected

Definition at line 4446 of file dl_rendering_unittests.cc.

◆ test_image_src_data

std::unique_ptr<RenderResult> flutter::testing::DisplayListNopTest::test_image_src_data
protected

Definition at line 4449 of file dl_rendering_unittests.cc.

◆ test_src_colors

std::vector<DlColor> flutter::testing::DisplayListNopTest::test_src_colors
protected

Definition at line 4436 of file dl_rendering_unittests.cc.


The documentation for this class was generated from the following file: