Searched refs:sContext (Results 1 - 25 of 42) sorted by relevance

12

/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
H A DPresenceSetting.java41 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 DVkUploadPixelsTests.cpp81 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 DFloatingPointTextureTest.cpp63 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 DReadWriteAlphaTest.cpp76 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 DPackedConfigsTextureTest.cpp127 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local
130 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 0, 0));
H A DReadPixelsTest.cpp412 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 DVkUploadPixelsTests.cpp81 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 DIntTextureTest.cpp79 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 DSRGBReadWritePixelsTest.cpp178 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 DFloatingPointTextureTest.cpp63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( local
65 REPORTER_ASSERT(reporter, sContext);
67 bool result = context->contextPriv().readSurfacePixels(sContext.get(),
H A DReadWriteAlphaTest.cpp70 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 DPackedConfigsTextureTest.cpp127 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 Dapp-linux.c73 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 DGrSWMaskHelper.cpp101 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 DGrBlurUtils.cpp86 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 DGrResourceProvider.cpp140 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 DGrSWMaskHelper.cpp101 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 DGrBlurUtils.cpp86 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 DGrResourceProvider.cpp147 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 DGrAtlasManager.cpp142 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 Dglfw_main.cpp19 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 DPVRTPFXParserAPI.h91 CPVRTPFXEffect(SPVRTContext &sContext);
/external/skia/src/image/
H A DSkImage_Gpu.cpp98 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 DGrAtlasGlyphCache.cpp146 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 DSkImage_Gpu.cpp97 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...]

Completed in 3055 milliseconds

12