/external/skqp/tests/ |
D | GrUploadPixelsTests.cpp | 35 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 39 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 47 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); in basic_texture_test() 52 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); in basic_texture_test() 65 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 69 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 77 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); in basic_texture_test() 82 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4); in basic_texture_test()
|
D | ReadWriteAlphaTest.cpp | 80 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 95 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 198 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 209 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 56 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in runFPTest() local 58 REPORTER_ASSERT(reporter, sContext); in runFPTest() 61 sContext.get(), 0, 0, DEV_W, DEV_H, colorType, nullptr, readBuffer.begin(), 0); in runFPTest()
|
D | PackedConfigsTextureTest.cpp | 120 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in run_test() local 123 if (!sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0)) { in run_test()
|
D | ReadPixelsTest.cpp | 480 sk_sp<GrSurfaceContext> sContext, in test_readpixels_texture() argument 509 bool success = sContext->readPixels(bmp.info(), bmp.getPixels(), in test_readpixels_texture() 546 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 549 test_readpixels_texture(reporter, std::move(sContext), info); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProcessorTest.cpp | 352 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext(src)); in log_surface_proxy() local 353 return log_surface_context(sContext, dst); in log_surface_proxy()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PresenceSetting.java | 42 private static Context sContext = null; field in PresenceSetting 60 sContext = context; in init() 65 if (sContext != null) { in getCapabilityPollInterval() 86 if (sContext != null) { in getCapabilityCacheExpiration() 107 if (sContext != null) { in getPublishTimer() 127 if (sContext != null) { in getPublishTimerExtended() 149 if (sContext != null) { in getMaxNumberOfEntriesInRequestContainedList() 171 if (sContext != null) { in getCapabilityPollListSubscriptionExpiration() 246 SubscriptionManager sm = sContext.getSystemService(SubscriptionManager.class); in getDefaultSubscriptionId()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | app-linux.c | 73 static struct waffle_context *sContext; variable 136 sContext = waffle_context_create(sConfig, NULL); in initGraphics() 137 if (!sContext) in initGraphics() 147 ok = waffle_make_current(sDisplay, sWindow, sContext); in initGraphics() 175 if (!waffle_context_destroy(sContext)) in deinitGraphics()
|
/external/skia/tools/gpu/ |
D | ProxyUtils.cpp | 81 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), pixmap.colorInfo()); in MakeTextureProxyViewFromData() local 82 if (!sContext) { in MakeTextureProxyViewFromData() 85 if (!sContext->writePixels(dContext, pixmap, {0, 0})) { in MakeTextureProxyViewFromData() 88 return sContext->readSurfaceView(); in MakeTextureProxyViewFromData()
|
/external/skia/src/image/ |
D | SkImage_GpuBase.cpp | 116 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), std::move(colorInfo)); in getROPixels() local 117 if (!sContext) { in getROPixels() 121 if (!sContext->readPixels(dContext, pmap, {0, 0})) { in getROPixels() 176 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), colorInfo); in onReadPixels() local 177 if (!sContext) { in onReadPixels() 181 return sContext->readPixels(dContext, {dstInfo, dstPixels, dstRB}, {srcX, srcY}); in onReadPixels()
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.cpp | 93 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels() local 96 if (!sContext) { in getROPixels() 100 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { in getROPixels() 125 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset() local 128 if (!sContext) { in onMakeSubset() 132 if (!sContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) { in onMakeSubset() 138 sContext->asTextureProxyRef(), fColorSpace); in onMakeSubset() 187 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels() local 189 if (!sContext) { in onReadPixels() 193 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { in onReadPixels()
|
/external/skqp/tools/gpu/ |
D | ProxyUtils.cpp | 71 auto sContext = context->contextPriv().makeWrappedSurfaceContext(proxy, nullptr); in MakeTextureProxyFromData() local 72 if (!sContext) { in MakeTextureProxyFromData() 75 if (!context->contextPriv().writeSurfacePixels(sContext.get(), 0, 0, width, height, colorType, in MakeTextureProxyFromData()
|
/external/skia/tests/ |
D | FloatingPointTextureTest.cpp | 63 auto sContext = GrSurfaceContext::Make(dContext, std::move(fpView), info.colorInfo()); in runFPTest() local 64 REPORTER_ASSERT(reporter, sContext); in runFPTest() 67 bool result = sContext->readPixels(dContext, readPixmap, {0, 0}); in runFPTest()
|
D | SRGBReadWritePixelsTest.cpp | 125 GrSurfaceContext* sContext, in read_and_check_pixels() argument 133 if (!sContext->readPixels(dContext, readPM, {0, 0})) { in read_and_check_pixels()
|
D | ProcessorTest.cpp | 407 auto sContext = GrSurfaceContext::Make(dContext, std::move(src), ii.colorInfo()); in log_texture_view() local 410 SkAssertResult(sContext->readPixels(dContext, bm.pixmap(), {0, 0})); in log_texture_view()
|
/external/skqp/src/gpu/text/ |
D | GrAtlasManager.cpp | 112 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in save_pixels() local 114 if (!sContext || !sContext->asTextureProxy()) { in save_pixels() 118 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0); in save_pixels()
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 237 auto sContext = GrSurfaceContext::Make(dContext, in save_pixels() local 240 if (!sContext || !sContext->asTextureProxy()) { in save_pixels() 244 bool result = sContext->readPixels(dContext, bm.pixmap(), {0, 0}); in save_pixels()
|
/external/skqp/src/gpu/ |
D | GrResourceProvider.cpp | 130 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in createTexture() local 132 if (!sContext) { in createTexture() 135 SkAssertResult(sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)); in createTexture() 136 return sk_ref_sp(sContext->asTextureProxy()->peekTexture()); in createTexture()
|
D | SkGr.cpp | 175 sk_sp<GrSurfaceContext> sContext = in GrCopyBaseMipMapToTextureProxy() local 177 SkASSERT(sContext); in GrCopyBaseMipMapToTextureProxy() 178 SkAssertResult(sContext->copy(baseProxy)); in GrCopyBaseMipMapToTextureProxy()
|
D | GrContext.cpp | 858 sk_sp<GrSurfaceContext> sContext = this->makeWrappedSurfaceContext(std::move(proxy), in makeDeferredSurfaceContext() local 861 if (sContext && sContext->asRenderTargetContext()) { in makeDeferredSurfaceContext() 862 sContext->asRenderTargetContext()->discard(); in makeDeferredSurfaceContext() 865 return sContext; in makeDeferredSurfaceContext()
|
D | GrRenderTargetContext.cpp | 2071 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeDeferredSurfaceContext( in setupDstProxy() local 2074 if (!sContext) { in setupDstProxy() 2079 if (!sContext->copy(rtProxy, copyRect, dstPoint)) { in setupDstProxy() 2084 dstProxy->setProxy(sContext->asTextureProxyRef()); in setupDstProxy()
|
/external/skqp/src/core/ |
D | SkSpecialImage.cpp | 434 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onGetROPixels() local 436 if (!sContext) { in onGetROPixels() 440 if (!sContext->readPixels(info, pmap.writable_addr(), pmap.rowBytes(), in onGetROPixels()
|
/external/rust/crates/libsqlite3-sys/sqlite3/ |
D | sqlite3.c | 92717 sqlite3_context sContext; 92731 memset(&sContext, 0, sizeof(sContext)); 92732 sContext.pOut = pDest; 92741 rc = pModule->xColumn(pCur->uc.pVCur, &sContext, pOp->p2); 92743 if( sContext.isError>0 ){ 92745 rc = sContext.isError; 116332 AuthContext sContext; /* Authorization context */ 116358 memset(&sContext, 0, sizeof(sContext)); 116430 sqlite3AuthContextPush(pParse, &sContext, pTab->zName); 116701 sqlite3AuthContextPop(&sContext); [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 92499 sqlite3_context sContext; 92513 memset(&sContext, 0, sizeof(sContext)); 92514 sContext.pOut = pDest; 92523 rc = pModule->xColumn(pCur->uc.pVCur, &sContext, pOp->p2); 92525 if( sContext.isError>0 ){ 92527 rc = sContext.isError; 116013 AuthContext sContext; /* Authorization context */ 116039 memset(&sContext, 0, sizeof(sContext)); 116111 sqlite3AuthContextPush(pParse, &sContext, pTab->zName); 116382 sqlite3AuthContextPop(&sContext); [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 92515 sqlite3_context sContext; 92529 memset(&sContext, 0, sizeof(sContext)); 92530 sContext.pOut = pDest; 92539 rc = pModule->xColumn(pCur->uc.pVCur, &sContext, pOp->p2); 92541 if( sContext.isError>0 ){ 92543 rc = sContext.isError; 116029 AuthContext sContext; /* Authorization context */ 116055 memset(&sContext, 0, sizeof(sContext)); 116127 sqlite3AuthContextPush(pParse, &sContext, pTab->zName); 116398 sqlite3AuthContextPop(&sContext); [all …]
|