/external/skia/include/core/ |
D | SkMask.h | 33 uint8_t* fImage; member 61 SkASSERT(fImage != NULL); in getAddr1() 62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1() 72 SkASSERT(fImage != NULL); in getAddr8() 73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8() 84 SkASSERT(fImage != NULL); in getAddrLCD16() 85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16() 97 SkASSERT(fImage != NULL); in getAddrLCD32() 98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD32() 137 fImage = maskImage; in SkAutoMaskFreeImage() [all …]
|
D | SkScalerContext.h | 33 void* fImage; member 46 fImage = NULL; in init()
|
/external/skia/src/gpu/mesa/ |
D | SkMesaGLContext.cpp | 33 , fImage(NULL) { in SkMesaGLContext() 42 if (fImage) { in destroyGLContext() 43 sk_free(fImage); in destroyGLContext() 67 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE * in createGLContext() 69 if (!fImage) { in createGLContext() 77 fImage, in createGLContext() 98 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage, in makeCurrent()
|
/external/skia/tests/ |
D | AAClipTest.cpp | 19 if (!a.fImage && !b.fImage) { in operator ==() 22 if (!a.fImage || !b.fImage) { in operator ==() 47 const char* aptr = (const char*)a.fImage; in operator ==() 48 const char* bptr = (const char*)b.fImage; in operator ==() 65 mask->fImage = NULL; in copyToMask() 71 mask->fImage = SkMask::AllocImage(mask->computeImageSize()); in copyToMask() 72 sk_bzero(mask->fImage, mask->computeImageSize()); in copyToMask() 77 bitmap.setPixels(mask->fImage); in copyToMask() 112 SkMask::FreeImage(mask0.fImage); in operator ==() 113 SkMask::FreeImage(mask1.fImage); in operator ==() [all …]
|
/external/skia/src/effects/ |
D | SkEmbossMaskFilter.cpp | 81 if (src.fImage == NULL) { in filterMask() 88 uint8_t* alphaPlane = dst->fImage; in filterMask() 93 dst->fImage = SkMask::AllocImage(planeSize * 3); in filterMask() 94 memcpy(dst->fImage, alphaPlane, planeSize); in filterMask() 113 memcpy(dst->fImage, src.fImage, src.computeImageSize()); in filterMask()
|
D | SkKernel33MaskFilter.cpp | 18 dst->fImage = NULL; in filterMask() 23 if (NULL == src.fImage) { in filterMask() 32 dst->fImage = SkMask::AllocImage(size); in filterMask() 37 const uint8_t* srcImage = src.fImage; in filterMask() 38 uint8_t* dstImage = dst->fImage; in filterMask()
|
D | SkTableMaskFilter.cpp | 37 dst->fImage = NULL; in filterMask() 39 if (src.fImage) { in filterMask() 40 dst->fImage = SkMask::AllocImage(dst->computeImageSize()); in filterMask() 42 const uint8_t* srcP = src.fImage; in filterMask() 43 uint8_t* dstP = dst->fImage; in filterMask()
|
D | SkLayerRasterizer.cpp | 105 mask->fImage = SkMask::AllocImage(size); in onRasterize() 106 memset(mask->fImage, 0, size); in onRasterize() 123 device.setPixels(mask->fImage); in onRasterize()
|
D | SkBlurMask.cpp | 589 dst->fImage = NULL; in Blur() 591 if (src.fImage) { in Blur() 599 const uint8_t* sp = src.fImage; in Blur() 643 dst->fImage = dp; in Blur() 652 dst->fImage = SkMask::AllocImage(srcSize); in Blur() 653 merge_src_with_blur(dst->fImage, src.fRowBytes, in Blur()
|
D | SkEmbossMask.cpp | 95 uint8_t* alpha = mask->fImage; in Emboss()
|
/external/skia/src/core/ |
D | SkScalerContext.cpp | 27 mask->fImage = (uint8_t*)fImage; in toMask() 320 src.fImage = NULL; // only want the bounds from the filter in getMetrics() 322 SkASSERT(dst.fImage == NULL); in getMetrics() 360 uint16_t* dstP = (uint16_t*)dst.fImage; in copyToLCD16() 395 uint16_t* dstP = (uint16_t*)dst.fImage; in pack3xHToLCD16() 415 SkPMColor* dstP = (SkPMColor*)dst.fImage; in pack3xHToLCD32() 475 bm.setPixels(mask.fImage); in generateMask() 514 tmpGlyph.fImage = origGlyph.fImage; in getImage() 532 sk_bzero(glyph->fImage, mask.computeImageSize()); in getImage() 561 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage() [all …]
|
D | SkMaskFilter.cpp | 31 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath() 36 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath() 62 srcM.fImage = NULL; in computeFastBounds()
|
D | SkMask.cpp | 70 SkASSERT(fImage); in getAddr() 72 char* addr = (char*)fImage; in getAddr()
|
D | SkScan_AntiPath.cpp | 426 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter() 539 uint8_t* row = fMask.fImage + iy * fMask.fRowBytes + (x >> SHIFT); in blitH() 551 SkASSERT(row >= fMask.fImage); in blitH() 552 SkASSERT(row < fMask.fImage + kMAX_STORAGE + 1); in blitH() 564 SkASSERT(row >= fMask.fImage); in blitH() 565 SkASSERT(row + n + 1 < fMask.fImage + kMAX_STORAGE + 1); in blitH()
|
D | SkGlyphCache.cpp | 291 if (glyph.fImage == NULL) { in findImage() 293 const_cast<SkGlyph&>(glyph).fImage = fImageAlloc.alloc(size, in findImage() 296 if (glyph.fImage) { in findImage() 306 return glyph.fImage; in findImage() 661 if (glyph->fImage) { in validate() 662 SkASSERT(fImageAlloc.contains(glyph->fImage)); in validate()
|
D | SkDraw.cpp | 813 dstM.fImage = NULL; in drawDevMask() 815 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask() 975 SkMask::FreeImage(mask.fImage); in drawPath() 1050 mask.fImage = bitmap.getAddr8(0, 0); in drawBitmapAsMask() 1083 mask.fImage = (uint8_t*)storage.get(); in drawBitmapAsMask() 1084 memset(mask.fImage, 0, size); in drawBitmapAsMask() 1091 device.setPixels(mask.fImage); in drawBitmapAsMask() 1370 uint8_t* aa = (uint8_t*)glyph.fImage; in D1G_NoBounder_RectClip() 1380 mask.fImage = aa; in D1G_NoBounder_RectClip() 1403 const uint8_t* aa = (const uint8_t*)glyph.fImage; in D1G_NoBounder_RgnClip() [all …]
|
D | SkRasterizer.cpp | 29 srcM.fImage = NULL; in rasterize()
|
D | SkBitmap.cpp | 1310 srcM.fImage = NULL; in extractAlpha() 1332 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha() 1333 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha() 1335 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() 1339 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha() 1349 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha()
|
D | SkAAClip.cpp | 1763 mask->fImage = NULL; in copyToMask() 1771 mask->fImage = SkMask::AllocImage(size); in copyToMask() 1774 uint8_t* dst = mask->fImage; in copyToMask() 2062 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8() 2064 uint8_t* SK_RESTRICT dst = (uint8_t*)dstMask->fImage; in upscaleBW2A8() 2108 grayMask.fImage = NULL; in blitMask() 2114 grayMask.fImage = (uint8_t*)fGrayMaskScratch.reset(size, in blitMask() 2136 rowMask.fImage = (uint8_t*)fScanlineScratch; in blitMask() 2150 mergeProc(src, width, row, initialCount, rowMask.fImage); in blitMask()
|
/external/skia/samplecode/ |
D | SampleAAClip2.cpp | 29 SkAutoMaskFreeImage amfi(mask.fImage); in drawClip() 33 bm.setPixels(mask.fImage); in drawClip() 48 SkAutoMaskFreeImage amfi(mask.fImage); in paint_rgn() 52 bm.setPixels(mask.fImage); in paint_rgn()
|
D | SampleAAClip.cpp | 47 SkAutoMaskFreeImage amfi(mask.fImage); in drawClip() 51 bm.setPixels(mask.fImage); in drawClip()
|
D | SampleStrokePath.cpp | 49 src.fImage = cell; 64 uint8_t* dstPtr = dst.fImage;
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 292 SkBitmap fImage; member in SkPDFShader::State 519 fState.get()->fImage.lockPixels(); in SkPDFImageShader() 537 const SkBitmap* image = &fState.get()->fImage; in SkPDFImageShader() 708 fState.get()->fImage.unlockPixels(); in SkPDFImageShader() 803 bitmapType = shader.asABitmap(&fImage, &matrix, fImageTileModes, NULL); in State() 805 fImage.reset(); in State() 809 fPixelGeneration = fImage.getGenerationID(); in State()
|
/external/skia/include/gpu/gl/ |
D | SkMesaGLContext.h | 45 GrGLubyte *fImage; variable
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 775 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_bw() 818 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_a8() 833 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd16() 848 SkPMColor* SK_RESTRICT dst = (SkPMColor*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd32() 898 sk_bzero(glyph.fImage, glyph.computeImageSize()); in generateImage() 920 uint8_t* dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in generateImage()
|