Flutter Engine
The Flutter Engine
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 4344 of file dl_rendering_unittests.cc.

Constructor & Destructor Documentation

◆ DisplayListNopTest()

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

Definition at line 4348 of file dl_rendering_unittests.cc.

4349 test_src_colors = {
4350 DlColor::kBlack().withAlpha(0), // transparent black
4351 DlColor::kBlack().withAlpha(0x7f), // half transparent black
4352 DlColor::kWhite().withAlpha(0x7f), // half transparent white
4353 DlColor::kBlack(), // opaque black
4354 DlColor::kWhite(), // opaque white
4355 DlColor::kRed(), // opaque red
4356 DlColor::kGreen(), // opaque green
4357 DlColor::kBlue(), // opaque blue
4358 DlColor::kDarkGrey(), // dark grey
4359 DlColor::kLightGrey(), // light grey
4360 };
4361
4362 // We test against a color cube of 3x3x3 colors [55,aa,ff]
4363 // plus transparency as the first color/pixel
4365 const int step = 0x55;
4366 static_assert(step * 3 == 255);
4367 for (int a = step; a < 256; a += step) {
4368 for (int r = step; r < 256; r += step) {
4369 for (int g = step; g < 256; g += step) {
4370 for (int b = step; b < 256; b += step) {
4371 test_dst_colors.push_back(DlColor(a << 24 | r << 16 | g << 8 | b));
4372 }
4373 }
4374 }
4375 }
4376
4377 static constexpr float color_filter_matrix_nomtb[] = {
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.0, //
4381 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4382 };
4383 static constexpr float color_filter_matrix_mtb[] = {
4384 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4385 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4386 0.0001, 0.0001, 0.0001, 0.9997, 0.0, //
4387 0.0001, 0.0001, 0.0001, 0.9997, 0.1, //
4388 };
4389 color_filter_nomtb = DlMatrixColorFilter::Make(color_filter_matrix_nomtb);
4390 color_filter_mtb = DlMatrixColorFilter::Make(color_filter_matrix_mtb);
4391 EXPECT_FALSE(color_filter_nomtb->modifies_transparent_black());
4392 EXPECT_TRUE(color_filter_mtb->modifies_transparent_black());
4393
4394 test_data =
4395 get_output(test_dst_colors.size(), 1, true, [this](SkCanvas* canvas) {
4396 int x = 0;
4397 for (DlColor color : test_dst_colors) {
4398 SkPaint paint;
4399 paint.setColor(ToSk(color));
4400 paint.setBlendMode(SkBlendMode::kSrc);
4401 canvas->drawRect(SkRect::MakeXYWH(x, 0, 1, 1), paint);
4402 x++;
4403 }
4404 });
4405
4406 // For image-on-image tests, the src and dest images will have repeated
4407 // rows/columns that have every color, but laid out at right angles to
4408 // each other so we see an interaction with every test color against
4409 // every other test color.
4410 int data_count = test_data->image()->width();
4412 data_count, data_count, true, [this, data_count](SkCanvas* canvas) {
4413 ASSERT_EQ(test_data->width(), data_count);
4414 ASSERT_EQ(test_data->height(), 1);
4415 for (int y = 0; y < data_count; y++) {
4416 canvas->drawImage(test_data->image().get(), 0, y);
4417 }
4418 });
4420 data_count, data_count, true, [this, data_count](SkCanvas* canvas) {
4421 ASSERT_EQ(test_data->width(), data_count);
4422 ASSERT_EQ(test_data->height(), 1);
4423 canvas->translate(data_count, 0);
4424 canvas->rotate(90);
4425 for (int y = 0; y < data_count; y++) {
4426 canvas->drawImage(test_data->image().get(), 0, y);
4427 }
4428 });
4429 // Double check that the pixel data is laid out in orthogonal stripes
4430 for (int y = 0; y < data_count; y++) {
4431 for (int x = 0; x < data_count; x++) {
4432 EXPECT_EQ(*test_image_dst_data->addr32(x, y), *test_data->addr32(x, 0));
4433 EXPECT_EQ(*test_image_src_data->addr32(x, y), *test_data->addr32(y, 0));
4434 }
4435 }
4436 }
static int step(int x, SkScalar min, SkScalar max)
Definition: BlurTest.cpp:215
void translate(SkScalar dx, SkScalar dy)
Definition: SkCanvas.cpp:1278
void rotate(SkScalar degrees)
Definition: SkCanvas.cpp:1300
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
flutter::DlColor DlColor
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:63
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:678

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 4469 of file dl_rendering_unittests.cc.

