/external/skia/src/core/ |
SkDeviceImageFilterProxy.h | 15 SkDeviceImageFilterProxy(SkDevice* device) : fDevice(device) {} 18 return fDevice->createCompatibleDevice(SkBitmap::kARGB_8888_Config, 22 return fDevice->canHandleImageFilter(filter); 27 return fDevice->filterImage(filter, src, ctm, result, offset); 31 SkDevice* fDevice;
|
SkBlitter_A1.cpp | 19 (unsigned)(x + width) <= (unsigned)fDevice.width()); 24 uint8_t* dst = fDevice.getAddr1(x, y);
|
SkBlitter_A8.cpp | 23 return &fDevice; 30 (unsigned)(x + width) <= (unsigned)fDevice.width()); 36 uint8_t* device = fDevice.getAddr8(x, y); 56 uint8_t* device = fDevice.getAddr8(x, y); 130 SkA8_BlitBW(fDevice, mask, clip); 132 SkA8_BlendBW(fDevice, mask, clip, fSrcA, 142 uint8_t* device = fDevice.getAddr8(x, y); 169 device += fDevice.rowBytes(); 182 uint8_t* device = fDevice.getAddr8(x, y); 183 int rowBytes = fDevice.rowBytes() [all...] |
SkSpriteBlitterTemplate.h | 22 SkSPRITE_DST_TYPE* SK_RESTRICT dst =fDevice->SkSPRITE_DST_GETADDR(x, y); 25 unsigned dstRB = fDevice->rowBytes(); 28 SkDEBUGCODE((void)fDevice->SkSPRITE_DST_GETADDR(x + width - 1, y + height - 1);)
|
SkProcSpriteBlitter.cpp | 21 size_t dstRB = fDevice.rowBytes(); 23 char* dst = (char*)fDevice.getPixels() + y * dstRB + (x << fDstShift);
|
SkBlitter_RGB16.cpp | 208 SkRGB16_Black_BlitBW(fDevice, mask, clip); 210 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); 214 unsigned deviceRB = fDevice.rowBytes() - (width << 1); 238 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 276 SkASSERT(x + width <= fDevice.width()); 277 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 300 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 376 SkRGB16_BlitBW(fDevice, mask, clip, fColor16); 380 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); 384 unsigned deviceRB = fDevice.rowBytes() - (width << 1) [all...] |
SkSpriteBlitter_ARGB32.cpp | 39 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); 42 size_t dstRB = fDevice->rowBytes(); 127 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); 130 unsigned dstRB = fDevice->rowBytes(); 174 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 177 unsigned dstRB = fDevice->rowBytes(); 221 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 224 unsigned dstRB = fDevice->rowBytes(); 250 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 253 unsigned dstRB = fDevice->rowBytes() [all...] |
SkBlitter_ARGB32.cpp | 62 return &fDevice; 73 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 75 uint32_t* device = fDevice.getAddr32(x, y); 86 uint32_t* device = fDevice.getAddr32(x, y); 158 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { 163 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); 165 SkARGB32_Blit32(fDevice, mask, clip, fPMColor); 173 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { 178 SkARGB32_BlitBW(fDevice, mask, clip, fPMColor); 180 SkARGB32_Blit32(fDevice, mask, clip, fPMColor) [all...] |
SkBlitter_4444.cpp | 87 return &fDevice; 128 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 134 SkPMColor16* device = fDevice.getAddr16(x, y); 156 SkPMColor16* device = fDevice.getAddr16(x, y); 159 unsigned rb = fDevice.rowBytes(); 190 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width() && 191 y + height <= fDevice.height()); 197 SkPMColor16* device = fDevice.getAddr16(x, y); 208 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()); 218 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()) [all...] |
/external/skia/src/image/ |
SkSurface_Gpu.cpp | 29 SkGpuDevice* fDevice; 44 fDevice = SkNEW_ARGS(SkGpuDevice, (ctx, config, info.fWidth, info.fHeight, sampleCount)); 47 fDevice->clear(0x0); 53 fDevice = SkNEW_ARGS(SkGpuDevice, (ctx, renderTarget)); 56 fDevice->clear(0x0); 61 SkSafeUnref(fDevice); 65 return SkNEW_ARGS(SkCanvas, (fDevice)); 69 GrRenderTarget* rt = (GrRenderTarget*) fDevice->accessRenderTarget(); 71 return SkSurface::NewRenderTarget(fDevice->context(), info, sampleCount); 76 GrRenderTarget* rt = (GrRenderTarget*) fDevice->accessRenderTarget() [all...] |
/external/skia/legacy/src/effects/ |
SkTransparentShader.cpp | 16 fDevice = &device; 25 switch (fDevice->getConfig()) { 33 if (fAlpha == 255 && fDevice->isOpaque()) 45 switch (fDevice->getConfig()) { 48 SkPMColor* src = fDevice->getAddr32(x, y); 53 const SkPMColor* src = fDevice->getAddr32(x, y); 60 const uint16_t* src = fDevice->getAddr16(x, y); 82 const uint16_t* src = fDevice->getAddr16(x, y); 100 const uint8_t* src = fDevice->getAddr8(x, y); 121 SkASSERT(fDevice->getConfig() == SkBitmap::kRGB_565_Config) [all...] |
/external/skia/src/effects/ |
SkTransparentShader.cpp | 17 fDevice = &device; 26 switch (fDevice->getConfig()) { 34 if (fAlpha == 255 && fDevice->isOpaque()) 46 switch (fDevice->getConfig()) { 49 SkPMColor* src = fDevice->getAddr32(x, y); 54 const SkPMColor* src = fDevice->getAddr32(x, y); 61 const uint16_t* src = fDevice->getAddr16(x, y); 83 const uint16_t* src = fDevice->getAddr16(x, y); 101 const uint8_t* src = fDevice->getAddr8(x, y); 122 SkASSERT(fDevice->getConfig() == SkBitmap::kRGB_565_Config) [all...] |
/external/skia/legacy/src/core/ |
SkBlitter_A1.cpp | 19 (unsigned)(x + width) <= (unsigned)fDevice.width()); 24 uint8_t* dst = fDevice.getAddr1(x, y);
|
SkBlitter_ARGB32.cpp | 61 return &fDevice; 72 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 74 uint32_t* device = fDevice.getAddr32(x, y); 85 uint32_t* device = fDevice.getAddr32(x, y); 157 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { 162 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); 164 SkARGB32_Blit32(fDevice, mask, clip, fPMColor); 172 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { 177 SkARGB32_BlitBW(fDevice, mask, clip, fPMColor); 179 SkARGB32_Blit32(fDevice, mask, clip, fPMColor) [all...] |
SkBlitter_A8.cpp | 23 return &fDevice; 30 (unsigned)(x + width) <= (unsigned)fDevice.width()); 36 uint8_t* device = fDevice.getAddr8(x, y); 56 uint8_t* device = fDevice.getAddr8(x, y); 130 SkA8_BlitBW(fDevice, mask, clip); 132 SkA8_BlendBW(fDevice, mask, clip, fSrcA, 142 uint8_t* device = fDevice.getAddr8(x, y); 169 device += fDevice.rowBytes(); 182 uint8_t* device = fDevice.getAddr8(x, y); 183 int rowBytes = fDevice.rowBytes() [all...] |
SkSpriteBlitterTemplate.h | 22 SkSPRITE_DST_TYPE* SK_RESTRICT dst =fDevice->SkSPRITE_DST_GETADDR(x, y); 25 unsigned dstRB = fDevice->rowBytes(); 28 SkDEBUGCODE((void)fDevice->SkSPRITE_DST_GETADDR(x + width - 1, y + height - 1);)
|
SkProcSpriteBlitter.cpp | 21 size_t dstRB = fDevice.rowBytes(); 23 char* dst = (char*)fDevice.getPixels() + y * dstRB + (x << fDstShift);
|
SkBlitter_RGB16.cpp | 208 SkRGB16_Black_BlitBW(fDevice, mask, clip); 210 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); 214 unsigned deviceRB = fDevice.rowBytes() - (width << 1); 238 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 276 SkASSERT(x + width <= fDevice.width()); 277 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 300 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); 376 SkRGB16_BlitBW(fDevice, mask, clip, fColor16); 380 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); 384 unsigned deviceRB = fDevice.rowBytes() - (width << 1) [all...] |
SkSpriteBlitter_ARGB32.cpp | 39 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); 42 size_t dstRB = fDevice->rowBytes(); 127 uint32_t* SK_RESTRICT dst = fDevice->getAddr32(x, y); 130 unsigned dstRB = fDevice->rowBytes(); 174 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 177 unsigned dstRB = fDevice->rowBytes(); 221 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 224 unsigned dstRB = fDevice->rowBytes(); 250 SkPMColor* SK_RESTRICT dst = fDevice->getAddr32(x, y); 253 unsigned dstRB = fDevice->rowBytes() [all...] |
SkBlitter_4444.cpp | 87 return &fDevice; 128 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 134 SkPMColor16* device = fDevice.getAddr16(x, y); 156 SkPMColor16* device = fDevice.getAddr16(x, y); 159 unsigned rb = fDevice.rowBytes(); 190 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width() && 191 y + height <= fDevice.height()); 197 SkPMColor16* device = fDevice.getAddr16(x, y); 208 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()); 218 device = (SkPMColor16*)((char*)device + fDevice.rowBytes()) [all...] |
SkCanvas.cpp | 68 SkDevice* fDevice; 82 fDevice = device; 87 if (NULL != fDevice) { 88 fDevice->unlockPixels(); 89 fDevice->unref(); 96 int x = fDevice->getOrigin().x(); 97 int y = fDevice->getOrigin().y(); 98 int width = fDevice->width(); 99 int height = fDevice->height(); 122 fDevice->setMatrixClip(*fMatrix, fClip.forceGetBW(), clipStack) [all...] |
/external/skia/src/pdf/ |
SkPDFPage.cpp | 17 fDevice(content) { 26 insert("Resources", fDevice->getResourceDict()); 27 SkSafeUnref(this->insert("MediaBox", fDevice->copyMediaBox())); 30 SkPDFArray* annots = fDevice->getAnnotations(); 36 SkAutoTUnref<SkStream> content(fDevice->content()); 41 fDevice->getResources(resourceObjects, true); 144 return fDevice->getFontResources(); 148 return fDevice->getFontGlyphUsage();
|
SkPDFPage.h | 94 SkAutoTUnref<SkPDFDevice> fDevice;
|
/external/skia/include/effects/ |
SkTransparentShader.h | 29 const SkBitmap* fDevice;
|
/external/skia/legacy/include/effects/ |
SkTransparentShader.h | 32 const SkBitmap* fDevice;
|