Home
last modified time | relevance | path

Searched refs:maskFormat (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInBatch.cpp191 fGlyphs[glyphOffset] = strike->getGlyph(id, info->maskFormat(), *scaler); in regenInBatch()
195 SkASSERT(glyph && glyph->fMaskFormat == info->maskFormat()); in regenInBatch()
198 !strike->addGlyphToAtlas(target, glyph, *scaler, info->maskFormat())) { in regenInBatch()
205 info->maskFormat()); in regenInBatch()
210 log2Width = fontCache->log2Width(info->maskFormat()); in regenInBatch()
211 log2Height = fontCache->log2Height(info->maskFormat()); in regenInBatch()
230 fontCache->atlasGeneration(info->maskFormat())); in regenInBatch()
266 uint64_t currentAtlasGen = fontCache->atlasGeneration(info.maskFormat()); in regenInBatch()
283 bool regenerateColors = kARGB_GrMaskFormat != info.maskFormat() && in regenInBatch()
315 info.maskFormat()); in regenInBatch()
DGrFontScaler.cpp179 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in getPackedGlyphDFImage() local
180 if (SkMask::kA8_Format == maskFormat) { in getPackedGlyphDFImage()
186 } else if (SkMask::kBW_Format == maskFormat) { in getPackedGlyphDFImage()
DGrAtlasTextBlob.cpp85 if (run.fInitialized && subRun->maskFormat() != format) { in appendGlyph()
261 GrMaskFormat format = info.maskFormat(); in createBatch()
548 SkASSERT_RELEASE(lSubRun.maskFormat() == rSubRun.maskFormat()); in AssertEqual()
DGrAtlasTextBlob.h165 static size_t GetVertexStride(GrMaskFormat maskFormat) { in GetVertexStride() argument
166 switch (maskFormat) { in GetVertexStride()
413 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp392 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage() local
400 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage()
401 SkMask::kA8_Format == maskFormat || in generateGlyphImage()
402 SkMask::kARGB32_Format == maskFormat || in generateGlyphImage()
403 SkMask::kLCD16_Format == maskFormat); in generateGlyphImage()
446 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage()
451 SkColorType_for_SkMaskFormat(maskFormat), in generateGlyphImage()
454 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
470 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage()
475 } else if (SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp92 GrTexture* texture = fFontCache->getTexture(this->maskFormat()); in onPrepareDraws()
98 GrMaskFormat maskFormat = this->maskFormat(); in onPrepareDraws() local
109 maskFormat, in onPrepareDraws()
117 SkASSERT(vertexStride == GrAtlasTextBlob::GetVertexStride(maskFormat)); in onPrepareDraws()
DGrAtlasTextBatch.h34 static GrAtlasTextBatch* CreateBitmap(GrMaskFormat maskFormat, int glyphCount, in CreateBitmap() argument
39 switch (maskFormat) { in CreateBitmap()
118 GrMaskFormat maskFormat() const { in maskFormat() function
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp66 if (cte.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
78 if (cte.maskFormat() == kA565_GrMaskFormat) { in onEmitCode()
111 key |= gp.maskFormat() << 3; in GenKey()
DGrBitmapTextGeoProc.h37 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
/external/skia/src/opts/
DSkBlitMask_opts_none.cpp15 SkMask::Format maskFormat, in PlatformRowProcs() argument
DSkBlitMask_opts_arm.cpp23 SkMask::Format maskFormat, in PlatformRowProcs() argument
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp213 FXDIB_Format maskFormat = pMask->GetFormat(); in SetImage() local
214 if (maskFormat == FXDIB_1bppMask || maskFormat == FXDIB_8bppMask) { in SetImage()