/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/skia/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 | 159 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/ |
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/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/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 29 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()
|
D | GrAtlasTextOp.h | 119 GrMaskFormat maskFormat() const { in maskFormat() function
|
/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/tests/ |
D | DrawOpAtlasTest.cpp | 236 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/ |
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/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 71 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode() 104 key |= btgp.maskFormat() << 1; in GenKey()
|
D | GrBitmapTextGeoProc.h | 44 GrMaskFormat 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/core/ |
D | SkGlyphRunPainter.cpp | 734 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/ |
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()
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 84 void makeGrPaint(GrMaskFormat maskFormat, const SkPaint& skPaint, const SkMatrix& viewMatrix, in makeGrPaint() argument 88 if (kARGB_GrMaskFormat == maskFormat) { in makeGrPaint()
|