/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 | SRGBReadWritePixelsTest.cpp | 178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 182 if (!sContext) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 190 if (sContext->writePixels(iiSRGBA, origData, 0, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 195 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 198 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 206 if (sContext->writePixels(iiRGBA, origData, 0, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 208 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 211 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 219 sContext = context->contextPriv().makeDeferredSurfaceContext(desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 223 if (!sContext) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | IntTextureTest.cpp | 79 sk_sp<GrSurfaceContext> sContext; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 89 sContext = context->contextPriv().makeWrappedSurfaceContext(std::move(proxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 90 if (!sContext) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 98 bool success = context->contextPriv().readSurfacePixels(sContext.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 106 bool success = context->contextPriv().readSurfacePixels(sContext.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 bool success = context->contextPriv().readSurfacePixels(sContext.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 129 sContext.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 140 sContext->asSurfaceProxy())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 163 sContext->asSurfaceProxy())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 173 sContext->asSurfaceProxy())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); in basic_texture_test() 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); in basic_texture_test() 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); in basic_texture_test() 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4); in basic_texture_test()
|
D | ReadWriteAlphaTest.cpp | 70 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 86 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 95 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 181 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 192 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in runFPTest() local 65 REPORTER_ASSERT(reporter, sContext); in runFPTest() 67 bool result = context->contextPriv().readSurfacePixels(sContext.get(), in runFPTest()
|
D | PackedConfigsTextureTest.cpp | 127 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in run_test() local 130 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0)); in run_test()
|
D | ReadPixelsTest.cpp | 412 sk_sp<GrSurfaceContext> sContext) { in test_readpixels_texture() argument 431 bool success = sContext->readPixels(bmp.info(), bmp.getPixels(), in test_readpixels_texture() 470 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 473 test_readpixels_texture(reporter, std::move(sContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); in basic_texture_test() 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); in basic_texture_test() 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() local 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); in basic_texture_test() 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); in basic_texture_test() 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4); in basic_texture_test()
|
D | ReadWriteAlphaTest.cpp | 76 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 92 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 102 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 200 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 211 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in runFPTest() local 65 REPORTER_ASSERT(reporter, sContext); in runFPTest() 68 sContext.get(), 0, 0, DEV_W, DEV_H, colorType, nullptr, readBuffer.begin(), 0); in runFPTest()
|
D | PackedConfigsTextureTest.cpp | 127 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in run_test() local 130 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0)); in run_test()
|
D | ReadPixelsTest.cpp | 412 sk_sp<GrSurfaceContext> sContext) { in test_readpixels_texture() argument 431 bool success = sContext->readPixels(bmp.info(), bmp.getPixels(), in test_readpixels_texture() 470 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 473 test_readpixels_texture(reporter, std::move(sContext)); 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/skqp/src/gpu/ |
D | GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in toTextureProxy() local 106 if (!sContext || !sContext->asTextureProxy()) { in toTextureProxy() 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { in toTextureProxy() 115 return sContext->asTextureProxyRef(); in toTextureProxy()
|
D | GrBlurUtils.cpp | 86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in sw_draw_with_mask_filter() local 91 if (!sContext) { in sw_draw_with_mask_filter() 96 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { in sw_draw_with_mask_filter() 101 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef()); in sw_draw_with_mask_filter()
|
D | GrResourceProvider.cpp | 147 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in createTexture() local 149 if (sContext) { in createTexture() 150 if (sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)) { in createTexture() 151 return sk_ref_sp(sContext->asTextureProxy()->priv().peekTexture()); in createTexture()
|
/external/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in toTextureProxy() local 106 if (!sContext || !sContext->asTextureProxy()) { in toTextureProxy() 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { in toTextureProxy() 115 return sContext->asTextureProxyRef(); in toTextureProxy()
|
D | GrBlurUtils.cpp | 86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in sw_draw_with_mask_filter() local 91 if (!sContext) { in sw_draw_with_mask_filter() 96 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { in sw_draw_with_mask_filter() 101 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef()); in sw_draw_with_mask_filter()
|
D | GrResourceProvider.cpp | 140 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in createTexture() local 142 if (!sContext) { in createTexture() 145 SkAssertResult(sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)); in createTexture() 146 return sk_ref_sp(sContext->asTextureProxy()->priv().peekTexture()); in createTexture()
|
/external/skqp/experimental/GLFWTest/ |
D | glfw_main.cpp | 19 GrContext* sContext = nullptr; variable 33 sContext = GrContext::MakeGL(nullptr).release(); in init_skia() 51 sSurface = SkSurface::MakeFromBackendRenderTarget(sContext, backendRenderTarget, in init_skia() 58 delete sContext; in cleanup_skia()
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 142 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in save_pixels() local 144 if (!sContext || !sContext->asTextureProxy()) { in save_pixels() 148 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0); in save_pixels()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 98 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels() local 101 if (!sContext) { in getROPixels() 105 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { in getROPixels() 244 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels() local 246 if (!sContext) { in onReadPixels() 250 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { in onReadPixels() 275 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset() local 280 if (!sContext) { in onMakeSubset() 284 if (!sContext->copy(fProxy.get(), subset, SkIPoint::Make(0, 0))) { in onMakeSubset() 290 fAlphaType, sContext->asTextureProxyRef(), in onMakeSubset()
|
/external/skqp/src/image/ |
D | SkImage_Gpu.cpp | 97 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels() local 100 if (!sContext) { in getROPixels() 104 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { in getROPixels() 240 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels() local 242 if (!sContext) { in onReadPixels() 246 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { in onReadPixels() 271 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset() local 276 if (!sContext) { in onMakeSubset() 280 if (!sContext->copy(fProxy.get(), subset, SkIPoint::Make(0, 0))) { in onMakeSubset() 286 fAlphaType, sContext->asTextureProxyRef(), in onMakeSubset()
|
/external/skqp/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 146 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in save_pixels() local 148 if (!sContext || !sContext->asTextureProxy()) { in save_pixels() 152 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0); in save_pixels()
|