/external/skia/src/core/ |
D | SkBlitter_A8.cpp | 22 return &fDevice; in justAnOpaqueColor() 29 (unsigned)(x + width) <= (unsigned)fDevice.width()); in blitH() 35 uint8_t* device = fDevice.writable_addr8(x, y); in blitH() 55 uint8_t* device = fDevice.writable_addr8(x, y); in blitAntiH() 129 SkA8_BlitBW(fDevice, mask, clip); in blitMask() 131 SkA8_BlendBW(fDevice, mask, clip, fSrcA, in blitMask() 141 uint8_t* device = fDevice.writable_addr8(x, y); in blitMask() 168 device += fDevice.rowBytes(); in blitMask() 181 uint8_t* device = fDevice.writable_addr8(x, y); in blitV() 182 size_t rowBytes = fDevice.rowBytes(); in blitV() [all …]
|
D | SkBlitter_ARGB32.cpp | 60 return &fDevice; in justAnOpaqueColor() 71 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); in blitH() 73 uint32_t* device = fDevice.writable_addr32(x, y); in blitH() 84 uint32_t* device = fDevice.writable_addr32(x, y); in blitAntiH() 109 uint32_t* device = fDevice.writable_addr32(x, y); in blitAntiH2() 110 SkDEBUGCODE((void)fDevice.writable_addr32(x + 1, y);) in blitAntiH2() 117 uint32_t* device = fDevice.writable_addr32(x, y); in blitAntiV2() 118 SkDEBUGCODE((void)fDevice.writable_addr32(x, y + 1);) in blitAntiV2() 121 device = (uint32_t*)((char*)device + fDevice.rowBytes()); in blitAntiV2() 173 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { in blitMask() [all …]
|
D | SkBlitter_PM4f.cpp | 28 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); in blitH() 30 fState.fProc1(fState.fXfer, State::WritableAddr(fDevice, x, y), in blitH() 35 SkASSERT(x >= 0 && y >= 0 && y + height <= fDevice.height()); in blitV() 37 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitV() 38 size_t deviceRB = fDevice.rowBytes(); in blitV() 48 x + width <= fDevice.width() && y + height <= fDevice.height()); in blitRect() 50 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitRect() 51 size_t deviceRB = fDevice.rowBytes(); in blitRect() 61 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitAntiH() 93 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitLCDMask() [all …]
|
D | SkBlitter_RGB16.cpp | 203 SkRGB16_Black_BlitBW(fDevice, mask, clip); in blitMask() 205 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); in blitMask() 209 size_t deviceRB = fDevice.rowBytes() - (width << 1); in blitMask() 233 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); in blitAntiH() 270 SkASSERT(x + width <= fDevice.width()); in blitH() 271 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); in blitH() 294 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(x, y); in blitAntiH() 372 SkRGB16_BlitBW(fDevice, mask, clip, fColor16); in blitMask() 376 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); in blitMask() 380 size_t deviceRB = fDevice.rowBytes() - (width << 1); in blitMask() [all …]
|
D | SkCanvas.cpp | 193 SkBaseDevice* fDevice; member 210 fDevice = device; in DeviceCM() 215 if (fDevice) { in ~DeviceCM() 216 fDevice->onDetachFromCanvas(); in ~DeviceCM() 217 fDevice->unref(); in ~DeviceCM() 225 SkASSERT(fDevice); in reset() 231 int x = fDevice->getOrigin().x(); in updateMC() 232 int y = fDevice->getOrigin().y(); in updateMC() 233 int width = fDevice->width(); in updateMC() 234 int height = fDevice->height(); in updateMC() [all …]
|
D | SkDraw.cpp | 608 if (fDevice) { in drawPoints() 609 fDevice->drawPath(*this, path, newPaint, &preMatrix, in drawPoints() 624 if (fDevice) { in drawPoints() 625 fDevice->drawRect(*this, r, newPaint); in drawPoints() 655 if (fDevice) { in drawPoints() 656 fDevice->drawPath(*this, pointData.fFirst, newP); in drawPoints() 663 if (fDevice) { in drawPoints() 664 fDevice->drawPath(*this, pointData.fLast, newP); in drawPoints() 680 if (fDevice) { in drawPoints() 681 fDevice->drawPoints(*this, in drawPoints() [all …]
|
D | SkCoreBlitters.h | 19 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} in SkRasterBlitter() 22 const SkPixmap fDevice;
|
D | SkImageFilter.cpp | 672 SkBaseDevice* dev = fDevice->onCreateDevice(cinfo, nullptr); in createDevice() 674 const SkSurfaceProps surfaceProps(fDevice->fSurfaceProps.flags(), in createDevice() 684 return fDevice->filterImage(filter, src, ctx, result, offset); in filterImage()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 22 , fDevice(SkRef(device)) { in SkSurface_Gpu() 26 fDevice->unref(); in ~SkSurface_Gpu() 68 return new SkCanvas(fDevice, flags); in onNewCanvas() 72 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onNewSurface() 76 return SkSurface::NewRenderTarget(fDevice->context(), kBudgeted, info, sampleCount, in onNewSurface() 81 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onNewImageSnapshot() 87 GrSurfaceDesc desc = fDevice->accessRenderTarget()->desc(); in onNewImageSnapshot() 88 GrContext* ctx = fDevice->context(); in onNewImageSnapshot() 99 const SkImageInfo info = fDevice->imageInfo(); in onNewImageSnapshot() 112 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onCopyOnWrite() [all …]
|
D | SkSurface_Gpu.h | 31 SkGpuDevice* getDevice() { return fDevice; } in getDevice() 34 SkGpuDevice* fDevice;
|
/external/skia/src/doc/ |
D | SkDocument_XPS.cpp | 25 fDevice.beginPortfolio(stream); in SkDocument_XPS() 37 fDevice.beginSheet(fUnitsPerMeter, fPixelsPerMeter, in onBeginPage() 39 fCanvas.reset(new SkCanvas(&fDevice)); in onBeginPage() 49 fDevice.endSheet(); in onEndPage() 54 return fDevice.endPortfolio(); in onClose() 60 SkXPSDevice fDevice; member in SkDocument_XPS
|
/external/skia/bench/ |
D | Sk4fBench.cpp | 63 SkPMColor fDevice[100]; member 78 for (size_t i = 0; i < SK_ARRAY_COUNT(fDevice); i += 4) { in onDraw() 79 Sk4f_ToBytes((uint8_t*)(fDevice+i), a, b, c, d); in onDraw()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 172 , fDevice(device) in GrVkGpu() 201 VK_CALL(DestroyCommandPool(fDevice, fCmdPool, nullptr)); in ~GrVkGpu() 202 VK_CALL(DestroyDevice(fDevice, nullptr)); in ~GrVkGpu() 348 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, in uploadTexData() 358 err = GR_VK_CALL(interface, MapMemory(fDevice, tex->textureMemory(), offset, size, 0, in uploadTexData() 382 GR_VK_CALL(interface, UnmapMemory(fDevice, tex->textureMemory())); in uploadTexData() 774 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, in createTestingOnlyBackendTexture() 780 err = GR_VK_CALL(interface, MapMemory(fDevice, in createTestingOnlyBackendTexture() 800 GR_VK_CALL(interface, UnmapMemory(fDevice, imageRsrc->fAlloc)); in createTestingOnlyBackendTexture() 816 GR_VK_CALL(this->vkInterface(), GetImageMemoryRequirements(fDevice, in isTestingOnlyBackendTexture()
|
D | GrVkGpu.h | 45 VkDevice device() const { return fDevice; } in device() 208 VkDevice fDevice; variable
|
/external/skia/include/core/ |
D | SkImageFilter.h | 124 DeviceProxy(SkBaseDevice* device) : fDevice(device) {} in DeviceProxy() 135 SkBaseDevice* fDevice;
|
D | SkDraw.h | 152 SkBaseDevice* fDevice; // optional variable
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 615 : fDevice(device), in ScopedContentEntry() 624 : fDevice(device), in ScopedContentEntry() 637 fDevice->finishContentEntry(fXfermode, fDstFormXObject, shape); in ~ScopedContentEntry() 679 SkPDFDevice* fDevice; member in ScopedContentEntry 695 fContentEntry = fDevice->setUpContentEntry(clipStack, clipRegion, in init() 813 pointDraw.fDevice = this; in drawPoints()
|