![]() |
Flutter Engine
The Flutter Engine
|
#include "include/core/SkAlphaType.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkColorType.h"
#include "include/core/SkData.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkFontTypes.h"
#include "include/core/SkGraphics.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSerialProcs.h"
#include "include/core/SkSurface.h"
#include "include/core/SkSurfaceProps.h"
#include "include/core/SkTextBlob.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrContextOptions.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkMutex.h"
#include "include/private/chromium/SkChromeRemoteGlyphCache.h"
#include "include/private/chromium/Slug.h"
#include "src/core/SkFontPriv.h"
#include "src/core/SkGlyph.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkStrikeSpec.h"
#include "src/core/SkTHash.h"
#include "src/core/SkTypeface_remote.h"
#include "src/core/SkWriteBuffer.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/GrShaderCaps.h"
#include "src/text/gpu/SDFTControl.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/fonts/TestEmptyTypeface.h"
#include <cmath>
#include <cstdint>
#include <cstring>
#include <initializer_list>
#include <memory>
#include <optional>
#include <vector>
Go to the source code of this file.
Classes | |
class | DiscardableManager |
class | SkRemoteGlyphCacheTest |
Typedefs | |
using | Slug = sktext::gpu::Slug |
using Slug = sktext::gpu::Slug |
Definition at line 68 of file SkRemoteGlyphCacheTest.cpp.
sk_sp< SkTextBlob > buildTextBlob | ( | sk_sp< SkTypeface > | tf, |
int | glyphCount, | ||
int | textSize = 1 |
||
) |
Definition at line 161 of file SkRemoteGlyphCacheTest.cpp.
|
static |
Definition at line 183 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_CONTEXTS | ( | SkRemoteGlyphCache_SlugSerialization | , |
skgpu::IsRenderingContext | , | ||
reporter | , | ||
ctxInfo | , | ||
use_padding_options | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 398 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_CONTEXTS | ( | SkRemoteGlyphCache_StrikeSerializationSlug | , |
skgpu::IsRenderingContext | , | ||
reporter | , | ||
ctxInfo | , | ||
use_padding_options | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 310 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_CONTEXTS | ( | SkRemoteGlyphCache_StrikeSerializationSlugForcePath | , |
skgpu::IsRenderingContext | , | ||
reporter | , | ||
ctxInfo | , | ||
use_padding_options | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 354 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_CacheMissReporting | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 877 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_DrawTextAsDFT | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 823 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_DrawTextAsMaskWithPathFallback | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 737 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_DrawTextAsPath | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 657 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_DrawTextXY | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 781 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_ReleaseTypeFace | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 442 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_StrikeSerialization | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 260 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_TypefaceWithNoPaths | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 944 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_TypefaceWithPaths_MaskThenPath | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 1019 of file SkRemoteGlyphCacheTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | SkRemoteGlyphCache_TypefaceWithPaths_PathThenMask | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 1078 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkGraphics_Limits | , |
reporter | |||
) |
Definition at line 1165 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkRemoteGlyphCache_ClientMemoryAccounting | , |
reporter | |||
) |
Definition at line 583 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkRemoteGlyphCache_PurgesServerEntries | , |
reporter | |||
) |
Definition at line 611 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkRemoteGlyphCache_StrikeDeletionServer | , |
reporter | |||
) |
Definition at line 508 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkRemoteGlyphCache_StrikeLockingServer | , |
reporter | |||
) |
Definition at line 474 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkRemoteGlyphCache_StrikePinningClient | , |
reporter | |||
) |
Definition at line 543 of file SkRemoteGlyphCacheTest.cpp.
DEF_TEST | ( | SkTypefaceProxy_Basic_Serial | , |
reporter | |||
) |
Definition at line 1137 of file SkRemoteGlyphCacheTest.cpp.
SkSurfaceProps FindSurfaceProps | ( | GrRecordingContext * | rContext | ) |
Definition at line 210 of file SkRemoteGlyphCacheTest.cpp.
sk_sp< SkTextBlob > make_blob_causing_fallback | ( | sk_sp< SkTypeface > | targetTf, |
const SkTypeface * | glyphTf, | ||
skiatest::Reporter * | reporter | ||
) |
Definition at line 702 of file SkRemoteGlyphCacheTest.cpp.
sk_sp< SkTextBlob > MakeEmojiBlob | ( | sk_sp< SkTypeface > | serverTf, |
SkScalar | textSize, | ||
sk_sp< SkTypeface > | clientTf = nullptr |
||
) |
Definition at line 920 of file SkRemoteGlyphCacheTest.cpp.
sk_sp< SkSurface > MakeSurface | ( | int | width, |
int | height, | ||
GrRecordingContext * | rContext | ||
) |
Definition at line 204 of file SkRemoteGlyphCacheTest.cpp.
SkBitmap RasterBlob | ( | sk_sp< SkTextBlob > | blob, |
int | width, | ||
int | height, | ||
const SkPaint & | paint, | ||
GrRecordingContext * | rContext, | ||
const SkMatrix * | matrix = nullptr , |
||
SkScalar | x = 0 |
||
) |
Definition at line 215 of file SkRemoteGlyphCacheTest.cpp.
SkBitmap RasterBlobThroughSlug | ( | sk_sp< SkTextBlob > | blob, |
int | width, | ||
int | height, | ||
const SkPaint & | paint, | ||
GrRecordingContext * | rContext, | ||
const SkMatrix * | matrix = nullptr , |
||
SkScalar | x = 0 |
||
) |
Definition at line 229 of file SkRemoteGlyphCacheTest.cpp.
SkBitmap RasterSlug | ( | sk_sp< Slug > | slug, |
int | width, | ||
int | height, | ||
const SkPaint & | paint, | ||
GrRecordingContext * | rContext, | ||
const SkMatrix * | matrix = nullptr , |
||
SkScalar | x = 0 |
||
) |
Definition at line 245 of file SkRemoteGlyphCacheTest.cpp.
|
static |
Definition at line 306 of file SkRemoteGlyphCacheTest.cpp.