/external/skqp/src/gpu/text/ |
D | GrTextBlobVertexRegenerator.cpp | 152 if (kARGB_GrMaskFormat != fSubRun->maskFormat() && fSubRun->color() != color) { in VertexRegenerator() 186 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in doRegen() 204 SkASSERT(glyph && glyph->fMaskFormat == fSubRun->maskFormat()); in doRegen() 210 fLazyCache->get(), fSubRun->maskFormat(), in doRegen() 250 : fFullAtlasManager->atlasGeneration(fSubRun->maskFormat())); in doRegen() 255 fSubRun->maskFormat()); in doRegen() 261 uint64_t currentAtlasGen = fFullAtlasManager->atlasGeneration(fSubRun->maskFormat()); in regenerate() 276 auto vertexStride = GetVertexStride(fSubRun->maskFormat(), hasW); in regenerate() 287 fSubRun->maskFormat()); in regenerate()
|
D | GrTextBlob.cpp | 171 GrMaskFormat format = info.maskFormat(); in makeOp() 174 target->makeGrPaint(info.maskFormat(), paint, viewMatrix, &grPaint); in makeOp() 193 geometry.fColor = info.maskFormat() == kARGB_GrMaskFormat ? SK_PMColor4fWHITE : filteredColor; in makeOp() 449 SkASSERT_RELEASE(lSubRun.maskFormat() == rSubRun.maskFormat()); in AssertEqual()
|
D | GrTextBlob.h | 156 static size_t GetVertexStride(GrMaskFormat maskFormat, bool hasWCoord) { in GetVertexStride() argument 157 switch (maskFormat) { in GetVertexStride() 309 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 567 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage() local 575 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage() 576 SkMask::kA8_Format == maskFormat || in generateGlyphImage() 577 SkMask::kARGB32_Format == maskFormat || in generateGlyphImage() 578 SkMask::kLCD16_Format == maskFormat); in generateGlyphImage() 610 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage() 616 SkColorType_for_SkMaskFormat(maskFormat), in generateGlyphImage() 619 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage() 649 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage() 654 } else if (SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
|
/external/skqp/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 29 GrMaskFormat maskFormat, in MakeBitmap() argument 36 switch (maskFormat) { in MakeBitmap() 287 GrMaskFormat maskFormat = this->maskFormat(); in onPrepareDraws() local 290 const sk_sp<GrTextureProxy>* proxies = atlasManager->getProxies(maskFormat, &numActiveProxies); in onPrepareDraws() 321 samplerState, maskFormat, localMatrix, vmPerspective); in onPrepareDraws() 400 GrMaskFormat maskFormat = this->maskFormat(); in flush() local 403 const sk_sp<GrTextureProxy>* proxies = atlasManager->getProxies(maskFormat, &numActiveProxies); in flush()
|
D | GrAtlasTextOp.h | 45 GrMaskFormat maskFormat, 118 GrMaskFormat maskFormat() const { in maskFormat() function
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 212 GrMaskFormat maskFormat = this->maskFormat(); in onPrepareDraws() local 215 const GrSurfaceProxyView* views = atlasManager->getViews(maskFormat, &numActiveViews); in onPrepareDraws() 249 false, views, numActiveViews, filter, maskFormat, localMatrix, fHasPerspective); in onPrepareDraws() 345 GrMaskFormat maskFormat = this->maskFormat(); in createDrawForGeneratedGlyphs() local 348 const GrSurfaceProxyView* views = atlasManager->getViews(maskFormat, &numActiveViews); in createDrawForGeneratedGlyphs()
|
D | GrAtlasTextOp.h | 199 GrMaskFormat maskFormat() const { in maskFormat() function
|
/external/skia/tests/ |
D | DrawOpAtlasTest.cpp | 247 GrMaskFormat maskFormat, SkISize expectedDimensions, in test_atlas_config() argument 250 REPORTER_ASSERT(reporter, config.atlasDimensions(maskFormat) == expectedDimensions); in test_atlas_config() 251 REPORTER_ASSERT(reporter, config.plotDimensions(maskFormat) == expectedPlotDimensions); in test_atlas_config()
|
/external/skqp/tests/ |
D | DrawOpAtlasTest.cpp | 237 GrMaskFormat maskFormat, SkISize expectedDimensions, in test_atlas_config() argument 240 REPORTER_ASSERT(reporter, config.atlasDimensions(maskFormat) == expectedDimensions); in test_atlas_config() 241 REPORTER_ASSERT(reporter, config.plotDimensions(maskFormat) == expectedPlotDimensions); in test_atlas_config()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 1116 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage() local 1124 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage() 1125 SkMask::kA8_Format == maskFormat || in generateGlyphImage() 1126 SkMask::kARGB32_Format == maskFormat || in generateGlyphImage() 1127 SkMask::kLCD16_Format == maskFormat); in generateGlyphImage() 1158 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage() 1164 SkColorType_for_SkMaskFormat(maskFormat), in generateGlyphImage() 1167 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage() 1188 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage() 1192 } else if (SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
|
D | SkScalerContext_mac_ct.cpp | 168 if (SkMask::kBW_Format != glyph.maskFormat()) { in getCG() 174 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.maskFormat()) { in getCG() 182 if (SkMask::kARGB32_Format == glyph.maskFormat()) { in getCG()
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 66 GrMaskFormat grMaskFormat = GrGlyph::FormatFromSkGlyph(glyph.maskFormat()); in get_packed_glyph_image() 70 if (glyph.maskFormat() != SkMask::kBW_Format) { in get_packed_glyph_image() 152 GrMaskFormat glyphFormat = GrGlyph::FormatFromSkGlyph(skGlyph.maskFormat()); in addGlyphToAtlas()
|
D | GrTextBlob.cpp | 321 GrMaskFormat maskFormat, 368 GrMaskFormat maskFormat, in regenerateAtlas() argument 375 uint64_t currentAtlasGen = atlasManager->atlasGeneration(maskFormat); in regenerateAtlas() 395 if (!atlasManager->hasGlyph(maskFormat, grGlyph)) { in regenerateAtlas() 406 &fBulkUseToken, maskFormat, grGlyph, in regenerateAtlas() 415 fAtlasGeneration = atlasManager->atlasGeneration(maskFormat); in regenerateAtlas() 426 maskFormat); in regenerateAtlas() 1577 GrMaskFormat format = GrGlyph::FormatFromSkGlyph(glyph->maskFormat()); in addMultiMaskFormat() 1581 GrMaskFormat nextFormat = GrGlyph::FormatFromSkGlyph(glyph->maskFormat()); in addMultiMaskFormat() 2302 GrMaskFormat format = GrGlyph::FormatFromSkGlyph(glyph->maskFormat()); in processDeviceMasks() [all …]
|
/external/skia/src/core/ |
D | SkStrikeForGPU.cpp | 19 return FitsInAtlas(glyph) && glyph.maskFormat() == SkMask::kSDF_Format; in CanDrawAsSDFT()
|
D | SkGlyph.cpp | 69 return format_alignment(this->maskFormat()); in formatAlignment() 84 SkDEBUGCODE(SkMask::Format oldFormat = this->maskFormat()); in setImage() 87 SkASSERT(oldFormat == this->maskFormat()); in setImage()
|
D | SkRemoteGlyphCache.cpp | 386 serializer->write<uint8_t>(glyph.maskFormat()); in writeGlyph() 951 uint8_t maskFormat; in ReadGlyph() local 952 if (!deserializer->read<uint8_t>(&maskFormat)) return false; in ReadGlyph() 953 if (!SkMask::IsValidFormat(maskFormat)) return false; in ReadGlyph() 954 glyph->fMaskFormat = static_cast<SkMask::Format>(maskFormat); in ReadGlyph()
|
D | SkGlyph.h | 304 SkMask::Format maskFormat() const { return fMaskFormat; } in maskFormat() function
|
/external/skqp/src/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 72 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode() 105 key |= btgp.maskFormat() << 1; in GenKey()
|
D | GrBitmapTextGeoProc.h | 44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
|
/external/skia/src/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 70 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode() 107 b->addBits(2, btgp.maskFormat(), "maskFormat"); in GenKey()
|
D | GrBitmapTextGeoProc.h | 51 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 608 auto maskFormat = this->maskFormat(); in appendGlyph() local 609 size_t vertexStride = GetVertexStride(maskFormat, hasW); in appendGlyph() 647 if (fInitialized && subRun->maskFormat() != format) { in switchSubRunIfNeededAndAppendGlyph()
|
/external/skqp/src/gpu/ |
D | GrRenderTargetContext.cpp | 79 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, in makeGrPaint() argument 83 if (kARGB_GrMaskFormat == maskFormat) { in makeGrPaint()
|