/external/skia/src/core/ |
SkGlyph.h | 154 uint8_t fMaskFormat; 162 fMaskFormat = MASK_FORMAT_UNKNOWN; 189 if (SkMask::kBW_Format == fMaskFormat) { 192 } else if (SkMask::kARGB32_Format == fMaskFormat) { 196 } else if (SkMask::kLCD16_Format == fMaskFormat) { 208 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat); 212 return MASK_FORMAT_JUST_ADVANCE == fMaskFormat; 216 return MASK_FORMAT_JUST_ADVANCE != fMaskFormat; 239 fImage, fPath, fID, fMaskFormat fields.
|
SkScalerContext.cpp | 37 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); 43 switch (fMaskFormat) { 92 rec->fMaskFormat, rec->fStrokeJoin, rec->fStrokeCap); 103 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; 128 glyph->fMaskFormat = 0; 164 switch (fRec.fMaskFormat) { 176 if (SkMask::kARGB32_Format != glyph->fMaskFormat) { 177 glyph->fMaskFormat = fRec.fMaskFormat; 182 SkMask::kARGB32_Format == glyph->fMaskFormat) { [all...] |
SkScalerContext.h | 99 uint8_t fMaskFormat; 161 return static_cast<SkMask::Format>(fMaskFormat); 200 // only meaningful if fMaskFormat is kLCD16 205 // only meaningful if fMaskFormat is kA8 206 kGenA8FromLCD_Flag = 0x0800, // could be 0x200 (bit meaning dependent on fMaskFormat) 220 return (SkMask::Format)fRec.fMaskFormat; 294 * TODO: fMaskFormat is set by getMetrics later; cannot be set here. 301 * This method may change glyph.fMaskFormat if the new image size is
|
SkPaint.cpp | [all...] |
SkDraw.cpp | [all...] |
/external/skia/src/gpu/effects/ |
GrBitmapTextGeoProc.h | 40 GrMaskFormat maskFormat() const { return fMaskFormat; } 62 GrMaskFormat fMaskFormat;
|
GrBitmapTextGeoProc.cpp | 126 , fMaskFormat(format) { 130 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || 131 kA565_GrMaskFormat == fMaskFormat;
|
/external/skia/src/gpu/ |
GrGlyph.h | 38 GrMaskFormat fMaskFormat; 48 fMaskFormat = format;
|
/external/skia/src/fonts/ |
SkRandomScalerContext.cpp | 83 glyph->fMaskFormat = format; 124 switch (glyph->fMaskFormat) { 137 SkMask::Format format = (SkMask::Format)glyph.fMaskFormat; 152 const_cast<SkGlyph&>(glyph).fMaskFormat = format; 157 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { 207 rec->fMaskFormat = SkMask::kARGB32_Format;
|
/external/skia/src/gpu/text/ |
GrAtlasGlyphCache.h | 57 glyph->fMaskFormat = expectedMaskFormat; 141 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); 153 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token);
|
GrAtlasTextBlob.h | 361 , fMaskFormat(kA8_GrMaskFormat) 378 , fMaskFormat(that.fMaskFormat) 404 void setMaskFormat(GrMaskFormat format) { fMaskFormat = format; } 405 GrMaskFormat maskFormat() const { return fMaskFormat; } 464 GrMaskFormat fMaskFormat;
|
GrAtlasGlyphCache.cpp | 214 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); 305 if (SkMask::kBW_Format == glyph.fMaskFormat) { 371 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat);
|
GrAtlasTextBlob_regenInOp.cpp | 185 SkASSERT(glyph && glyph->fMaskFormat == info->maskFormat());
|
GrAtlasTextBlob.cpp | 88 GrMaskFormat format = glyph->fMaskFormat; 109 if (kARGB_GrMaskFormat != glyph->fMaskFormat) {
|
GrTextUtils.cpp | 485 if (kA8_GrMaskFormat != glyph->fMaskFormat) {
|
GrStencilAndCoverTextContext.cpp | 556 if (SkMask::kARGB32_Format == glyph.fMaskFormat) {
|
/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 46 return SkMask::kLCD16_Format == rec.fMaskFormat; 274 if (SkMask::kBW_Format == fRec.fMaskFormat) { 339 SkMask::kA8_Format == fRec.fMaskFormat && 558 glyph->fMaskFormat = SkMask::kARGB32_Format; 836 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); [all...] |
SkFontHost_mac.cpp | 822 if (SkMask::kBW_Format != glyph.fMaskFormat) { 828 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) { 836 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { 851 const CGImageAlphaInfo alpha = (SkMask::kARGB32_Format == glyph.fMaskFormat) [all...] |
SkFontHost_FreeType_common.cpp | 409 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { 501 target.pixel_mode = compute_pixel_mode( (SkMask::Format)fRec.fMaskFormat); 518 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); 621 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) {
|
SkFontHost_win.cpp | 62 return SkMask::kLCD16_Format == rec.fMaskFormat; 83 if (SkMask::kA8_Format == rec.fMaskFormat && !isAxisAligned(rec)) { 595 switch (rec.fMaskFormat) { [all...] |
SkFontHost_FreeType.cpp | 79 return SkMask::kLCD16_Format == rec.fMaskFormat; 670 rec->fMaskFormat = SkMask::kA8_Format; 796 if (SkMask::kBW_Format == fRec.fMaskFormat) { [all...] |
SkTypeface_win_dw.cpp | 256 rec->fMaskFormat = SkMask::kA8_Format;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 230 switch (glyph.fMaskFormat) { 251 ALOGD("fitBitmap: unknown glyph format %x encountered", glyph.fMaskFormat);
|
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 223 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat);
|