Home
last modified time | relevance | path

Searched refs:expectedMaskFormat (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp280 int height, int dstRB, GrMaskFormat expectedMaskFormat, in get_packed_glyph_image() argument
292 if (get_packed_glyph_mask_format(glyph) != expectedMaskFormat) { in get_packed_glyph_image()
293 const int bpp = GrMaskFormatBytesPerPixel(expectedMaskFormat); in get_packed_glyph_image()
308 switch (expectedMaskFormat) { in get_packed_glyph_image()
325 const int bbp = GrMaskFormatBytesPerPixel(expectedMaskFormat); in get_packed_glyph_image()
453 GrMaskFormat expectedMaskFormat) { in addGlyphToAtlas() argument
458 int bytesPerPixel = GrMaskFormatBytesPerPixel(expectedMaskFormat); in addGlyphToAtlas()
471 glyph->width() * bytesPerPixel, expectedMaskFormat, in addGlyphToAtlas()
477 bool success = fAtlasGlyphCache->addToAtlas(this, &glyph->fID, target, expectedMaskFormat, in addGlyphToAtlas()
DGrAtlasGlyphCache.h48 GrMaskFormat expectedMaskFormat, in getGlyph() argument
57 glyph->fMaskFormat = expectedMaskFormat; in getGlyph()
68 GrMaskFormat expectedMaskFormat);