Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInOp.cpp181 fGlyphs[glyphOffset] = strike->getGlyph(id, info->maskFormat(), lazyCache->get()); in regenInOp()
185 SkASSERT(glyph && glyph->fMaskFormat == info->maskFormat()); in regenInOp()
188 !strike->addGlyphToAtlas(target, glyph, lazyCache->get(), info->maskFormat())) { in regenInOp()
195 info->maskFormat()); in regenInOp()
200 log2Width = fontCache->log2Width(info->maskFormat()); in regenInOp()
201 log2Height = fontCache->log2Height(info->maskFormat()); in regenInOp()
220 : fontCache->atlasGeneration(info->maskFormat())); in regenInOp()
254 uint64_t currentAtlasGen = fontCache->atlasGeneration(info.maskFormat()); in regenInOp()
271 bool regenerateColors = kARGB_GrMaskFormat != info.maskFormat() && in regenInOp()
325 info.maskFormat()); in regenInOp()
DGrAtlasTextBlob.cpp92 if (run.fInitialized && subRun->maskFormat() != format) { in appendGlyph()
265 GrMaskFormat format = info.maskFormat(); in makeOp()
283 info.maskFormat() == kARGB_GrMaskFormat ? GrColor_WHITE : paint.filteredPremulGrColor(); in makeOp()
300 if (!paint.toGrPaint(info.maskFormat(), rtc, viewMatrix, &grPaint)) { in flushRun()
516 SkASSERT_RELEASE(lSubRun.maskFormat() == rSubRun.maskFormat()); in AssertEqual()
DGrAtlasGlyphCache.cpp355 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in get_packed_glyph_df_image() local
356 if (SkMask::kA8_Format == maskFormat) { in get_packed_glyph_df_image()
362 } else if (SkMask::kBW_Format == maskFormat) { in get_packed_glyph_df_image()
DGrAtlasTextBlob.h171 static size_t GetVertexStride(GrMaskFormat maskFormat) { in GetVertexStride() argument
172 switch (maskFormat) { in GetVertexStride()
408 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
DGrTextUtils.cpp42 bool GrTextUtils::Paint::toGrPaint(GrMaskFormat maskFormat, GrRenderTargetContext* rtc, in toGrPaint() argument
46 if (kARGB_GrMaskFormat == maskFormat) { in toGrPaint()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp452 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage() local
460 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage()
461 SkMask::kA8_Format == maskFormat || in generateGlyphImage()
462 SkMask::kARGB32_Format == maskFormat || in generateGlyphImage()
463 SkMask::kLCD16_Format == maskFormat); in generateGlyphImage()
495 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage()
501 SkColorType_for_SkMaskFormat(maskFormat), in generateGlyphImage()
504 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
526 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage()
531 } else if (SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp87 sk_sp<GrTextureProxy> proxy = fFontCache->getProxy(this->maskFormat()); in onPrepareDraws()
93 GrMaskFormat maskFormat = this->maskFormat(); in onPrepareDraws() local
106 maskFormat, localMatrix, this->usesLocalCoords()); in onPrepareDraws()
111 SkASSERT(vertexStride == GrAtlasTextBlob::GetVertexStride(maskFormat)); in onPrepareDraws()
DGrAtlasTextOp.h40 static std::unique_ptr<GrAtlasTextOp> MakeBitmap(GrMaskFormat maskFormat, int glyphCount, in MakeBitmap() argument
45 switch (maskFormat) { in MakeBitmap()
118 GrMaskFormat maskFormat() const { in maskFormat() function
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp63 if (cte.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
75 if (cte.maskFormat() == kA565_GrMaskFormat) { in onEmitCode()
102 key |= gp.maskFormat() << 1; in GenKey()
DGrBitmapTextGeoProc.h40 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