Flutter Engine
The Flutter Engine
|
#include "dm/DMSrcSink.h"
#include "include/codec/SkAndroidCodec.h"
#include "include/codec/SkCodec.h"
#include "include/codec/SkPixmapUtils.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkData.h"
#include "include/core/SkDocument.h"
#include "include/core/SkExecutor.h"
#include "include/core/SkImageGenerator.h"
#include "include/core/SkMallocPixelRef.h"
#include "include/core/SkPictureRecorder.h"
#include "include/core/SkSerialProcs.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkSurface.h"
#include "include/core/SkSurfaceProps.h"
#include "include/docs/SkMultiPictureDocument.h"
#include "include/docs/SkPDFDocument.h"
#include "include/encode/SkPngEncoder.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "include/ports/SkImageGeneratorCG.h"
#include "include/ports/SkImageGeneratorNDK.h"
#include "include/ports/SkImageGeneratorWIC.h"
#include "include/private/base/SkTLogic.h"
#include "include/private/chromium/GrDeferredDisplayList.h"
#include "include/private/chromium/GrSurfaceCharacterization.h"
#include "include/utils/SkNullCanvas.h"
#include "include/utils/SkPaintFilterCanvas.h"
#include "modules/skcms/skcms.h"
#include "modules/skottie/utils/SkottieUtils.h"
#include "modules/skshaper/utils/FactoryHelpers.h"
#include "src/base/SkAutoMalloc.h"
#include "src/base/SkRandom.h"
#include "src/base/SkTLazy.h"
#include "src/codec/SkCodecImageGenerator.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "src/core/SkImageInfoPriv.h"
#include "src/core/SkOSFile.h"
#include "src/core/SkPictureData.h"
#include "src/core/SkPicturePriv.h"
#include "src/core/SkRecordDraw.h"
#include "src/core/SkRecorder.h"
#include "src/core/SkSwizzlePriv.h"
#include "src/core/SkTaskGroup.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "src/gpu/ganesh/image/GrImageUtils.h"
#include "src/image/SkImage_Base.h"
#include "src/utils/SkJSONWriter.h"
#include "src/utils/SkMultiPictureDocumentPriv.h"
#include "src/utils/SkOSPath.h"
#include "src/utils/SkTestCanvas.h"
#include "tools/DDLPromiseImageHelper.h"
#include "tools/DDLTileHelper.h"
#include "tools/EncodeUtils.h"
#include "tools/GpuToolUtils.h"
#include "tools/Resources.h"
#include "tools/RuntimeBlendUtils.h"
#include "tools/ToolUtils.h"
#include "tools/UrlDataManager.h"
#include "tools/debugger/DebugCanvas.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/gpu/BackendSurfaceFactory.h"
#include "tools/gpu/MemoryCache.h"
#include "tests/TestUtils.h"
#include <cmath>
#include <functional>
Go to the source code of this file.
Namespaces | |
namespace | DM |
Typedefs | |
using | DM::DrawToCanvasFn = std::function< DM::Result(SkCanvas *, Src::GraphiteTestContext *)> |
Functions | |
static | DEFINE_bool (RAW_threading, true, "Allow RAW decodes to run on multiple threads?") |
static | DEFINE_int (mskpFrame, 0, "Which MSKP frame to draw?") |
DECLARE_int (gpuThreads) | |
static SkString | DM::get_scaled_name (const Path &path, float scale) |
static bool | DM::serial_from_path_name (const SkString &path) |
static void | DM::swap_rb_if_necessary (SkBitmap &bitmap, CodecSrc::DstColorType dstColorType) |
static bool | DM::get_decode_info (SkImageInfo *decodeInfo, SkColorType canvasColorType, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) |
static void | DM::draw_to_canvas (SkCanvas *canvas, const SkImageInfo &info, void *pixels, size_t rowBytes, CodecSrc::DstColorType dstColorType, SkScalar left=0, SkScalar top=0) |
static void | DM::set_bitmap_color_space (SkImageInfo *info) |
static | DM::DEFINE_int (skpViewportSize, 1000, "Width & height of the viewport used to crop skp rendering.") |
static SkRect | DM::get_cull_rect_for_skp (const char *path) |
static Result | DM::compare_bitmaps (const SkBitmap &reference, const SkBitmap &bitmap) |
static | DM::DEFINE_bool (gpuStats, false, "Append GPU stats to the log for each GPU task?") |
static | DM::DEFINE_bool (preAbandonGpuContext, false, "Test abandoning the GrContext before running the test.") |
static | DM::DEFINE_bool (abandonGpuContext, false, "Test abandoning the GrContext after running each test.") |
static | DM::DEFINE_bool (releaseAndAbandonGpuContext, false, "Test releasing all gpu resources and abandoning the GrContext " "after running each test") |
static | DM::DEFINE_bool (drawOpClip, false, "Clip each GrDrawOp to its device bounds for testing.") |
static | DM::DEFINE_bool (programBinaryCache, true, "Use in-memory program binary cache") |
static Result | DM::draw_skdocument (const Src &src, SkDocument *doc, SkWStream *dst) |
static SkSerialProcs | DM::serial_procs_using_png () |
static Result | DM::draw_to_canvas (Sink *sink, SkBitmap *bitmap, SkWStream *stream, SkString *log, SkISize size, const DrawToCanvasFn &draw) |
static | DM::DEFINE_bool (check, true, "If true, have most Via- modes fail if they affect the output.") |
static Result | DM::check_against_reference (const SkBitmap *bitmap, const Src &src, Sink *sink) |
static SkISize | DM::auto_compute_translate (SkMatrix *matrix, int srcW, int srcH) |
DECLARE_int | ( | gpuThreads | ) |
|
static |