Flutter Engine
The Flutter Engine
|
#include "include/core/SkAlphaType.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorFilter.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkColorType.h"
#include "include/core/SkFont.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkOverdrawCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkRegion.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkColorMatrix.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrTypes.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkTo.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "src/core/SkCanvasPriv.h"
#include "src/gpu/ganesh/Device.h"
#include "src/gpu/ganesh/GrCanvas.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrColorInfo.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "src/gpu/ganesh/GrRenderTarget.h"
#include "src/gpu/ganesh/GrRenderTargetProxy.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include "src/gpu/ganesh/GrTextureProxy.h"
#include "src/gpu/ganesh/SurfaceContext.h"
#include "src/gpu/ganesh/SurfaceFillContext.h"
#include "src/gpu/ganesh/image/GrImageUtils.h"
#include "src/gpu/ganesh/surface/SkSurface_Ganesh.h"
#include "src/image/SkImage_Base.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include "tests/TestHarness.h"
#include "tools/RuntimeBlendUtils.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/gpu/BackendSurfaceFactory.h"
#include "tools/gpu/ManagedBackendTexture.h"
#include "tools/gpu/ProxyUtils.h"
#include <cstddef>
#include <cstdint>
#include <initializer_list>
#include <limits>
#include <memory>
#include <utility>
Go to the source code of this file.
Classes | |
struct | ReleaseChecker |
Macros | |
#define | EXPECT_COPY_ON_WRITE(command) |
#define EXPECT_COPY_ON_WRITE | ( | command | ) |
|
static |
Definition at line 748 of file SurfaceTest.cpp.
|
static |
Definition at line 98 of file SurfaceTest.cpp.
|
static |
Definition at line 117 of file SurfaceTest.cpp.
|
static |
Definition at line 108 of file SurfaceTest.cpp.
|
static |
Definition at line 838 of file SurfaceTest.cpp.
|
static |
Definition at line 797 of file SurfaceTest.cpp.
|
static |
Definition at line 90 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_GL_CONTEXT | ( | SurfaceAttachStencil_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 1089 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_GL_CONTEXT | ( | SurfaceClear_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 889 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | GrContext_colorTypeSupportedAsSurface | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 142 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | GrContext_maxSurfaceSamplesForColorType | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 242 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | OverdrawSurface_Gpu | , |
r | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 1254 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | ReplaceSurfaceBackendTexture | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 1124 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceAbandonPostFlush_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 448 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceBackendAccessAbandoned_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 466 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceBackendHandleAccessIDs_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 429 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceBackendSurfaceAccessCopyOnWrite_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 380 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceBudget | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 678 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceCanvasPeek_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 312 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceCopyOnWrite_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 555 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceCRBug263329_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 627 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceEmpty_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 132 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceNoCanvas_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 732 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfacePartialDraw_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 989 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfacepeekTexture_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 645 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceSnapshotAlphaType_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 342 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceWrappedWithRelease_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 1017 of file SurfaceTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SurfaceWriteableAfterSnapshotRelease_Gpu | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 578 of file SurfaceTest.cpp.
DEF_TEST | ( | OverdrawSurface_Raster | , |
r | |||
) |
Definition at line 1249 of file SurfaceTest.cpp.
DEF_TEST | ( | surface_image_unity | , |
reporter | |||
) |
Definition at line 1277 of file SurfaceTest.cpp.
DEF_TEST | ( | Surface_null | , |
r | |||
) |
Definition at line 1263 of file SurfaceTest.cpp.
DEF_TEST | ( | surface_raster_zeroinitialized | , |
reporter | |||
) |
Definition at line 785 of file SurfaceTest.cpp.
DEF_TEST | ( | surface_rowbytes | , |
reporter | |||
) |
Definition at line 768 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceCanvasPeek | , |
reporter | |||
) |
Definition at line 305 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceCopyOnWrite | , |
reporter | |||
) |
Definition at line 552 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceEmpty | , |
reporter | |||
) |
Definition at line 127 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceGetTexture | , |
reporter | |||
) |
Definition at line 638 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceNoCanvas | , |
reporter | |||
) |
Definition at line 723 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceSnapshotAlphaType | , |
reporter | |||
) |
Definition at line 334 of file SurfaceTest.cpp.
DEF_TEST | ( | SurfaceWriteableAfterSnapshotRelease | , |
reporter | |||
) |
Definition at line 575 of file SurfaceTest.cpp.
|
static |
Definition at line 667 of file SurfaceTest.cpp.
|
static |
Definition at line 674 of file SurfaceTest.cpp.
|
static |
Definition at line 86 of file SurfaceTest.cpp.
Definition at line 829 of file SurfaceTest.cpp.
|
static |
Definition at line 367 of file SurfaceTest.cpp.
|
static |
Definition at line 355 of file SurfaceTest.cpp.
|
static |
Definition at line 405 of file SurfaceTest.cpp.
|
static |
Definition at line 278 of file SurfaceTest.cpp.
|
static |
Definition at line 496 of file SurfaceTest.cpp.
|
static |
Definition at line 588 of file SurfaceTest.cpp.
|
static |
Definition at line 705 of file SurfaceTest.cpp.
|
static |
Definition at line 711 of file SurfaceTest.cpp.
|
static |
Definition at line 1235 of file SurfaceTest.cpp.
|
static |
Definition at line 323 of file SurfaceTest.cpp.
|
static |
Definition at line 856 of file SurfaceTest.cpp.
|
static |
Definition at line 937 of file SurfaceTest.cpp.
|
static |
Definition at line 565 of file SurfaceTest.cpp.