Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRect.h"
#include "include/core/SkSurface.h"
#include "include/core/SkYUVAInfo.h"
#include "include/core/SkYUVAPixmaps.h"
#include "include/effects/SkGradientShader.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
#include "src/base/SkScopeExit.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/gpu/YUVUtils.h"
#include <variant>
Go to the source code of this file.
Classes | |
class | Type::kRGBA::AyncYUVNoScaleGM |
Namespaces | |
namespace | Type |
namespace | Type::kRGBA |
Macros | |
#define | DEF_RESCALE_AND_READ_GRID_GM(IMAGE_FILE, TAG, SRC_RECT, W, H, SOURCE, TYPE) |
Functions | |
DEF_RESCALE_AND_READ_GRID_GM (images/yellow_rose.webp, yuv420_rose, SkIRect::MakeXYWH(50, 5, 200, 150), 410, 376, ReadSource::kSurface, Type::kYUVA) DEF_RESCALE_AND_READ_GRID_GM(images/yellow_rose.webp | |
Type::kYUV | DEF_RESCALE_AND_READ_GRID_GM (images/yellow_rose.webp, rose, SkIRect::MakeXYWH(100, 20, 100, 100), 410, 410, ReadSource::kSurface, Type::kRGBA) DEF_RESCALE_AND_READ_GRID_GM(images/dog.jpg |
Type::kYUV Type::kRGBA | DEF_RESCALE_AND_READ_GRID_GM (images/dog.jpg, dog_up, SkIRect::MakeWH(180, 180), 800, 400, ReadSource::kImage, Type::kRGBA) DEF_RESCALE_AND_READ_GRID_GM(images/text.png |
Type::kYUV Type::kRGBA() | int (0.7 *637) |
Type::kYUV Type::kRGBA()() Type::kRGBA | DEF_RESCALE_AND_READ_GRID_GM (images/text.png, text_up, SkIRect::MakeWH(637, 105),(int)(1.2 *637),(int)(1.2 *105), ReadSource::kSurface, Type::kRGBA) DEF_RESCALE_AND_READ_GRID_GM(images/text.png |
Type::kYUV Type::kRGBA()() Type::kRGBA() | int (2.4 *300) |
Variables | |
yuv420_rose_down | |
Type::kYUV | dog_down |
Type::kYUV Type::kRGBA | text_down |
Type::kYUV Type::kRGBA()() Type::kRGBA | text_up_large |
Definition at line 462 of file asyncrescaleandread.cpp.
Type::kYUV Type::kRGBA DEF_RESCALE_AND_READ_GRID_GM | ( | images/dog. | jpg, |
dog_up | , | ||
SkIRect::MakeWH(180, 180) | , | ||
800 | , | ||
400 | , | ||
ReadSource::kImage | , | ||
Type::kRGBA | |||
) |
Type::kYUV Type::kRGBA()() Type::kRGBA DEF_RESCALE_AND_READ_GRID_GM | ( | images/text. | png, |
text_up | , | ||
SkIRect::MakeWH(637, 105) | , | ||
(int)(1.2 *637) | , | ||
(int)(1.2 *105) | , | ||
ReadSource::kSurface | , | ||
Type::kRGBA | |||
) |
Type::kYUV DEF_RESCALE_AND_READ_GRID_GM | ( | images/yellow_rose. | webp, |
rose | , | ||
SkIRect::MakeXYWH(100, 20, 100, 100) | , | ||
410 | , | ||
410 | , | ||
ReadSource::kSurface | , | ||
Type::kRGBA | |||
) |
DEF_RESCALE_AND_READ_GRID_GM | ( | images/yellow_rose. | webp, |
yuv420_rose | , | ||
SkIRect::MakeXYWH(50, 5, 200, 150) | , | ||
410 | , | ||
376 | , | ||
ReadSource::kSurface | , | ||
Type::kYUVA | |||
) |
Type::kYUV Type::kRGBA() int | ( | 0.7 * | 637 | ) |
Type::kYUV Type::kRGBA()() Type::kRGBA() int | ( | 2.4 * | 300 | ) |
Type::kYUV dog_down |
Definition at line 491 of file asyncrescaleandread.cpp.
Type::kYUV Type::kRGBA text_down |
Definition at line 507 of file asyncrescaleandread.cpp.
Type::kYUV Type::kRGBA()() Type::kRGBA text_up_large |
Definition at line 523 of file asyncrescaleandread.cpp.
yuv420_rose_down |
Definition at line 475 of file asyncrescaleandread.cpp.