#include <GrAtlasTools.h>
Definition at line 18 of file GrAtlasTools.h.
◆ Dump()
Definition at line 79 of file GrAtlasTools.cpp.
79 {
81 static int gDumpCount = 0;
83 if (am->fAtlases[
i]) {
85 for (uint32_t pageIdx = 0; pageIdx < am->fAtlases[
i]->numActivePages(); ++pageIdx) {
88#ifdef SK_BUILD_FOR_ANDROID
89 filename.
printf(
"/sdcard/fontcache_%d%d%d.png", gDumpCount,
i, pageIdx);
90#else
91 filename.
printf(
"fontcache_%d%d%u.png", gDumpCount,
i, pageIdx);
92#endif
96 }
97 }
98 }
99 ++gDumpCount;
100}
static constexpr GrColorType SkColorTypeToGrColorType(SkColorType ct)
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
static constexpr SkColorType MaskFormatToColorType(MaskFormat format)
static const int kMaskFormatCount
◆ SetAtlasDimensionsToMinimum()
void GrAtlasManagerTools::SetAtlasDimensionsToMinimum |
( |
GrAtlasManager * |
am | ) |
|
|
static |
Definition at line 102 of file GrAtlasTools.cpp.
102 {
104
105
107 am->fAtlases[
i] =
nullptr;
108 }
109
110
112}
◆ SetMaxPages()
void GrAtlasManagerTools::SetMaxPages |
( |
GrAtlasManager * |
am, |
|
|
uint32_t |
maxPages |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: