/external/skqp/tests/ |
D | TestUtils.cpp | 44 GrSurfaceContext* dstContext, bool expectedToWork, in test_write_pixels() argument 46 int pixelCnt = dstContext->width() * dstContext->height(); in test_write_pixels() 48 for (int y = 0; y < dstContext->width(); ++y) { in test_write_pixels() 49 for (int x = 0; x < dstContext->height(); ++x) { in test_write_pixels() 50 pixels.get()[y * dstContext->width() + x] = in test_write_pixels() 55 SkImageInfo ii = SkImageInfo::Make(dstContext->width(), dstContext->height(), in test_write_pixels() 57 bool write = dstContext->writePixels(ii, pixels.get(), 0, 0, 0); in test_write_pixels() 70 test_read_pixels(reporter, dstContext, pixels.get(), testName); in test_write_pixels() 90 sk_sp<GrSurfaceContext> dstContext( in test_copy_from_surface() local 93 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName); in test_copy_from_surface() [all …]
|
D | CopySurfaceTest.cpp | 105 sk_sp<GrSurfaceContext> dstContext = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 109 bool result = dstContext->copy(src.get(), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 149 if (!dstContext->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | TestUtils.h | 33 GrSurfaceContext* dstContext, const char* testName);
|
/external/skia/tests/ |
D | TestUtils.cpp | 44 GrSurfaceContext* dstContext, bool expectedToWork, in test_write_pixels() argument 46 int pixelCnt = dstContext->width() * dstContext->height(); in test_write_pixels() 48 for (int y = 0; y < dstContext->width(); ++y) { in test_write_pixels() 49 for (int x = 0; x < dstContext->height(); ++x) { in test_write_pixels() 50 pixels.get()[y * dstContext->width() + x] = in test_write_pixels() 55 SkImageInfo ii = SkImageInfo::Make(dstContext->width(), dstContext->height(), in test_write_pixels() 57 bool write = dstContext->writePixels(ii, pixels.get(), 0, 0, 0); in test_write_pixels() 70 test_read_pixels(reporter, dstContext, pixels.get(), testName); in test_write_pixels() 90 sk_sp<GrSurfaceContext> dstContext( in test_copy_from_surface() local 93 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName); in test_copy_from_surface() [all …]
|
D | CopySurfaceTest.cpp | 104 sk_sp<GrSurfaceContext> dstContext = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 107 bool result = dstContext->copy(src.get(), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 147 if (!dstContext->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | TestUtils.h | 33 GrSurfaceContext* dstContext, const char* testName);
|
/external/skqp/src/gpu/ |
D | GrSurfaceProxy.cpp | 356 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in Copy() local 358 if (!dstContext) { in Copy() 362 if (!dstContext->copy(src, srcRect, SkIPoint::Make(0, 0))) { in Copy() 366 return dstContext->asTextureProxyRef(); in Copy() 386 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in TestCopy() local 388 if (!dstContext) { in TestCopy() 392 if (!dstContext->copy(srcProxy)) { in TestCopy() 396 return dstContext; in TestCopy()
|
/external/skia/src/gpu/ |
D | GrSurfaceProxy.cpp | 353 sk_sp<GrSurfaceContext> dstContext(context->priv().makeDeferredSurfaceContext( in Copy() local 355 if (!dstContext) { in Copy() 359 if (!dstContext->copy(src, srcRect, SkIPoint::Make(0, 0))) { in Copy() 363 return dstContext->asTextureProxyRef(); in Copy() 384 sk_sp<GrSurfaceContext> dstContext(context->priv().makeDeferredSurfaceContext( in TestCopy() local 386 if (!dstContext) { in TestCopy() 390 if (!dstContext->copy(srcProxy)) { in TestCopy() 394 return dstContext; in TestCopy()
|
/external/skqp/gm/ |
D | image_pict.cpp | 186 sk_sp<GrSurfaceContext> dstContext(fCtx->contextPriv().makeDeferredSurfaceContext( in onGenerateTexture() local 189 if (!dstContext) { in onGenerateTexture() 193 if (!dstContext->copy( in onGenerateTexture() 200 return dstContext->asTextureProxyRef(); in onGenerateTexture()
|
/external/skia/gm/ |
D | image_pict.cpp | 186 sk_sp<GrSurfaceContext> dstContext(fCtx->priv().makeDeferredSurfaceContext( in onGenerateTexture() local 189 if (!dstContext) { in onGenerateTexture() 193 if (!dstContext->copy( in onGenerateTexture() 200 return dstContext->asTextureProxyRef(); in onGenerateTexture()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_10_0.inc | 508 CUresult CUDAAPI cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, C… 512 return func_ptr(dstDevice, dstContext, srcDevice, srcContext, ByteCount); 606 CUresult CUDAAPI cuMemcpyPeerAsync(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevi… 610 return func_ptr(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream);
|