Home
last modified time | relevance | path

Searched refs:sContext (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tools/gpu/
DProxyUtils.cpp84 auto sContext = dContext->priv().makeSC(std::move(view), pixmap.colorInfo()); in MakeTextureProxyViewFromData() local
85 if (!sContext) { in MakeTextureProxyViewFromData()
88 if (!sContext->writePixels(dContext, pixmap, {0, 0})) { in MakeTextureProxyViewFromData()
91 return sContext->readSurfaceView(); in MakeTextureProxyViewFromData()
/third_party/skia/src/image/
DSkImage_GpuBase.cpp116 auto sContext = dContext->priv().makeSC(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 = dContext->priv().makeSC(std::move(view), colorInfo); in onReadPixels() local
177 if (!sContext) { in onReadPixels()
181 return sContext->readPixels(dContext, {dstInfo, dstPixels, dstRB}, {srcX, srcY}); in onReadPixels()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp237 auto sContext = dContext->priv().makeSC(std::move(view), in save_pixels() local
239 if (!sContext || !sContext->asTextureProxy()) { in save_pixels()
243 bool result = sContext->readPixels(dContext, bm.pixmap(), {0, 0}); in save_pixels()
/third_party/skia/tests/
DProcessorTest.cpp393 auto sContext = dContext->priv().makeSC(std::move(src), ii.colorInfo()); in log_texture_view() local
396 SkAssertResult(sContext->readPixels(dContext, bm.pixmap(), {0, 0})); in log_texture_view()
/third_party/chromium/patch/
D0003-ohos-1115.patch105714 memset(&sContext, 0, sizeof(sContext));
105715 sContext.pOut = pDest;
105716 + sContext.enc = encoding;
108072 memset(&sContext, 0, sizeof(sContext));
111218 memset(&sContext, 0, sizeof(sContext));
144135 memset(&sContext, 0, sizeof(sContext));
144136 sContext.pOut = pDest;
144137 + sContext.enc = encoding;
146493 memset(&sContext, 0, sizeof(sContext));
149641 memset(&sContext, 0, sizeof(sContext));
[all …]