/external/skia/src/xps/ |
SkXPSDocument.cpp | 21 , fDevice(SkISize{10000, 10000}) 28 fDevice.beginPortfolio(stream, fXpsFactory.get()); 37 fDevice.beginSheet(fUnitsPerMeter, fPixelsPerMeter, {width, height}); 38 fCanvas.reset(new SkCanvas(&fDevice)); 46 fDevice.endSheet(); 51 (void)fDevice.endPortfolio();
|
SkXPSDocument.h | 34 SkXPSDevice fDevice;
|
/external/skia/src/core/ |
SkBlitter_A8.cpp | 22 uint8_t* device = fDevice.writable_addr8(x, y); 40 SkASSERT(fDevice.width() == totalCount); 44 memset(fDevice.writable_addr8(x, y), 0xFF, width); 52 uint8_t* dst = fDevice.writable_addr8(x, y); 53 const size_t dstRB = fDevice.rowBytes(); 61 uint8_t* dst = fDevice.writable_addr8(x, y); 62 const size_t dstRB = fDevice.rowBytes(); 77 uint8_t* dst = fDevice.writable_addr8(x, y); 80 const size_t dstRB = fDevice.rowBytes();
|
SkBlitter_ARGB32.cpp | 60 return &fDevice; 71 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 73 uint32_t* device = fDevice.writable_addr32(x, y); 84 uint32_t* device = fDevice.writable_addr32(x, y); 109 uint32_t* device = fDevice.writable_addr32(x, y); 110 SkDEBUGCODE((void)fDevice.writable_addr32(x + 1, y);) 117 uint32_t* device = fDevice.writable_addr32(x, y); 118 SkDEBUGCODE((void)fDevice.writable_addr32(x, y + 1);) 121 device = (uint32_t*)((char*)device + fDevice.rowBytes()); 173 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) [all...] |
SkBlitter_RGB565.cpp | 112 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 114 uint16_t* device = fDevice.writable_addr16(x, y); 124 uint16_t* device = fDevice.writable_addr16(x, y);
|
SkCanvas.cpp | 249 sk_sp<SkBaseDevice> fDevice; 259 , fDevice(std::move(device)) 269 SkASSERT(fDevice); 334 : fDevice(nullptr), fCurrLayer(canvas->fMCRec->fTopLayer), fPaint(nullptr) 339 if (rec && rec->fDevice) { 340 fDevice = rec->fDevice.get(); 349 int getX() const { return fDevice->getOrigin().x(); } 350 int getY() const { return fDevice->getOrigin().y(); } 353 SkBaseDevice* fDevice; [all...] |
SkCoreBlitters.h | 19 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} 22 const SkPixmap fDevice;
|
SkDevice.h | 397 : fDevice(device) 400 fDevice->setCTM(ctm); 403 fDevice->setCTM(fPrevCTM); 407 SkBaseDevice* fDevice;
|
SkBitmapDevice.cpp | 388 : fDevice(device) 390 fDevice->save(); 391 fDevice->setCTM(SkMatrix::I()); 392 fDevice->clipRect(SkRect::Make(clip), SkClipOp::kIntersect, false); 393 fDevice->setCTM(fPrevCTM); 397 fDevice->restore(fPrevCTM); 401 SkBaseDevice* fDevice;
|
/external/skia/tools/gpu/mtl/ |
MtlTestContext.mm | 29 , fDevice(device) 37 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool)); 45 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer)); 59 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer)); 60 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr)); 69 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence)); 88 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever)); 94 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr)); 100 VkDevice fDevice; 135 return GrContext::MakeMetal((__bridge_retained void*)fDevice, [all...] |
/external/skia/tools/gpu/vk/ |
VkTestContext.cpp | 27 , fDevice(device) 35 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool)); 43 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer)); 57 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer)); 58 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr)); 67 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence)); 86 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever)); 92 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr)); 98 VkDevice fDevice; 143 fFenceSync.reset(new VkFenceSync(fVk->fInterface, fVk->fDevice, fVk->fQueue [all...] |
/external/libusb/libusb/os/ |
haiku_pollfs.cpp | 32 USBDevice* fDevice; 57 fDevice(NULL), 93 fDevice = new(std::nothrow) USBDevice(path.Path()); 94 if (fDevice != NULL && fDevice->InitCheck() == true) { 97 unsigned long session_id = (unsigned long)&fDevice; 113 *((USBDevice **)dev->os_priv) = fDevice; 140 else if (fDevice) { 141 delete fDevice; 142 fDevice = NULL [all...] |
/external/skia/src/image/ |
SkSurface_Gpu.h | 32 SkGpuDevice* getDevice() { return fDevice.get(); } 38 sk_sp<SkGpuDevice> fDevice;
|
SkSurface_Gpu.cpp | 27 , fDevice(std::move(device)) { 28 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact()); 77 return new SkCanvas(fDevice.get(), flags); 81 int sampleCount = fDevice->accessRenderTargetContext()->numColorSamples(); 82 GrSurfaceOrigin origin = fDevice->accessRenderTargetContext()->origin(); 85 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount, 90 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); 95 GrContext* ctx = fDevice->context(); 113 const SkImageInfo info = fDevice->imageInfo(); 130 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext() [all...] |
/external/skia/tools/viewer/sk_app/ |
VulkanWindowContext.cpp | 58 VkDevice device = fBackendContext->fDevice; 94 vkGetDeviceQueue(fBackendContext->fDevice, fPresentQueueIndex, 0, &fPresentQueue); 239 res = fCreateSwapchainKHR(fBackendContext->fDevice, &swapchainCreateInfo, nullptr, &fSwapchain); 246 GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice)); 250 fDestroySwapchainKHR(fBackendContext->fDevice, swapchainCreateInfo.oldSwapchain, nullptr); 262 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, nullptr); 265 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, fImages); 299 CreateCommandPool(fBackendContext->fDevice, &commandPoolInfo, 328 CreateSemaphore(fBackendContext->fDevice, &semaphoreInfo, 331 CreateSemaphore(fBackendContext->fDevice, &semaphoreInfo [all...] |
/external/skia/bench/ |
Sk4fBench.cpp | 63 SkPMColor fDevice[100]; 78 for (size_t i = 0; i < SK_ARRAY_COUNT(fDevice); i += 4) { 79 Sk4f_ToBytes((uint8_t*)(fDevice+i), a, b, c, d);
|
/external/skia/src/gpu/mtl/ |
GrMtlGpu.mm | 25 , fDevice(device) 35 id<MTLTexture> testTexture = [fDevice newTextureWithDescriptor:txDesc];
|
GrMtlGpu.h | 139 id<MTLDevice> fDevice;
|
/frameworks/base/libs/hwui/renderthread/ |
VulkanManager.cpp | 47 mDestroyCommandPool(mBackendContext->fDevice, mCommandPool, nullptr); 63 VkDevice device = mBackendContext->fDevice; 102 SkDEBUGCODE(VkResult res =) mCreateCommandPool(mBackendContext->fDevice, 107 mGetDeviceQueue(mBackendContext->fDevice, mPresentQueueIndex, 0, &mPresentQueue); 135 VkResult res = mWaitForFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences, 151 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences); 156 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX, 170 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences); 174 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX, 248 mWaitForFences(mBackendContext->fDevice, 2, surface->mBackbuffers[i].mUsageFences, true [all...] |
/external/skia/include/gpu/vk/ |
GrVkBackendContext.h | 41 VkDevice fDevice;
|
/external/skia/src/gpu/vk/ |
GrVkBackendContext.cpp | 312 ctx->fDevice = device; 329 fInterface->fFunctions.fDeviceWaitIdle(fDevice); 330 fInterface->fFunctions.fDestroyDevice(fDevice, nullptr); 331 fDevice = VK_NULL_HANDLE;
|
GrVkGpu.cpp | 99 , fDevice(backendCtx->fDevice) 141 GR_VK_CALL_ERRCHECK(this->vkInterface(), CreateCommandPool(fDevice, &cmdPoolInfo, nullptr, 207 VK_CALL(DestroyCommandPool(fDevice, fCmdPool, nullptr)); 587 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, 597 err = GR_VK_CALL(interface, MapMemory(fDevice, alloc.fMemory, offset, size, 0, &mapPtr)); 617 GR_VK_CALL(interface, UnmapMemory(fDevice, alloc.fMemory)); [all...] |
GrVkGpu.h | 51 VkDevice device() const { return fDevice; } 261 VkDevice fDevice;
|
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 466 : fDevice(device) 477 fDevice->setUpContentEntry(clipStack, matrix, paint, hasText, &fDstFormXObject); 488 fDevice->finishContentEntry(fBlendMode, std::move(fDstFormXObject), shape); 530 SkPDFDevice* fDevice; 653 // SkDraw::drawPoints converts to multiple calls to fDevice->drawPath. [all...] |