/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
H A D | PresenceSetting.java | 41 private static Context sContext = null; field in class:PresenceSetting 44 sContext = context; 49 if (sContext != null) { 50 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 72 if (sContext != null) { 73 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 95 if (sContext != null) { 96 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 118 if (sContext != null) { 119 ImsManager imsManager = ImsManager.getInstance(sContext, [all...] |
/external/skia/tests/ |
H A D | VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); local 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); local 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4);
|
H A D | FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 65 REPORTER_ASSERT(reporter, sContext); 68 sContext.get(), 0, 0, DEV_W, DEV_H, colorType, nullptr, readBuffer.begin(), 0);
|
H A D | ReadWriteAlphaTest.cpp | 76 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 92 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); 102 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); 200 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 211 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0);
|
H A D | PackedConfigsTextureTest.cpp | 127 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 130 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0));
|
H A D | ReadPixelsTest.cpp | 412 sk_sp<GrSurfaceContext> sContext) { 431 bool success = sContext->readPixels(bmp.info(), bmp.getPixels(), 470 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 473 test_readpixels_texture(reporter, std::move(sContext)); 411 test_readpixels_texture(skiatest::Reporter* reporter, sk_sp<GrSurfaceContext> sContext) argument
|
/external/skqp/tests/ |
H A D | VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); local 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); local 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4);
|
H A D | IntTextureTest.cpp | 79 sk_sp<GrSurfaceContext> sContext; local 89 sContext = context->contextPriv().makeWrappedSurfaceContext(std::move(proxy)); 90 if (!sContext) { 98 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 106 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 117 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 129 sContext.get(), 140 sContext->asSurfaceProxy())); 163 sContext->asSurfaceProxy())); 173 sContext [all...] |
H A D | SRGBReadWritePixelsTest.cpp | 178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( local 182 if (!sContext) { 190 if (sContext->writePixels(iiSRGBA, origData, 0, 0, 0)) { 195 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 198 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 206 if (sContext->writePixels(iiRGBA, origData, 0, 0, 0)) { 208 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 211 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 219 sContext = context->contextPriv().makeDeferredSurfaceContext(desc, 223 if (!sContext) { [all...] |
H A D | FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 65 REPORTER_ASSERT(reporter, sContext); 67 bool result = context->contextPriv().readSurfacePixels(sContext.get(),
|
H A D | ReadWriteAlphaTest.cpp | 70 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 86 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); 95 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); 181 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 192 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0);
|
H A D | PackedConfigsTextureTest.cpp | 127 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 130 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0));
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
H A D | app-linux.c | 73 static struct waffle_context *sContext; variable in typeref:struct:waffle_context 136 sContext = waffle_context_create(sConfig, NULL); 137 if (!sContext) 147 ok = waffle_make_current(sDisplay, sWindow, sContext); 175 if (!waffle_context_destroy(sContext))
|
/external/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( local 106 if (!sContext || !sContext->asTextureProxy()) { 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { 115 return sContext->asTextureProxyRef();
|
H A D | GrBlurUtils.cpp | 86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( local 91 if (!sContext) { 96 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { 101 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef());
|
H A D | GrResourceProvider.cpp | 140 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 142 if (!sContext) { 145 SkAssertResult(sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)); 146 return sk_ref_sp(sContext->asTextureProxy()->priv().peekTexture());
|
/external/skqp/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( local 106 if (!sContext || !sContext->asTextureProxy()) { 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { 115 return sContext->asTextureProxyRef();
|
H A D | GrBlurUtils.cpp | 86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( local 91 if (!sContext) { 96 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { 101 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef());
|
H A D | GrResourceProvider.cpp | 147 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local 149 if (sContext) { 150 if (sContext->writePixels(srcInfo, mipLevel.fPixels, mipLevel.fRowBytes, 0, 0)) { 151 return sk_ref_sp(sContext->asTextureProxy()->priv().peekTexture());
|
/external/skia/src/gpu/text/ |
H A D | GrAtlasManager.cpp | 142 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 144 if (!sContext || !sContext->asTextureProxy()) { 148 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0);
|
/external/skqp/experimental/GLFWTest/ |
H A D | glfw_main.cpp | 19 GrContext* sContext = nullptr; variable 33 sContext = GrContext::MakeGL(nullptr).release(); 51 sSurface = SkSurface::MakeFromBackendRenderTarget(sContext, backendRenderTarget, 58 delete sContext;
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
H A D | PVRTPFXParserAPI.h | 91 CPVRTPFXEffect(SPVRTContext &sContext);
|
/external/skia/src/image/ |
H A D | SkImage_Gpu.cpp | 98 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( local 101 if (!sContext) { 105 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { 244 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( local 246 if (!sContext) { 250 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { 275 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( 280 if (!sContext) { 284 if (!sContext->copy(fProxy.get(), subset, SkIPoint::Make(0, 0))) { 288 // MDB: this call is okay bc we know 'sContext' wa [all...] |
/external/skqp/src/gpu/text/ |
H A D | GrAtlasGlyphCache.cpp | 146 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 148 if (!sContext || !sContext->asTextureProxy()) { 152 bool result = sContext->readPixels(ii, bm.getPixels(), bm.rowBytes(), 0, 0);
|
/external/skqp/src/image/ |
H A D | SkImage_Gpu.cpp | 97 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( local 100 if (!sContext) { 104 if (!sContext->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), 0, 0)) { 240 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( local 242 if (!sContext) { 246 if (!sContext->readPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, flags)) { 271 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( 276 if (!sContext) { 280 if (!sContext->copy(fProxy.get(), subset, SkIPoint::Make(0, 0))) { 284 // MDB: this call is okay bc we know 'sContext' wa [all...] |