HomeSort by relevance Sort by last modified time
    Searched refs:fDevice (Results 1 - 25 of 51) sorted by null

1 2 3

  /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/skqp/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...]
  /external/skqp/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...]
SkThreadedBMPDevice.h 75 DrawQueue(SkThreadedBMPDevice* device) : fDevice(device) {}
90 element->fDS = DrawState(fDevice);
92 element->fDrawBounds = fDevice->transformDrawBounds(rawDrawBounds);
97 SkThreadedBMPDevice* 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/skqp/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 28 , fDevice(device)
36 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
44 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer));
58 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer));
59 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr));
68 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence));
87 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever));
93 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr));
99 VkDevice fDevice;
152 fFenceSync.reset(new VkFenceSync(fVk->fInterface, fVk->fDevice, fVk->fQueue
    [all...]
  /external/skqp/tools/gpu/vk/
VkTestContext.cpp 28 , fDevice(device)
36 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
44 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer));
58 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer));
59 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr));
68 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence));
87 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever));
93 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr));
99 VkDevice fDevice;
152 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 40 SkGpuDevice* getDevice() { return fDevice.get(); }
46 sk_sp<SkGpuDevice> fDevice;
SkSurface_Gpu.cpp 29 , fDevice(std::move(device)) {
30 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact());
79 return new SkCanvas(fDevice.get(), flags);
83 int sampleCount = fDevice->accessRenderTargetContext()->numColorSamples();
84 GrSurfaceOrigin origin = fDevice->accessRenderTargetContext()->origin();
87 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount,
92 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext();
97 GrContext* ctx = fDevice->context();
115 const SkImageInfo info = fDevice->imageInfo();
129 fDevice->writePixels(src, x, y)
    [all...]
  /external/skqp/src/image/
SkSurface_Gpu.h 39 SkGpuDevice* getDevice() { return fDevice.get(); }
45 sk_sp<SkGpuDevice> fDevice;
SkSurface_Gpu.cpp 29 , fDevice(std::move(device)) {
30 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact());
79 return new SkCanvas(fDevice.get(), flags);
83 int sampleCount = fDevice->accessRenderTargetContext()->numColorSamples();
84 GrSurfaceOrigin origin = fDevice->accessRenderTargetContext()->origin();
87 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount,
92 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext();
97 GrContext* ctx = fDevice->context();
115 const SkImageInfo info = fDevice->imageInfo();
132 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext()
    [all...]
  /external/skia/tools/sk_app/
VulkanWindowContext.cpp 62 VkDevice device = fBackendContext->fDevice;
98 fGetDeviceQueue(fBackendContext->fDevice, fPresentQueueIndex, 0, &fPresentQueue);
257 res = fCreateSwapchainKHR(fBackendContext->fDevice, &swapchainCreateInfo, nullptr, &fSwapchain);
264 GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice));
268 fDestroySwapchainKHR(fBackendContext->fDevice, swapchainCreateInfo.oldSwapchain, nullptr);
277 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, nullptr);
280 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, fImages);
315 CreateCommandPool(fBackendContext->fDevice, &commandPoolInfo,
344 CreateSemaphore(fBackendContext->fDevice, &semaphoreInfo,
347 CreateSemaphore(fBackendContext->fDevice, &semaphoreInfo
    [all...]
  /external/skqp/tools/sk_app/
VulkanWindowContext.cpp 62 VkDevice device = fBackendContext->fDevice;
98 fGetDeviceQueue(fBackendContext->fDevice, fPresentQueueIndex, 0, &fPresentQueue);
257 res = fCreateSwapchainKHR(fBackendContext->fDevice, &swapchainCreateInfo, nullptr, &fSwapchain);
264 GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice));
268 fDestroySwapchainKHR(fBackendContext->fDevice, swapchainCreateInfo.oldSwapchain, nullptr);
277 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, nullptr);
280 fGetSwapchainImagesKHR(fBackendContext->fDevice, fSwapchain, &fImageCount, fImages);
315 CreateCommandPool(fBackendContext->fDevice, &commandPoolInfo,
344 CreateSemaphore(fBackendContext->fDevice, &semaphoreInfo,
347 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/skqp/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);
  /frameworks/base/libs/hwui/renderthread/
VulkanManager.cpp 46 mDestroyCommandPool(mBackendContext->fDevice, mCommandPool, nullptr);
65 VkDevice device = mBackendContext->fDevice;
104 SkDEBUGCODE(VkResult res =) mCreateCommandPool(mBackendContext->fDevice, &commandPoolInfo,
109 mGetDeviceQueue(mBackendContext->fDevice, mPresentQueueIndex, 0, &mPresentQueue);
142 mWaitForFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences, true, UINT64_MAX);
156 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences);
161 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX,
176 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences);
180 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX,
255 mWaitForFences(mBackendContext->fDevice, 2, surface->mBackbuffers[i].mUsageFences, true
    [all...]
  /external/skia/src/gpu/mtl/
GrMtlGpu.mm 87 , fDevice(device)
90 fMtlCaps.reset(new GrMtlCaps(options, fDevice, featureSet));
101 id<MTLTexture> testTexture = [fDevice newTextureWithDescriptor:txDesc];
  /external/skqp/src/gpu/mtl/
GrMtlGpu.mm 87 , fDevice(device)
90 fMtlCaps.reset(new GrMtlCaps(options, fDevice, featureSet));
101 id<MTLTexture> testTexture = [fDevice newTextureWithDescriptor:txDesc];

Completed in 290 milliseconds

1 2 3