Home
last modified time | relevance | path

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

/external/skqp/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp152 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()
DGrTextBlob.cpp171 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()
DGrTextBlob.h156 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/skia/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp152 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()
DGrTextBlob.cpp171 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()
DGrTextBlob.h159 static size_t GetVertexStride(GrMaskFormat maskFormat, bool hasWCoord) { in GetVertexStride() argument
160 switch (maskFormat) { in GetVertexStride()
309 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp567 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/ports/
DSkFontHost_FreeType_common.cpp567 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/skia/src/gpu/ops/
DGrAtlasTextOp.cpp29 GrMaskFormat maskFormat, in MakeBitmap() argument
36 switch (maskFormat) { in MakeBitmap()
290 GrMaskFormat maskFormat = this->maskFormat(); in onPrepareDraws() local
293 const sk_sp<GrTextureProxy>* proxies = atlasManager->getProxies(maskFormat, &numActiveProxies); in onPrepareDraws()
321 samplerState, maskFormat, localMatrix, vmPerspective); in onPrepareDraws()
406 GrMaskFormat maskFormat = this->maskFormat(); in flush() local
409 const sk_sp<GrTextureProxy>* proxies = atlasManager->getProxies(maskFormat, &numActiveProxies); in flush()
DGrAtlasTextOp.h119 GrMaskFormat maskFormat() const { in maskFormat() function
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp29 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()
DGrAtlasTextOp.h45 GrMaskFormat maskFormat,
118 GrMaskFormat maskFormat() const { in maskFormat() function
/external/skia/tests/
DDrawOpAtlasTest.cpp236 GrMaskFormat maskFormat, SkISize expectedDimensions, in test_atlas_config() argument
239 REPORTER_ASSERT(reporter, config.atlasDimensions(maskFormat) == expectedDimensions); in test_atlas_config()
240 REPORTER_ASSERT(reporter, config.plotDimensions(maskFormat) == expectedPlotDimensions); in test_atlas_config()
/external/skqp/tests/
DDrawOpAtlasTest.cpp237 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/gpu/effects/
DGrBitmapTextGeoProc.cpp71 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
104 key |= btgp.maskFormat() << 1; in GenKey()
DGrBitmapTextGeoProc.h44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
/external/skqp/src/gpu/effects/
DGrBitmapTextGeoProc.cpp72 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
105 key |= btgp.maskFormat() << 1; in GenKey()
DGrBitmapTextGeoProc.h44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() function
/external/skia/src/core/
DSkGlyphRunPainter.cpp734 auto maskFormat = this->maskFormat(); in appendGlyph() local
735 size_t vertexStride = GetVertexStride(maskFormat, hasW); in appendGlyph()
773 if (fInitialized && subRun->maskFormat() != format) { in switchSubRunIfNeededAndAppendGlyph()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp608 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/
DGrRenderTargetContext.cpp79 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, in makeGrPaint() argument
83 if (kARGB_GrMaskFormat == maskFormat) { in makeGrPaint()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp84 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, in makeGrPaint() argument
88 if (kARGB_GrMaskFormat == maskFormat) { in makeGrPaint()