Home
last modified time | relevance | path

Searched refs:sk_ref_sp (Results 1 - 25 of 164) sorted by relevance

1234567

/third_party/skia/modules/androidkit/src/
H A DImageFilter.cpp27 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_DistantLitDiffuse()
34 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_Blur()
46 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_DropShadow()
52 auto bg = sk_ref_sp(reinterpret_cast<SkImageFilter*>(background)); in ImageFilter_Blend()
53 auto fg = sk_ref_sp(reinterpret_cast<SkImageFilter*>(foreground)); in ImageFilter_Blend()
59 auto image = sk_ref_sp(reinterpret_cast<SkImage*>(native_image)); in ImageFilter_Image()
H A DPaint.cpp90 paint->setColorFilter(sk_ref_sp(reinterpret_cast<SkColorFilter*>(native_cf))); in Paint_SetColorFilter()
96 paint->setShader(sk_ref_sp(reinterpret_cast<SkShader*>(native_shader))); in Paint_SetShader()
102 paint->setImageFilter(sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_filter))); in Paint_SetImageFilter()
H A DColorFilters.cpp32 auto cf = SkColorFilters::Compose(sk_ref_sp(reinterpret_cast<SkColorFilter*>(outer)), in MakeCompose()
33 sk_ref_sp(reinterpret_cast<SkColorFilter*>(inner))); in MakeCompose()
/third_party/skia/src/core/
H A DSkRecorder.cpp210 this->append<SkRecords::DrawImage>(this->copy(paint), sk_ref_sp(image), x, y, sampling); in onDrawImage2()
216 this->append<SkRecords::DrawImageRect>(this->copy(paint), sk_ref_sp(image), src, dst, in onDrawImageRect2()
224 this->append<SkRecords::DrawImageLattice>(this->copy(paint), sk_ref_sp(image), in onDrawImageLattice2()
234 this->append<SkRecords::DrawTextBlob>(paint, sk_ref_sp(blob), x, y); in onDrawTextBlob()
238 sk_sp<SkTextBlob> blob = sk_ref_sp(glyphRunList.blob()); in onDrawGlyphRunList()
248 this->append<SkRecords::DrawPicture>(this->copy(paint), sk_ref_sp(pic), matrix ? *matrix : SkMatrix::I()); in onDrawPicture()
254 sk_ref_sp(const_cast<SkVertices*>(vertices)), in onDrawVerticesObject()
273 sk_ref_sp(atlas), in onDrawAtlas2()
288 this->append<SkRecords::DrawAnnotation>(rect, SkString(key), sk_ref_sp(value)); in onDrawAnnotation()
325 , sk_ref_sp(re in getSaveLayerStrategy()
[all...]
H A DSkSpecialImage.cpp232 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace));
259 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace));
326 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), in wrap_proxy_in_image()
365 new SkImage_Gpu(sk_ref_sp(canvas->recordingContext()),
396 SkImageInfo ii = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace));
448 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace));
H A DSkDraw_vertices.cpp204 kPremul_SkAlphaType, sk_ref_sp(deviceCS)); in convert_colors()
366 blendMode, sk_ref_sp(triShader), sk_ref_sp(shader)); in drawFixedVertices()
373 shaderPaint.setShader(sk_ref_sp(shader)); in drawFixedVertices()
485 blendMode, sk_ref_sp(colorShader), sk_ref_sp(shader)); in drawFixedVertices()
492 shaderPaint.setShader(sk_ref_sp(shader)); in drawFixedVertices()
H A DSkColorSpace.cpp86 return sk_ref_sp(sk_srgb_singleton()); in MakeSRGB()
90 return sk_ref_sp(sk_srgb_linear_singleton()); in MakeSRGBLinear()
161 return sk_ref_sp(const_cast<SkColorSpace*>(this)); in makeLinearGamma()
168 return sk_ref_sp(const_cast<SkColorSpace*>(this)); in makeSRGBGamma()
H A DSkPaintPriv.cpp99 p->setShader(sk_make_sp<SkColorFilterShader>(sk_ref_sp(shader), in RemoveColorFilter()
101 sk_ref_sp(filter))); in RemoveColorFilter()
H A DSkDraw_atlas.cpp188 bmode, sk_ref_sp(colorShader), sk_ref_sp(updateShader)); in drawAtlas()
192 p.setShader(sk_ref_sp(shader)); in drawAtlas()
H A DSkStrikeSpec.cpp156 font.setTypeface(sk_ref_sp(&typeface)); in MakePDFVector()
210 fMaskFilter = sk_ref_sp(effects.fMaskFilter); in SkStrikeSpec()
211 fPathEffect = sk_ref_sp(effects.fPathEffect); in SkStrikeSpec()
H A DSkMiniRecorder.cpp93 TRY_TO_STORE(DrawTextBlob, p, sk_ref_sp(b), x, y); in drawTextBlob()
114 return sk_ref_sp(empty); in detachAsPicture()
H A DSkColorFilter.cpp127 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f()
223 return sk_ref_sp(this); in makeComposed()
226 return sk_sp<SkColorFilter>(new SkComposeColorFilter(sk_ref_sp(this), std::move(inner))); in makeComposed()
314 return sk_ref_sp(gSingleton); in MakeSRGBGammaCF()
395 sk_sp<SkColorSpace> dstCS = sk_ref_sp(rawDstCS);
H A DSkTypeface.cpp45 return sk_ref_sp(this);
51 sk_ref_sp(const_cast<SkEmptyTypeface*>(this)), effects, desc);
170 return sk_ref_sp(GetDefaultTypeface()); in MakeDefault()
192 return sk_ref_sp(GetDefaultTypeface(static_cast<SkTypeface::Style>( in MakeFromName()
558 font.setTypeface(sk_ref_sp(const_cast<SkTypeface*>(this))); in onComputeBounds()
/third_party/skia/src/ports/
H A DSkFontConfigInterface.cpp23 return sk_ref_sp(gFontConfigInterface); in RefGlobal()
25 return sk_ref_sp(SkFontConfigInterface::GetSingletonDirectInterface()); in RefGlobal()
/third_party/skia/src/gpu/vk/
H A DGrVkFramebuffer.cpp58 auto fb = new GrVkFramebuffer(gpu, framebuffer, sk_ref_sp(colorAttachment), in Make()
59 sk_ref_sp(resolveAttachment), sk_ref_sp(stencilAttachment), in Make()
/third_party/skia/tests/
H A DGrMipMappedTest.cpp93 proxy = sk_ref_sp(sk_gpu_test::GetTextureImageProxy(image.get(), dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
470 auto sdc1Task = sk_ref_sp(sdc1->testingOnly_PeekLastOpsTask()); in DEF_GPUTEST()
485 auto sdc2Task = sk_ref_sp(sdc2->testingOnly_PeekLastOpsTask()); in DEF_GPUTEST()
501 auto mipmapRTCTask = sk_ref_sp(mipmapSDC->testingOnly_PeekLastOpsTask()); in DEF_GPUTEST()
527 sdc2Task = sk_ref_sp(sdc2->testingOnly_PeekLastOpsTask()); in DEF_GPUTEST()
/third_party/skia/src/image/
H A DSkImage.cpp147 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tmx, tmy, in makeShader()
202 return sk_ref_sp(const_cast<SkImage*>(this)); in makeSubset()
524 sk_ref_sp(const_cast<SkImage*>(this)), in makeWithFilter()
528 sk_ref_sp(const_cast<SkImage*>(this)), in makeWithFilter()
606 return sk_ref_sp(const_cast<SkImage*>(this)); in makeColorTypeAndColorSpace()
626 return sk_ref_sp(const_cast<SkImage*>(this)); in reinterpretColorSpace()
642 return sk_ref_sp(const_cast<SkImage*>(this)); in makeNonTextureImage()
650 return sk_ref_sp(const_cast<SkImage*>(this)); in makeRasterImage()
712 return sk_ref_sp((const_cast<SkImage*>(this))); in withMipmaps()
H A DSkImage_Gpu.cpp209 if (auto direct = sk_ref_sp(rContext->asDirectContext())) { in MakeWithVolatileSrc()
314 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in onMakeColorTypeAndColorSpace()
407 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in new_wrapped_texture_common()
443 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in MakeFromCompressedTexture()
530 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(direct), in MakeTextureFromCompressed()
552 return sk_ref_sp(const_cast<SkImage*>(this)); in makeTextureImage()
567 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in makeTextureImage()
670 sk_sp<GrTexture> texture = sk_ref_sp(view.proxy()->peekTexture()); in MakeCrossContextFromPixmap()
754 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in MakeFromAHardwareBufferWithData()
819 sk_sp<GrTexture> textureRef = sk_ref_sp(textur in MakeBackendTextureFromSkImage()
[all...]
H A DSkSurface_Gpu.cpp135 return SkImage_Gpu::MakeWithVolatileSrc(sk_ref_sp(rContext), in onNewImageSnapshot()
152 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in onNewImageSnapshot()
302 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(canvasContext), in onDraw()
547 auto oldProxy = sk_ref_sp(oldRTP->asTextureProxy()); in onReplaceBackendTexture()
582 return fDevice->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), grColorType, in onReplaceBackendTexture()
/third_party/skia/tools/fonts/
H A DTestEmptyTypeface.h25 return sk_ref_sp(this);
31 sk_ref_sp(const_cast<TestEmptyTypeface*>(this)), effects, desc);
/third_party/skia/src/shaders/
H A DSkLocalMatrixShader.cpp96 return sk_ref_sp(const_cast<SkShader*>(this)); in makeWithLocalMatrix()
109 baseShader = sk_ref_sp(const_cast<SkShader*>(this)); in makeWithLocalMatrix()
208 return sk_sp<SkShader>(new SkCTMShader(sk_ref_sp(this), postM)); in makeWithCTM()
H A DSkColorFilterShader.cpp117 return sk_ref_sp(base); in makeWithColorFilter()
119 return sk_make_sp<SkColorFilterShader>(sk_ref_sp(base), 1.0f, filter); in makeWithColorFilter()
/third_party/skia/src/gpu/
H A DGrSurfaceProxyView.h65 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef()
76 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef()
/third_party/skia/tools/gpu/
H A DManagedBackendTexture.h103 mbet->fDContext = sk_ref_sp(dContext); in MakeWithData()
123 mbet->fDContext = sk_ref_sp(dContext); in MakeWithoutData()
/third_party/skia/experimental/sktext/tests/
H A DFontResolvedText.cpp49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST()
69 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST()

Completed in 17 milliseconds

1234567