Flutter Engine
The Flutter Engine
|
#include "include/core/SkBitmap.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkFont.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkSize.h"
#include "include/core/SkSurfaceProps.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/AtlasTypes.h"
#include "src/gpu/SkBackingFit.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrDeferredUpload.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrDrawOpAtlas.h"
#include "src/gpu/ganesh/GrDstProxyView.h"
#include "src/gpu/ganesh/GrOnFlushResourceProvider.h"
#include "src/gpu/ganesh/GrOpFlushState.h"
#include "src/gpu/ganesh/GrSurfaceProxy.h"
#include "src/gpu/ganesh/GrSurfaceProxyView.h"
#include "src/gpu/ganesh/GrXferProcessor.h"
#include "src/gpu/ganesh/SurfaceDrawContext.h"
#include "src/gpu/ganesh/ops/AtlasTextOp.h"
#include "src/gpu/ganesh/ops/GrOp.h"
#include "src/gpu/ganesh/text/GrAtlasManager.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/gpu/ganesh/AtlasTextOpTools.h"
#include "tools/gpu/ganesh/GrAtlasTools.h"
#include <cstddef>
#include <cstdint>
#include <memory>
Go to the source code of this file.
Classes | |
class | AssertOnEvict |
class | TestingUploadTarget |
Typedefs | |
using | MaskFormat = skgpu::MaskFormat |
Functions | |
static void | check (skiatest::Reporter *r, GrDrawOpAtlas *atlas, uint32_t expectedActive, uint32_t expectedMax, int expectedAlloced) |
static bool | fill_plot (GrDrawOpAtlas *atlas, GrResourceProvider *resourceProvider, GrDeferredUploadTarget *target, skgpu::AtlasLocator *atlasLocator, int alpha) |
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS (BasicDrawOpAtlas, reporter, ctxInfo, CtsEnforcement::kApiLevel_T) | |
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS (GrAtlasTextOpPreparation, reporter, ctxInfo, CtsEnforcement::kApiLevel_T) | |
void | test_atlas_config (skiatest::Reporter *reporter, int maxTextureSize, size_t maxBytes, MaskFormat maskFormat, SkISize expectedDimensions, SkISize expectedPlotDimensions) |
DEF_GANESH_TEST (GrDrawOpAtlasConfig_Basic, reporter, options, CtsEnforcement::kApiLevel_T) | |
Variables | |
static const int | kNumPlots = 2 |
static const int | kPlotSize = 32 |
static const int | kAtlasSize = kNumPlots * kPlotSize |
using MaskFormat = skgpu::MaskFormat |
Definition at line 53 of file DrawOpAtlasTest.cpp.
|
static |
Definition at line 66 of file DrawOpAtlasTest.cpp.
DEF_GANESH_TEST | ( | GrDrawOpAtlasConfig_Basic | , |
reporter | , | ||
options | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 249 of file DrawOpAtlasTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | BasicDrawOpAtlas | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 118 of file DrawOpAtlasTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | GrAtlasTextOpPreparation | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 182 of file DrawOpAtlasTest.cpp.
|
static |
Definition at line 98 of file DrawOpAtlasTest.cpp.
void test_atlas_config | ( | skiatest::Reporter * | reporter, |
int | maxTextureSize, | ||
size_t | maxBytes, | ||
MaskFormat | maskFormat, | ||
SkISize | expectedDimensions, | ||
SkISize | expectedPlotDimensions | ||
) |
Definition at line 241 of file DrawOpAtlasTest.cpp.
Definition at line 57 of file DrawOpAtlasTest.cpp.
|
static |
Definition at line 55 of file DrawOpAtlasTest.cpp.
|
static |
Definition at line 56 of file DrawOpAtlasTest.cpp.