4472 {
4473 int ret = 0;
4474 bool is_error = false;
4475 if (dst_color.isTransparent() && !result_color.isTransparent()) {
4476 ret |= kWasMTB;
4477 is_error = !dl->modifies_transparent_black();
4478 }
4479 if (result_color != dst_color) {
4480 ret |= kWasNotNop;
4481 is_error = (dl->op_count() == 0u);
4482 }
4483 if (is_error) {
4484 FML_LOG(ERROR) << std::hex << dst_color << " filters to " << result_color
4485 << desc;
4486 }
4487 return ret;
4488 }
#define FML_LOG(severity)
Definition: logging.h:82
#define ERROR(message)
Definition: elf_loader.cc:260

◆ 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 4490 of file dl_rendering_unittests.cc.

4493 {
4494 EXPECT_EQ(dst_data->width(), result_data->width());
4495 EXPECT_EQ(dst_data->height(), result_data->height());
4496 int all_flags = 0;
4497 for (int y = 0; y < dst_data->height(); y++) {
4498 const uint32_t* dst_pixels = dst_data->addr32(0, y);
4499 const uint32_t* result_pixels = result_data->addr32(0, y);
4500 for (int x = 0; x < dst_data->width(); x++) {
4501 all_flags |= check_color_result(DlColor(dst_pixels[x]),
4502 DlColor(result_pixels[x]), dl, desc);
4503 }
4504 }
4505 return all_flags;
4506 }
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 4458 of file dl_rendering_unittests.cc.

4462 {
4464 SkCanvas* canvas = surface->getCanvas();
4465 renderer(canvas);
4466 return std::make_unique<SkRenderResult>(surface, snapshot);
4467 }
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 4508 of file dl_rendering_unittests.cc.

4510 {
4511 if (!dl->modifies_transparent_black()) {
4512 EXPECT_TRUE((all_flags & kWasMTB) == 0);
4513 } else if ((all_flags & kWasMTB) == 0) {
4514 FML_LOG(INFO) << "combination does not affect transparency: " << desc;
4515 }
4516 if (dl->op_count() == 0u) {
4518 } else if ((all_flags & kWasNotNop) == 0) {
4519 FML_LOG(INFO) << "combination could be classified as a nop: " << desc;
4520 }
4521 };

◆ test_attributes_image()

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

Definition at line 4600 of file dl_rendering_unittests.cc.

