#include "flutter/display_list/dl_canvas.h"#include "flutter/display_list/dl_sampling_options.h"#include "flutter/display_list/dl_vertices.h"#include "flutter/display_list/testing/dl_test_surface_provider.h"#include "third_party/benchmark/include/benchmark/benchmark.h"Go to the source code of this file.
Namespaces | |
| namespace | flutter |
| namespace | flutter::testing |
Macros | |
| #define | DRAW_LINE_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_RECT_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_OVAL_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_CIRCLE_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_ARC_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_PATH_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_POINTS_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_VERTICES_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_RRECT_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_DRRECT_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_IMAGE_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_IMAGE_RECT_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_IMAGE_NINE_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_TEXT_BLOB_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | DRAW_SHADOW_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | SAVE_LAYER_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | STROKE_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | FILL_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | ANTI_ALIASING_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | OTHER_BENCHMARKS(BACKEND, ATTRIBUTES) |
| #define | RUN_DISPLAYLIST_BENCHMARKS(BACKEND) |
Typedefs | |
| using | flutter::testing::BackendType = DlSurfaceProvider::BackendType |
Enumerations | |
| enum | flutter::testing::BenchmarkAttributes { flutter::testing::kEmpty = 0 , flutter::testing::kStrokedStyle = 1 << 0 , flutter::testing::kFilledStyle = 1 << 1 , flutter::testing::kHairlineStroke = 1 << 2 , flutter::testing::kWideStroke10 = 1 << 3 , flutter::testing::kAntiAliasing = 1 << 4 , flutter::testing::kShadow5 = 1 << 5 , flutter::testing::kShadow10 = 1 << 6 } |
| enum class | flutter::testing::RRectType { flutter::testing::kSimple , flutter::testing::kNinePatch , flutter::testing::kComplex } |
| enum class | flutter::testing::PathVerb { flutter::testing::kLine , flutter::testing::kQuad , flutter::testing::kConic , flutter::testing::kCubic } |
Functions | |
| void | flutter::testing::BM_DrawLine (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawRect (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawCircle (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawOval (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawArc (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawRRect (benchmark::State &state, BackendType backend_type, unsigned attributes, RRectType type) |
| void | flutter::testing::BM_DrawDRRect (benchmark::State &state, BackendType backend_type, unsigned attributes, RRectType type) |
| void | flutter::testing::BM_DrawPath (benchmark::State &state, BackendType backend_type, unsigned attributes, PathVerb type) |
| void | flutter::testing::BM_DrawPoints (benchmark::State &state, BackendType backend_type, unsigned attributes, DlPointMode mode) |
| void | flutter::testing::BM_DrawVertices (benchmark::State &state, BackendType backend_type, unsigned attributes, DlVertexMode mode) |
| void | flutter::testing::BM_DrawImage (benchmark::State &state, BackendType backend_type, unsigned attributes, DlImageSampling options, bool upload_bitmap) |
| void | flutter::testing::BM_DrawImageRect (benchmark::State &state, BackendType backend_type, unsigned attributes, DlImageSampling options, DlSrcRectConstraint constraint, bool upload_bitmap) |
| void | flutter::testing::BM_DrawImageNine (benchmark::State &state, BackendType backend_type, unsigned attributes, const DlFilterMode filter, bool upload_bitmap) |
| void | flutter::testing::BM_DrawTextBlob (benchmark::State &state, BackendType backend_type, unsigned attributes) |
| void | flutter::testing::BM_DrawShadow (benchmark::State &state, BackendType backend_type, unsigned attributes, bool transparent_occluder, PathVerb type) |
| void | flutter::testing::BM_SaveLayer (benchmark::State &state, BackendType backend_type, unsigned attributes, size_t save_depth) |
| #define ANTI_ALIASING_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 571 of file dl_benchmarks.h.
| #define DRAW_ARC_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 152 of file dl_benchmarks.h.
| #define DRAW_CIRCLE_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 142 of file dl_benchmarks.h.
| #define DRAW_DRRECT_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 301 of file dl_benchmarks.h.
| #define DRAW_IMAGE_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 330 of file dl_benchmarks.h.
| #define DRAW_IMAGE_NINE_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 396 of file dl_benchmarks.h.
| #define DRAW_IMAGE_RECT_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 350 of file dl_benchmarks.h.
| #define DRAW_LINE_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 112 of file dl_benchmarks.h.
| #define DRAW_OVAL_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 132 of file dl_benchmarks.h.
| #define DRAW_PATH_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 162 of file dl_benchmarks.h.
| #define DRAW_POINTS_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 208 of file dl_benchmarks.h.
| #define DRAW_RECT_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 122 of file dl_benchmarks.h.
| #define DRAW_RRECT_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 272 of file dl_benchmarks.h.
| #define DRAW_SHADOW_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 445 of file dl_benchmarks.h.
| #define DRAW_TEXT_BLOB_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 434 of file dl_benchmarks.h.
| #define DRAW_VERTICES_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 237 of file dl_benchmarks.h.
| #define FILL_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 560 of file dl_benchmarks.h.
| #define OTHER_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 576 of file dl_benchmarks.h.
| #define RUN_DISPLAYLIST_BENCHMARKS | ( | BACKEND | ) |
Definition at line 582 of file dl_benchmarks.h.
| #define SAVE_LAYER_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 527 of file dl_benchmarks.h.
| #define STROKE_BENCHMARKS | ( | BACKEND, | |
| ATTRIBUTES | |||
| ) |
Definition at line 547 of file dl_benchmarks.h.