/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PresenceSetting.java | 41 private static Context sContext = null; field in PresenceSetting 44 sContext = context; in init() 49 if (sContext != null) { in getCapabilityPollInterval() 50 ImsManager imsManager = ImsManager.getInstance(sContext, 0); in getCapabilityPollInterval() 72 if (sContext != null) { in getCapabilityCacheExpiration() 73 ImsManager imsManager = ImsManager.getInstance(sContext, 0); in getCapabilityCacheExpiration() 95 if (sContext != null) { in getPublishTimer() 96 ImsManager imsManager = ImsManager.getInstance(sContext, 0); in getPublishTimer() 118 if (sContext != null) { in getPublishTimerExtended() 119 ImsManager imsManager = ImsManager.getInstance(sContext, 0); in getPublishTimerExtended() [all …]
|
/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()
|
/external/skia/tests/ |
D | GrUploadPixelsTests.cpp | 35 sk_sp<GrSurfaceContext> sContext = context->priv().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->priv().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->priv().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->priv().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->priv().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->priv().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->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 549 test_readpixels_texture(reporter, std::move(sContext), info); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/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/src/image/ |
D | SkImage_GpuBase.cpp | 92 sk_sp<GrSurfaceContext> sContext = direct->priv().makeWrappedSurfaceContext( in getROPixels() local 94 if (!sContext) { in getROPixels() 98 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { in getROPixels() 128 sk_sp<GrSurfaceContext> sContext(context->priv().makeDeferredSurfaceContext( in onMakeSubset() local 131 if (!sContext) { in onMakeSubset() 135 if (!sContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) { in onMakeSubset() 141 sContext->asTextureProxyRef(), this->refColorSpace()); in onMakeSubset() 191 sk_sp<GrSurfaceContext> sContext = direct->priv().makeWrappedSurfaceContext( in onReadPixels() local 193 if (!sContext) { in onReadPixels() 197 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { 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/src/gpu/text/ |
D | GrAtlasManager.cpp | 112 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext(sk_ref_sp(sProxy))); in save_pixels() local 113 if (!sContext || !sContext->asTextureProxy()) { in save_pixels() 117 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0); in save_pixels()
|
/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/tools/gpu/ |
D | ProxyUtils.cpp | 73 auto sContext = context->priv().makeWrappedSurfaceContext(proxy, nullptr); in MakeTextureProxyFromData() local 74 if (!sContext) { in MakeTextureProxyFromData() 77 if (!context->priv().writeSurfacePixels(sContext.get(), 0, 0, width, height, colorType, in MakeTextureProxyFromData()
|
/external/skia/src/gpu/ |
D | GrRecordingContext.cpp | 184 sk_sp<GrSurfaceContext> sContext = this->makeWrappedSurfaceContext(std::move(proxy), in makeDeferredSurfaceContext() local 187 if (sContext && sContext->asRenderTargetContext()) { in makeDeferredSurfaceContext() 188 sContext->asRenderTargetContext()->discard(); in makeDeferredSurfaceContext() 191 return sContext; in makeDeferredSurfaceContext()
|
D | GrResourceProvider.cpp | 111 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in createTexture() local 113 if (!sContext) { in createTexture() 116 SkAssertResult(sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)); in createTexture() 117 return sk_ref_sp(sContext->asTextureProxy()->peekTexture()); in createTexture()
|
D | SkGr.cpp | 178 sk_sp<GrSurfaceContext> sContext = ctx->priv().makeWrappedSurfaceContext(proxy); in GrCopyBaseMipMapToTextureProxy() local 179 SkASSERT(sContext); in GrCopyBaseMipMapToTextureProxy() 180 SkAssertResult(sContext->copy(baseProxy)); in GrCopyBaseMipMapToTextureProxy()
|
/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()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTPFXParserAPI.h | 91 CPVRTPFXEffect(SPVRTContext &sContext);
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 435 sk_sp<GrSurfaceContext> sContext = fContext->priv().makeWrappedSurfaceContext( in onGetROPixels() local 437 if (!sContext) { in onGetROPixels() 441 if (!sContext->readPixels(info, pmap.writable_addr(), pmap.rowBytes(), in onGetROPixels()
|