4603 {
4604 // if (true) { return; }
4605 std::stringstream desc_stream;
4606 desc_stream << " rendering with: ";
4607 desc_stream << BlendModeToString(mode);
4608 desc_stream << "/" << color;
4609 std::string cf_mtb = color_filter
4610 ? color_filter->modifies_transparent_black()
4611 ? "modifies transparency"
4612 : "preserves transparency"
4613 : "no filter";
4614 desc_stream << ", CF: " << cf_mtb;
4615 std::string if_mtb = image_filter
4616 ? image_filter->modifies_transparent_black()
4617 ? "modifies transparency"
4618 : "preserves transparency"
4619 : "no filter";
4620 desc_stream << ", IF: " << if_mtb;
4621 std::string desc = desc_stream.str();
4622
4623 DisplayListBuilder builder({0.0f, 0.0f, 100.0f, 100.0f});
4625 .setBlendMode(mode) //
4627 .setImageFilter(image_filter);
4628 builder.DrawImage(DlImage::Make(test_image_src_data->image()), {0, 0},
4630 auto dl = builder.Build();
4631
4632 int w = test_image_src_data->width();
4633 int h = test_image_src_data->height();
4634 auto sk_mode = static_cast<SkBlendMode>(mode);
4635 SkPaint sk_paint;
4636 sk_paint.setBlendMode(sk_mode);
4637 sk_paint.setColor(ToSk(color));
4638 sk_paint.setColorFilter(ToSk(color_filter));
4639 sk_paint.setImageFilter(ToSk(image_filter));
4640 for (auto& back_end : CanvasCompareTester::TestBackends) {
4641 auto provider = CanvasCompareTester::GetProvider(back_end);
4642 auto result_surface = provider->MakeOffscreenSurface(
4644 SkCanvas* result_canvas = result_surface->sk_surface()->getCanvas();
4645 result_canvas->clear(SK_ColorTRANSPARENT);
4646 result_canvas->drawImage(test_image_dst_data->image(), 0, 0);
4647 result_canvas->drawImage(test_image_src_data->image(), 0, 0,
4648 SkSamplingOptions(), &sk_paint);
4649 if (GrDirectContext* direct_context = GrAsDirectContext(
4650 result_surface->sk_surface()->recordingContext())) {
4651 direct_context->flushAndSubmit();
4652 direct_context->flushAndSubmit(result_surface->sk_surface().get(),
4654 }
4655 std::unique_ptr<RenderResult> result_pixels =
4656 std::make_unique<SkRenderResult>(result_surface->sk_surface());
4657
4658 int all_flags =
4659 check_image_result(test_image_dst_data, result_pixels, dl, desc);
4661 }
4662 };
static GrDirectContext * GrAsDirectContext(GrContext_Base *base)
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
DlPaint & setColorFilter(const std::shared_ptr< const DlColorFilter > &filter)
Definition: dl_paint.h:144
DlPaint & setBlendMode(DlBlendMode mode)
Definition: dl_paint.h:86
DlPaint & setImageFilter(const std::shared_ptr< const DlImageFilter > &filter)
Definition: dl_paint.h:157
static std::vector< BackendType > TestBackends
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
Definition: color_source.cc:38
DlColor color
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
flutter::DlPaint DlPaint

◆ test_mode_color_via_filter()

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

Definition at line 4523 of file dl_rendering_unittests.cc.

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

◆ test_mode_color_via_rendering()

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

Definition at line 4556 of file dl_rendering_unittests.cc.

4556 {
4557 std::stringstream desc_stream;
4558 desc_stream << " rendering with: ";
4559 desc_stream << BlendModeToString(mode);
4560 desc_stream << "/" << color;
4561 std::string desc = desc_stream.str();
4562 auto test_image = test_data->image();
4564 SkRect::MakeWH(test_image->width(), test_image->height());
4565 DisplayListBuilder builder(test_bounds);
4566 DlPaint dl_paint = DlPaint(color).setBlendMode(mode);
4567 builder.DrawRect(test_bounds, dl_paint);
4568 auto dl = builder.Build();
4569 bool dl_is_elided = dl->op_count() == 0u;
4570 bool dl_affects_transparent_pixels = dl->modifies_transparent_black();
4571 ASSERT_TRUE(!dl_is_elided || !dl_affects_transparent_pixels);
4572
4573 auto sk_mode = static_cast<SkBlendMode>(mode);
4574 SkPaint sk_paint;
4575 sk_paint.setBlendMode(sk_mode);
4576 sk_paint.setColor(ToSk(color));
4577 for (auto& back_end : CanvasCompareTester::TestBackends) {
4578 auto provider = CanvasCompareTester::GetProvider(back_end);
4579 auto result_surface = provider->MakeOffscreenSurface(
4580 test_image->width(), test_image->height(),
4582 SkCanvas* result_canvas = result_surface->sk_surface()->getCanvas();
4583 result_canvas->clear(SK_ColorTRANSPARENT);
4584 result_canvas->drawImage(test_image.get(), 0, 0);
4585 result_canvas->drawRect(test_bounds, sk_paint);
4586 if (GrDirectContext* direct_context = GrAsDirectContext(
4587 result_surface->sk_surface()->recordingContext())) {
4588 direct_context->flushAndSubmit();
4589 direct_context->flushAndSubmit(result_surface->sk_surface().get(),
4591 }
4592 const std::unique_ptr<RenderResult> result_pixels =
4593 std::make_unique<SkRenderResult>(result_surface->sk_surface());
4594
4595 int all_flags = check_image_result(test_data, result_pixels, dl, desc);
4597 }
4598 };
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)
Definition: SkCanvas.cpp:1673
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 4447 of file dl_rendering_unittests.cc.

◆ color_filter_nomtb

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

Definition at line 4446 of file dl_rendering_unittests.cc.

◆ kWasMTB

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

Definition at line 4441 of file dl_rendering_unittests.cc.

◆ kWasNotNop

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

Definition at line 4440 of file dl_rendering_unittests.cc.

◆ test_data

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

Definition at line 4450 of file dl_rendering_unittests.cc.

◆ test_dst_colors

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

Definition at line 4444 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 4453 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 4456 of file dl_rendering_unittests.cc.

◆ test_src_colors

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

Definition at line 4443 of file dl_rendering_unittests.cc.


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